From dbc6804dca063c65a4c4381b8791e3ab62e0f91b Mon Sep 17 00:00:00 2001 From: croire <1432593898@qq.com> Date: Mon, 14 Feb 2022 16:58:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AC=A2=E8=BF=8E=E9=A1=B5=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=8C=E5=BC=80=E6=BA=90=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DownKyi/Views/SplashWindow.xaml | 25 +++++++++++++++++++++++++ DownKyi/Views/SplashWindow.xaml.cs | 15 +++------------ 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/DownKyi/Views/SplashWindow.xaml b/DownKyi/Views/SplashWindow.xaml index 8608fce..397a51a 100644 --- a/DownKyi/Views/SplashWindow.xaml +++ b/DownKyi/Views/SplashWindow.xaml @@ -27,5 +27,30 @@ FontSize="30" Foreground="White" Text="Welcome to DownKyi!" /> + + + + + + + + + + + diff --git a/DownKyi/Views/SplashWindow.xaml.cs b/DownKyi/Views/SplashWindow.xaml.cs index fac9b76..aae628b 100644 --- a/DownKyi/Views/SplashWindow.xaml.cs +++ b/DownKyi/Views/SplashWindow.xaml.cs @@ -1,16 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using DownKyi.Models; using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Shapes; namespace DownKyi.Views { @@ -22,6 +11,8 @@ namespace DownKyi.Views public SplashWindow() { InitializeComponent(); + + nameVersion.Text = new AppInfo().VersionName; } } }