欢迎页增加版本号,开源提示

croire 3 years ago
parent 123b74d85f
commit dbc6804dca

@ -27,5 +27,30 @@
FontSize="30"
Foreground="White"
Text="Welcome to DownKyi!" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock
x:Name="nameVersion"
Grid.Column="0"
Margin="10"
HorizontalAlignment="Left"
VerticalAlignment="Bottom"
FontSize="12"
Foreground="White" />
<TextBlock
Grid.Column="1"
Margin="10"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
FontSize="12"
Foreground="White"
Text="open source" />
</Grid>
</Grid>
</Window>

@ -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;
}
}
}

Loading…
Cancel
Save