Example #1
0
 public static void SaveSettingsAsync()
 {
     if (Settings != null)
     {
         Settings.SaveAsync(ApplicationConfigFilePath);
     }
     UploadersConfigSaveAsync();
     if (HotkeysConfig != null)
     {
         HotkeysConfig.SaveAsync(HotkeysConfigFilePath);
     }
 }
Example #2
0
 public static void SaveSettings()
 {
     if (Settings != null)
     {
         Settings.Save(ApplicationConfigFilePath);
     }
     if (UploadersConfig != null)
     {
         UploadersConfig.Save(UploadersConfigFilePath);
     }
     if (HotkeysConfig != null)
     {
         HotkeysConfig.Save(HotkeysConfigFilePath);
     }
 }
Example #3
0
 public static void LoadHotkeySettings()
 {
     HotkeysConfig = HotkeysConfig.Load(HotkeysConfigFilePath);
 }