Exemple #1
0
 /// <summary>
 /// Removes the preset of the given name from the library
 /// </summary>
 /// <param name="name">Name of the preset to delete</param>
 public void DeletePreset(Preset preset)
 {
     this._presets.Remove(preset);
     RealChuteSettings.SaveSettings();
 }
Exemple #2
0
 /// <summary>
 /// Removes the preset of the given name from the library
 /// </summary>
 /// <param name="preset">Name of the preset to delete</param>
 public void DeletePreset(Preset preset)
 {
     this.Presets.Remove(preset.Name);
     RefreshData();
     RealChuteSettings.SaveSettings();
 }
Exemple #3
0
 /// <summary>
 /// Adds the given preset to the library
 /// </summary>
 /// <param name="preset">Preset to add</param>
 public void AddPreset(Preset preset)
 {
     this._presets.Add(preset);
     RealChuteSettings.SaveSettings();
 }
Exemple #4
0
 /// <summary>
 /// Adds the given preset to the library
 /// </summary>
 /// <param name="preset">Preset to add</param>
 public void AddPreset(Preset preset)
 {
     this.Presets.Add(preset.Name, preset);
     RefreshData();
     RealChuteSettings.SaveSettings();
 }