Example #1
0
 private void LoadPreset()
 {
     using (var spf = new SelectPresetForm(_manager))
     {
         spf.LoadPresets(_manager.Presets);
         if (spf.ShowDialog() == DialogResult.OK)
         {
             _manager.LoadPreset(spf.PresetName);
             LoadShortcuts();
             //FillListBox(true);
             FillListBox(false);
         }
     }
 }
Example #2
0
		private void LoadPreset()
		{
			using (var spf = new SelectPresetForm(_manager))
			{
				spf.LoadPresets(_manager.Presets);
				if (spf.ShowDialog() == DialogResult.OK)
				{
					_manager.LoadPreset(spf.PresetName);
					LoadShortcuts();
					//FillListBox(true);
					FillListBox(false);
				}
			}
		}