Changeset 758 for trunk/sources/HeuristicLab.Settings
- Timestamp:
- 11/15/08 00:52:15 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Settings
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Settings/HeuristicLabSettingsPlugin.cs
r757 r758 29 29 [PluginFile(Filename = "HeuristicLab.Settings-3.2.dll", Filetype = PluginFileType.Assembly)] 30 30 public class HeuristicLabSettingsPlugin : PluginBase { 31 public HeuristicLabSettingsPlugin() {32 Settings.Properties.Settings settings = Properties.Settings.Default;33 settings.AnotherSetting = DateTime.Now.ToString();34 settings.Save();35 }36 31 } 37 32 } -
trunk/sources/HeuristicLab.Settings/MainForm.cs
r757 r758 17 17 private void MainForm_Load(object sender, EventArgs e) { 18 18 settings = Properties.Settings.Default; 19 settings.Reload(); 19 20 textBox1.Text = settings.AnotherSetting; 20 21 textBox2.Text = settings.MySetting;
Note: See TracChangeset
for help on using the changeset viewer.