Beispiel #1
0
        public static bool SaveConfig(GeneralConfigInfo generalconfiginfo)
        {
            var gcf = new GeneralConfigFile();

            GeneralConfigFile.ConfigInfo = generalconfiginfo;
            return(gcf.SaveConfig());
        }
Beispiel #2
0
        static GeneralConfigs()
        {
            _mConfiginfo = GeneralConfigFile.LoadConfig();

            GeneralConfigTimer.AutoReset = true;
            GeneralConfigTimer.Enabled   = true;
            GeneralConfigTimer.Elapsed  += TimerElapsed;
            GeneralConfigTimer.Start();
        }
Beispiel #3
0
 public static bool SaveConfig(GeneralConfigInfo generalconfiginfo)
 {
     var gcf = new GeneralConfigFile();
     GeneralConfigFile.ConfigInfo = generalconfiginfo;
     return gcf.SaveConfig();
 }
Beispiel #4
0
 public static void ResetConfig()
 {
     _mConfiginfo = GeneralConfigFile.LoadConfig();
 }