Exemplo n.º 1
0
        /// <summary>
        /// 保存配置类实例
        /// </summary>
        /// <param name="emailconfiginfo"></param>
        /// <returns></returns>
        public static bool SaveConfig(UIConfigInfo emailconfiginfo)
        {
            UIConfigFileManager ecfm = new UIConfigFileManager();

            UIConfigFileManager.ConfigInfo = emailconfiginfo;
            return(ecfm.SaveConfig());
        }
Exemplo n.º 2
0
 /// <summary>
 /// 获取配置类实例
 /// </summary>
 /// <returns></returns>
 public static UIConfigInfo GetConfig()
 {
     return(UIConfigFileManager.LoadConfig());
 }
Exemplo n.º 3
0
 /// <summary>
 /// 保存配置类实例
 /// </summary>
 /// <param name="emailconfiginfo"></param>
 /// <returns></returns>
 public static bool SaveConfig(UIConfigInfo emailconfiginfo)
 {
     UIConfigFileManager ecfm = new UIConfigFileManager();
     UIConfigFileManager.ConfigInfo = emailconfiginfo;
     return ecfm.SaveConfig();
 }