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

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

            GeneralConfigTimer.AutoReset = true;
            GeneralConfigTimer.Enabled   = true;
            GeneralConfigTimer.Elapsed  += TimerElapsed;
            GeneralConfigTimer.Start();
        }
Example #3
0
 public static void ResetConfig()
 {
     _mConfiginfo = GeneralConfigFile.LoadConfig();
 }