File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 44using System . Configuration ;
55using System . Data ;
66using System . Linq ;
7+ using System . Reflection ;
78using System . Threading . Tasks ;
89using System . Windows ;
910
@@ -14,6 +15,8 @@ namespace NullSoftware
1415 /// </summary>
1516 public partial class App : Application
1617 {
18+ public Version ApplicationVersion { get ; } = Assembly . GetExecutingAssembly ( ) . GetName ( ) . Version ;
19+
1720 private void Application_Startup ( object sender , StartupEventArgs e )
1821 {
1922 NNViewRegistrar . RegisterSplat ( ) ;
Original file line number Diff line number Diff line change 6868 </Hyperlink >
6969 </TextBlock >
7070 </StatusBarItem >
71+ <Separator />
72+ <StatusBarItem >
73+ <TextBlock >
74+ <Run Text =" Version:" />
75+ <Run Text =" {Binding Source={x:Static Application.Current}, Path=ApplicationVersion, Mode=OneTime}" />
76+ </TextBlock >
77+ </StatusBarItem >
7178 </StatusBar >
7279
7380 <Grid Grid.Row=" 1" >
You can’t perform that action at this time.
0 commit comments