1. Main window now stored the Left and Top positions.

2. Added global setting to set the start mode of the Main Window.
This commit is contained in:
Brett Hewitson 2021-11-23 15:26:06 +10:00
parent 229ee09049
commit 34582ca91b
20 changed files with 286 additions and 58 deletions

View file

@ -1896,5 +1896,41 @@ namespace ServerManagerTool {
this["ManagePublicIPAutomatically"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("50")]
public double MainWindow_Left {
get {
return ((double)(this["MainWindow_Left"]));
}
set {
this["MainWindow_Left"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("50")]
public double MainWindow_Top {
get {
return ((double)(this["MainWindow_Top"]));
}
set {
this["MainWindow_Top"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Normal")]
public global::System.Windows.WindowState MainWindow_WindowState {
get {
return ((global::System.Windows.WindowState)(this["MainWindow_WindowState"]));
}
set {
this["MainWindow_WindowState"] = value;
}
}
}
}