Exemple #1
0
        public void SaveSettings(object sender, EventArgs a)
        {
            bool getNewPath = shouldGetNewPath();

            if (SettingsOperations.SaveSettings(settings, getNewPath))
            {
                SetUnsavedSettings(false);
            }
        }
Exemple #2
0
 public void LoadSettings()
 {
     settings = SettingsOperations.LoadSettings();
     if (settings == null)
     {
         settings = new Settings();
         firstRun = true;
     }
     else
     {
         firstRun = false;
     }
 }