예제 #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());
        }
예제 #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();
 }
예제 #3
0
 static SpreadConfigFileManager()
 {
     m_fileoldchange = System.IO.File.GetLastWriteTime(ConfigFilePath);
     m_configinfo = (SpreadConfigInfo)DefaultConfigFileManager.DeserializeInfo(ConfigFilePath, typeof(SpreadConfigInfo));
 }
예제 #4
0
 static SpreadConfigFileManager()
 {
     m_fileoldchange = System.IO.File.GetLastWriteTime(ConfigFilePath);
     m_configinfo    = (SpreadConfigInfo)DefaultConfigFileManager.DeserializeInfo(ConfigFilePath, typeof(SpreadConfigInfo));
 }