コード例 #1
0
        private void DoDelegate(DeleteAndAtctiveAndPause action)
        {
            string str = this.GdvADZone.SelectList.ToString();

            if (!string.IsNullOrEmpty(str) && action(str))
            {
                BasePage.ResponseRedirect("ADZoneManage.aspx");
            }
        }
コード例 #2
0
        protected void EBtnPause_Click(object sender, EventArgs e)
        {
            DeleteAndAtctiveAndPause action = new DeleteAndAtctiveAndPause(ADZone.PauseADZone);

            this.DoDelegate(action);
        }