fix settingspage details
This commit is contained in:
parent
938afbd85b
commit
e42fbf9b2a
2 changed files with 12 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
<ColumnDefinition/>
|
<ColumnDefinition/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<ui:SymbolIcon Grid.Column="1" Symbol="WindowApps24" FontSize="32" />
|
<ui:SymbolIcon Grid.Column="1" Symbol="WindowApps24" FontSize="32" />
|
||||||
<TextBlock Grid.Column="2" x:Name="textBlockVer" Text="" VerticalAlignment="Center" FontSize="24"/>
|
<TextBlock Margin="8,0,0,0" Grid.Column="2" x:Name="textBlockVer" Text="" VerticalAlignment="Center" FontSize="24"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<ui:CardAction Grid.Row="1" Margin="0,12,0,0" Icon="Open24" Content="{x:Static p:Resources.ui_info_website}" Click="CardWeb_Click"/>
|
<ui:CardAction Grid.Row="1" Margin="0,12,0,0" Icon="Open24" Content="{x:Static p:Resources.ui_info_website}" Click="CardWeb_Click"/>
|
||||||
|
|
|
@ -24,6 +24,17 @@ namespace EnvyUpdate
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
|
||||||
|
System.Diagnostics.FileVersionInfo fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(assembly.Location);
|
||||||
|
string version = fvi.FileVersion;
|
||||||
|
|
||||||
|
textBlockVer.Text = version;
|
||||||
|
if (GlobalVars.monitoringInstall)
|
||||||
|
textBlockVer.FontStyle = FontStyles.Italic;
|
||||||
|
|
||||||
|
if (File.Exists(Path.Combine(GlobalVars.exedirectory, "envyupdate.log")))
|
||||||
|
chkLog.IsChecked = true;
|
||||||
|
|
||||||
textBoxLicEnvyupdate.Text = Properties.Licenses.EnvyUpdate;
|
textBoxLicEnvyupdate.Text = Properties.Licenses.EnvyUpdate;
|
||||||
textBoxLicFody.Text = Properties.Licenses.Fody;
|
textBoxLicFody.Text = Properties.Licenses.Fody;
|
||||||
textBoxLicCostura.Text = Properties.Licenses.CosturaFody;
|
textBoxLicCostura.Text = Properties.Licenses.CosturaFody;
|
||||||
|
|
Reference in a new issue