/// <summary> /// ±£´æÅäÖà /// </summary> /// <param name="spreadconfiginfo"></param> /// <returns></returns> public static bool SaveConfig(SpreadConfigInfo spreadconfiginfo) { SpreadConfigFileManager ecfm = new SpreadConfigFileManager(); SpreadConfigFileManager.ConfigInfo = spreadconfiginfo; return(ecfm.SaveConfig()); }
/// <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)); }