public void SaveSettings(object sender, EventArgs a) { bool getNewPath = shouldGetNewPath(); if (SettingsOperations.SaveSettings(settings, getNewPath)) { SetUnsavedSettings(false); } }
public void LoadSettings() { settings = SettingsOperations.LoadSettings(); if (settings == null) { settings = new Settings(); firstRun = true; } else { firstRun = false; } }