コード例 #1
0
 public void ChangeConfigSelection(string configPath)
 {
     try
     {
         foreach (string config in Configs)
         {
             if (config != configPath)
             {
                 RegistrySaver.UpdateRegistry(RegistrySaver.RegCategoryConfigList, config, false);
             }
             else
             {
                 RegistrySaver.UpdateRegistry(RegistrySaver.RegCategoryConfigList, config, true);
             }
         }
     }
     catch (Exception exception)
     {
         AppLogger.Log("ERROR while changing config selection. EXCEPTION: " + exception.Message);
     }
 }