示例#1
0
 private void SaveSettings()
 {
     foreach (BaseOptionControl control in panel_fill.Controls)
     {
         control.SaveSettings();
     }
     blackList       = ucBlackList.Programs;
     whiteList       = ucWhiteList.Programs;
     finalList       = ucAutoBehaviour.FinalList;
     backUpBlackList = blackList;
     backUpWhiteList = whiteList;
     backUpFinalList = finalList;
     FileOptions.SaveLists(whiteList, blackList, finalList);
     Config.User.Save();
     OnApplySettings();
 }