Esempio n. 1
0
        /// <summary>
        /// ±£´æÅäÖÃ
        /// </summary>
        /// <param name="spreadconfiginfo"></param>
        /// <returns></returns>
        public static bool SaveConfig(SpreadConfigInfo spreadconfiginfo)
        {
            SpreadConfigFileManager ecfm = new SpreadConfigFileManager();

            SpreadConfigFileManager.ConfigInfo = spreadconfiginfo;
            return(ecfm.SaveConfig());
        }
Esempio n. 2
0
 /// <summary>
 /// ±£´æÅäÖÃ
 /// </summary>
 /// <param name="spreadconfiginfo"></param>
 /// <returns></returns>
 public static bool SaveConfig(SpreadConfigInfo spreadconfiginfo)
 {
     SpreadConfigFileManager ecfm = new SpreadConfigFileManager();
     SpreadConfigFileManager.ConfigInfo = spreadconfiginfo;
     return ecfm.SaveConfig();
 }
 static SpreadConfigFileManager()
 {
     m_fileoldchange = System.IO.File.GetLastWriteTime(ConfigFilePath);
     m_configinfo = (SpreadConfigInfo)DefaultConfigFileManager.DeserializeInfo(ConfigFilePath, typeof(SpreadConfigInfo));
 }
Esempio n. 4
0
 static SpreadConfigFileManager()
 {
     m_fileoldchange = System.IO.File.GetLastWriteTime(ConfigFilePath);
     m_configinfo    = (SpreadConfigInfo)DefaultConfigFileManager.DeserializeInfo(ConfigFilePath, typeof(SpreadConfigInfo));
 }