File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
Source/NETworkManager/Controls Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 11
11
xmlns : iconPacks =" http://metro.mahapps.com/winfx/xaml/iconpacks"
12
12
xmlns : wpfHelpers =" clr-namespace:NETworkManager.Utilities.WPF;assembly=NETworkManager.Utilities.WPF"
13
13
mc : Ignorable =" d"
14
- Title = " NETworkManager " Style =" {DynamicResource DefaultWindow}" MinWidth =" 650" MinHeight =" 500" Height =" 650" Width =" 1000" TitleAlignment =" Left"
14
+ Style =" {DynamicResource DefaultWindow}" MinWidth =" 650" MinHeight =" 500" Height =" 650" Width =" 1000" TitleAlignment =" Left"
15
15
d : DataContext =" {d:DesignInstance controls:DragablzTabHostWindow}" >
16
16
<mahAppsControls : MetroWindow .WindowButtonCommands>
17
17
<mahAppsControls : WindowButtonCommands Template =" {DynamicResource MahApps.Metro.Templates.WindowButtonCommands.Win10}" />
Original file line number Diff line number Diff line change @@ -40,20 +40,6 @@ public ApplicationName ApplicationName
40
40
OnPropertyChanged ( ) ;
41
41
}
42
42
}
43
-
44
- private string _applicationTitle ;
45
- public string ApplicationTitle
46
- {
47
- get => _applicationTitle ;
48
- set
49
- {
50
- if ( value == _applicationTitle )
51
- return ;
52
-
53
- _applicationTitle = value ;
54
- OnPropertyChanged ( ) ;
55
- }
56
- }
57
43
#endregion
58
44
59
45
#region Constructor
@@ -68,7 +54,7 @@ public DragablzTabHostWindow(ApplicationName applicationName)
68
54
69
55
InterTabController . Partition = applicationName . ToString ( ) ;
70
56
71
- ApplicationTitle = ApplicationNameTranslator . GetInstance ( ) . Translate ( applicationName ) ;
57
+ Title = $ "NETworkManager { AssemblyManager . Current . Version . Major } . { AssemblyManager . Current . Version . Minor } . { AssemblyManager . Current . Version . Build } - { ApplicationNameTranslator . GetInstance ( ) . Translate ( applicationName ) } " ;
72
58
73
59
SettingsManager . Current . PropertyChanged += SettingsManager_PropertyChanged ;
74
60
}
You can’t perform that action at this time.
0 commit comments