?? example.aspx.cs
字號:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace com.ascs.plp.publics
{
/// <summary>
/// Example 的摘要說明。
/// </summary>
public class Example : System.Web.UI.Page
{
protected System.Web.UI.WebControls.TextBox TextBox2;
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.Button Button2;
protected System.Web.UI.WebControls.DropDownList DropDownList1;
protected System.Web.UI.WebControls.DropDownList DropDownList2;
protected System.Web.UI.WebControls.DropDownList DropDownList3;
protected System.Web.UI.WebControls.DropDownList DropDownList4;
protected System.Web.UI.WebControls.DropDownList DropDownList5;
protected System.Web.UI.WebControls.DropDownList DropDownList6;
protected System.Web.UI.WebControls.DropDownList DropDownList7;
protected System.Web.UI.WebControls.DropDownList DropDownList8;
protected System.Web.UI.WebControls.DropDownList DropDownList9;
protected System.Web.UI.WebControls.TextBox TextBox3;
protected System.Web.UI.WebControls.Button Button3;
protected System.Web.UI.WebControls.TextBox TextBox1;
private void Page_Load(object sender, System.EventArgs e)
{
// 在此處放置用戶代碼以初始化頁面
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN:該調用是 ASP.NET Web 窗體設計器所必需的。
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
/// 此方法的內容。
/// </summary>
private void InitializeComponent()
{
this.Button1.Click += new System.EventHandler(this.Button1_Click);
this.Button2.Click += new System.EventHandler(this.Button2_Click);
this.Button3.Click += new System.EventHandler(this.Button3_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void Button1_Click(object sender, System.EventArgs e)
{
this.Response.Redirect("../publics/Error.aspx?errmsg=" + TextBox2.Text);
}
private void Button2_Click(object sender, System.EventArgs e)
{
ListInfo.ListXl(DropDownList1);
ListInfo.ListZw(DropDownList2);
ListInfo.ListKhlx(DropDownList3);
ListInfo.ListZlzk(DropDownList4);
ListInfo.ListDjlx(DropDownList5);
ListInfo.ListWpglfs(DropDownList6);
ListInfo.ListHblx(DropDownList7);
ListInfo.ListYsfs(DropDownList8);
ListInfo.ListJg(DropDownList9);
}
private void Button3_Click(object sender, System.EventArgs e)
{
TextBox3.Text = FindInfo.FindXtcs(TextBox3.Text);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -