Пример #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
        private void DeleteSet_Click(object sender, EventArgs e)
        {
            #region  除设置

            SpreadConfigInfo config = SpreadConfigs.GetConfig();
            config.SpreadCredits = "";
            config.TransferUrl   = "";
            Config.SpreadConfigs.SaveConfig(config);
            //base.RegisterStartupScript("PAGE", "window.location.href='CreditStrategy.aspx';");
            LoadScoreInf();

            #endregion
        }
Пример #3
0
        private void SaveInfo_Click(object sender, EventArgs e)
        {
            #region 保存设置信息

            string creditinf = extcredits1.Text + "," + extcredits2.Text + "," + extcredits3.Text + "," + extcredits4.Text + "," + extcredits5.Text + "," + extcredits6.Text + "," + extcredits7.Text + "," + extcredits8.Text;

            SpreadConfigInfo config = SpreadConfigs.GetConfig();
            config.SpreadCredits = creditinf;
            config.TransferUrl   = txtTransferUrl.Text;
            Config.SpreadConfigs.SaveConfig(config);
            //base.RegisterStartupScript("PAGE", "window.location.href='CreditStrategy.aspx';");
            LoadScoreInf();

            #endregion
        }