mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
set default values for window position (center of screen) and size (minimum size allowed by frmMain)
This commit is contained in:
2
mRemoteV1/Properties/Settings.Designer.cs
generated
2
mRemoteV1/Properties/Settings.Designer.cs
generated
@@ -25,6 +25,7 @@ namespace mRemoteNG {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0, 0")]
|
||||
public global::System.Drawing.Point MainFormLocation {
|
||||
get {
|
||||
return ((global::System.Drawing.Point)(this["MainFormLocation"]));
|
||||
@@ -36,6 +37,7 @@ namespace mRemoteNG {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("0, 0")]
|
||||
public global::System.Drawing.Size MainFormSize {
|
||||
get {
|
||||
return ((global::System.Drawing.Size)(this["MainFormSize"]));
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="MainFormLocation" Type="System.Drawing.Point" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
<Value Profile="(Default)">0, 0</Value>
|
||||
</Setting>
|
||||
<Setting Name="MainFormSize" Type="System.Drawing.Size" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
<Value Profile="(Default)">0, 0</Value>
|
||||
</Setting>
|
||||
<Setting Name="MainFormState" Type="System.Windows.Forms.FormWindowState" Scope="User">
|
||||
<Value Profile="(Default)">Normal</Value>
|
||||
|
||||
@@ -36,6 +36,12 @@
|
||||
|
||||
<userSettings>
|
||||
<mRemoteNG.Settings>
|
||||
<setting name="MainFormLocation" serializeAs="String">
|
||||
<value>0, 0</value>
|
||||
</setting>
|
||||
<setting name="MainFormSize" serializeAs="String">
|
||||
<value>0, 0</value>
|
||||
</setting>
|
||||
<setting name="MainFormState" serializeAs="String">
|
||||
<value>Normal</value>
|
||||
</setting>
|
||||
|
||||
Reference in New Issue
Block a user