default.aspx.cs

来自「水晶报表详细资料水晶报表详细资料水晶报表详细资料」· CS 代码 · 共 58 行

CS
58
字号
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
    }
    protected void NextButton_Command(object sender, EventArgs e)
    {
        try
        {
          if (this.MultiView1.ActiveViewIndex > -1 & this.MultiView1.ActiveViewIndex < 3)
            {
                this.MultiView1.ActiveViewIndex += 1;
            }
            else if (this.MultiView1.ActiveViewIndex == 3)
            {
                Page4Save.Enabled = false;
                Page4Restart.Enabled = false;
            }
        }
        catch (Exception ee)
        { 
            Response.Write("<script>alert('"+ee.Message+"')</script>"); 
        }
    }


    protected void BackButton_Command(object sender, EventArgs e)
    {
        try
        {
            if (this.MultiView1.ActiveViewIndex > 0 & this.MultiView1.ActiveViewIndex <= 2)
            {
                this.MultiView1.ActiveViewIndex -= 1;
            }
            else if (this.MultiView1.ActiveViewIndex == 3)
            {
                this.MultiView1.ActiveViewIndex = 0;
            }
        }
       catch (Exception ee)
       { 
           Response.Write("<script>alert('" + ee.Message + "')</script>"); 
        
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?