Changeset 775 for trunk/sources/HeuristicLab.Settings/Properties
- Timestamp:
- 11/19/08 02:56:12 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Settings/Properties
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Settings/Properties/Settings.Designer.cs
r757 r775 26 26 [global::System.Configuration.ApplicationScopedSettingAttribute()] 27 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 [global::System.Configuration.DefaultSettingValueAttribute(" NiceValue")]29 public string My Setting {28 [global::System.Configuration.DefaultSettingValueAttribute("Application Setting Value")] 29 public string MyApplicationSetting { 30 30 get { 31 return ((string)(this["MySetting"])); 31 return ((string)(this["MyApplicationSetting"])); 32 } 33 set { 34 this["MyApplicationSetting"] = value; 32 35 } 33 36 } … … 35 38 [global::System.Configuration.UserScopedSettingAttribute()] 36 39 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 37 [global::System.Configuration.DefaultSettingValueAttribute(" COOL!!")]38 public string AnotherSetting {40 [global::System.Configuration.DefaultSettingValueAttribute("User Setting Value")] 41 public string MyUserSetting { 39 42 get { 40 return ((string)(this[" AnotherSetting"]));43 return ((string)(this["MyUserSetting"])); 41 44 } 42 45 set { 43 this[" AnotherSetting"] = value;46 this["MyUserSetting"] = value; 44 47 } 45 48 } -
trunk/sources/HeuristicLab.Settings/Properties/Settings.settings
r757 r775 3 3 <Profiles /> 4 4 <Settings> 5 <Setting Name="My Setting" Type="System.String" Scope="Application">6 <Value Profile="(Default)"> NiceValue</Value>5 <Setting Name="MyApplicationSetting" Type="System.String" Scope="Application"> 6 <Value Profile="(Default)">Application Setting Value</Value> 7 7 </Setting> 8 <Setting Name=" AnotherSetting" Type="System.String" Scope="User">9 <Value Profile="(Default)"> COOL!!</Value>8 <Setting Name="MyUserSetting" Type="System.String" Scope="User"> 9 <Value Profile="(Default)">User Setting Value</Value> 10 10 </Setting> 11 11 </Settings>
Note: See TracChangeset
for help on using the changeset viewer.