示例#1
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
        }
示例#2
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
        }