Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/04/16 13:28:04 (9 years ago)
Author:
jkarder
Message:

#2567: worked on saving Location/Size/WindowState settings

  • added settings for StarterForm
  • removed ShowMaximized setting used by MainForm
  • implemented checks to fall back to default values if necessary
Location:
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Properties
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Properties/Settings.Designer.cs

    r11623 r13586  
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:4.0.30319.34014
     4//     Runtime Version:4.0.30319.42000
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    1313   
    1414    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    15     [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
     15    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
    1616    public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
    1717       
     
    8383            }
    8484        }
     85       
     86        [global::System.Configuration.UserScopedSettingAttribute()]
     87        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     88        [global::System.Configuration.DefaultSettingValueAttribute("0, 0")]
     89        public global::System.Drawing.Point StarterFormLocation {
     90            get {
     91                return ((global::System.Drawing.Point)(this["StarterFormLocation"]));
     92            }
     93            set {
     94                this["StarterFormLocation"] = value;
     95            }
     96        }
     97       
     98        [global::System.Configuration.UserScopedSettingAttribute()]
     99        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     100        [global::System.Configuration.DefaultSettingValueAttribute("0, 0")]
     101        public global::System.Drawing.Size StarterFormSize {
     102            get {
     103                return ((global::System.Drawing.Size)(this["StarterFormSize"]));
     104            }
     105            set {
     106                this["StarterFormSize"] = value;
     107            }
     108        }
     109       
     110        [global::System.Configuration.UserScopedSettingAttribute()]
     111        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     112        [global::System.Configuration.DefaultSettingValueAttribute("Normal")]
     113        public global::System.Windows.Forms.FormWindowState StarterFormWindowState {
     114            get {
     115                return ((global::System.Windows.Forms.FormWindowState)(this["StarterFormWindowState"]));
     116            }
     117            set {
     118                this["StarterFormWindowState"] = value;
     119            }
     120        }
    85121    }
    86122}
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Properties/Settings.settings

    r4495 r13586  
    1818      <Value Profile="(Default)">http://services.heuristiclab.com/Deployment-3.3/AdminService.svc</Value>
    1919    </Setting>
     20    <Setting Name="StarterFormLocation" Type="System.Drawing.Point" Scope="User">
     21      <Value Profile="(Default)">0, 0</Value>
     22    </Setting>
     23    <Setting Name="StarterFormSize" Type="System.Drawing.Size" Scope="User">
     24      <Value Profile="(Default)">0, 0</Value>
     25    </Setting>
     26    <Setting Name="StarterFormWindowState" Type="System.Windows.Forms.FormWindowState" Scope="User">
     27      <Value Profile="(Default)">Normal</Value>
     28    </Setting>
    2029  </Settings>
    2130</SettingsFile>
Note: See TracChangeset for help on using the changeset viewer.