Skip to content

Commit

Permalink
Added showing version of app
Browse files Browse the repository at this point in the history
In about window now showing version of wallet
  • Loading branch information
viktor02 committed Aug 22, 2021
1 parent e5c086d commit acba3e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions DCWallet/AboutWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<Label HorizontalContentAlignment="Center" FontSize="24">DuCoWallet</Label>
<Label HorizontalContentAlignment="Center">Created by mendabex</Label>
<Label HorizontalContentAlignment="Center">www.vitka-k.ru</Label>
<Label HorizontalContentAlignment="Center" Name="AppVersionLbl"></Label>
</StackPanel>
</Grid>
</Window>
5 changes: 5 additions & 0 deletions DCWallet/AboutWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ public partial class AboutWindow : Window
public AboutWindow()
{
InitializeComponent();

string AppVersion = "v0.2.3";

AppVersionLbl.Content = AppVersion;
this.Title += $" {AppVersion}";
}
}
}

0 comments on commit acba3e8

Please sign in to comment.