From 580fc43234481ae3d5e64867cbe1a95ca72019c2 Mon Sep 17 00:00:00 2001 From: Sigmanor Date: Sun, 24 Jan 2016 22:40:23 +0200 Subject: [PATCH] Added WindowState parameter --- Crypto Notepad/App.config | 3 +++ Crypto Notepad/Properties/Settings.Designer.cs | 13 +++++++++++++ Crypto Notepad/Properties/Settings.settings | 3 +++ 3 files changed, 19 insertions(+) diff --git a/Crypto Notepad/App.config b/Crypto Notepad/App.config index 9d49b7c..e977e22 100644 --- a/Crypto Notepad/App.config +++ b/Crypto Notepad/App.config @@ -66,6 +66,9 @@ 645, 460 + + Normal + diff --git a/Crypto Notepad/Properties/Settings.Designer.cs b/Crypto Notepad/Properties/Settings.Designer.cs index b98f523..aeaf4e8 100644 --- a/Crypto Notepad/Properties/Settings.Designer.cs +++ b/Crypto Notepad/Properties/Settings.Designer.cs @@ -268,5 +268,18 @@ public bool AutoLock { this["WindowSize"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Configuration.SettingsProviderAttribute(typeof(PortableSettingsProvider))] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Normal")] + public global::System.Windows.Forms.FormWindowState WindowState { + get { + return ((global::System.Windows.Forms.FormWindowState)(this["WindowState"])); + } + set { + this["WindowState"] = value; + } + } } } diff --git a/Crypto Notepad/Properties/Settings.settings b/Crypto Notepad/Properties/Settings.settings index 108ce84..a3aaf5e 100644 --- a/Crypto Notepad/Properties/Settings.settings +++ b/Crypto Notepad/Properties/Settings.settings @@ -59,5 +59,8 @@ 645, 460 + + Normal + \ No newline at end of file