From 028889f9ec6de600c771af739d23bcc43b2dc2aa Mon Sep 17 00:00:00 2001 From: David Sparer Date: Tue, 10 May 2016 18:14:23 -0600 Subject: [PATCH] set default values for window position (center of screen) and size (minimum size allowed by frmMain) --- mRemoteV1/Properties/Settings.Designer.cs | 2 ++ mRemoteV1/Properties/Settings.settings | 4 ++-- mRemoteV1/app.config | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/mRemoteV1/Properties/Settings.Designer.cs b/mRemoteV1/Properties/Settings.Designer.cs index f8178d639..288a17e27 100644 --- a/mRemoteV1/Properties/Settings.Designer.cs +++ b/mRemoteV1/Properties/Settings.Designer.cs @@ -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"])); diff --git a/mRemoteV1/Properties/Settings.settings b/mRemoteV1/Properties/Settings.settings index f0e785a2d..a8a479ab2 100644 --- a/mRemoteV1/Properties/Settings.settings +++ b/mRemoteV1/Properties/Settings.settings @@ -3,10 +3,10 @@ - + 0, 0 - + 0, 0 Normal diff --git a/mRemoteV1/app.config b/mRemoteV1/app.config index eeac1b9be..edcfa5ac6 100644 --- a/mRemoteV1/app.config +++ b/mRemoteV1/app.config @@ -36,6 +36,12 @@ + + 0, 0 + + + 0, 0 + Normal