通过c#连结oracle数据库(二)

类别:.NET开发 点击:0 评论:0 推荐:

/// </summary>

private void InitializeComponent()

{

this.label4 = new System.Windows.Forms.Label();

this.BtnExit = new System.Windows.Forms.Button();

this.label1 = new System.Windows.Forms.Label();

this.label2 = new System.Windows.Forms.Label();

this.label3 = new System.Windows.Forms.Label();

this.BtnEdit = new System.Windows.Forms.Button();

this.BtnSave = new System.Windows.Forms.Button();

this.BtnDelete = new System.Windows.Forms.Button();

this.TxtESal = new System.Windows.Forms.TextBox();

this.TxtEmpNo = new System.Windows.Forms.TextBox();

this.TxtEName = new System.Windows.Forms.TextBox();

this.BtnAddNew = new System.Windows.Forms.Button();

this.TxtDeptNo = new System.Windows.Forms.TextBox();

this.SuspendLayout();

//

// label4

//

this.label4.AutoSize = true;

this.label4.Location = new System.Drawing.Point(104, 160);

this.label4.Name = "label4";

this.label4.Size = new System.Drawing.Size(59, 14);

this.label4.TabIndex = 3;

this.label4.Text = "Dept No :";

//

// BtnExit

//

this.BtnExit.Location = new System.Drawing.Point(280, 256);

this.BtnExit.Name = "BtnExit";

this.BtnExit.Size = new System.Drawing.Size(90, 32);

this.BtnExit.TabIndex = 12;

this.BtnExit.Text = "E&xit";

this.BtnExit.Click += new System.EventHandler(this.BtnExit_Click);

//

// label1

//

this.label1.AutoSize = true;

this.label1.Location = new System.Drawing.Point(104, 64);

this.label1.Name = "label1";

this.label1.Size = new System.Drawing.Size(58, 14);

this.label1.TabIndex = 0;

this.label1.Text = "Emp No :";

//

// label2

//

this.label2.AutoSize = true;

this.label2.Location = new System.Drawing.Point(104, 96);

this.label2.Name = "label2";

this.label2.Size = new System.Drawing.Size(75, 14);

this.label2.TabIndex = 1;

this.label2.Text = "Emp Name :";

//

// label3

//

this.label3.AutoSize = true;

this.label3.Location = new System.Drawing.Point(104, 128);

this.label3.Name = "label3";

this.label3.Size = new System.Drawing.Size(78, 14);

this.label3.TabIndex = 2;

this.label3.Text = "Emp Salary :";

//

// BtnEdit

//

this.BtnEdit.Location = new System.Drawing.Point(328, 208);

this.BtnEdit.Name = "BtnEdit";

this.BtnEdit.Size = new System.Drawing.Size(90, 32);

this.BtnEdit.TabIndex = 10;

this.BtnEdit.Text = "Edit";

this.BtnEdit.Click += new System.EventHandler(this.BtnEdit_Click);

//

// BtnSave

//

this.BtnSave.Location = new System.Drawing.Point(224, 208);

this.BtnSave.Name = "BtnSave";

this.BtnSave.Size = new System.Drawing.Size(90, 32);

this.BtnSave.TabIndex = 9;

this.BtnSave.Text = "Save";

this.BtnSave.Click += new System.EventHandler(this.BtnSave_Click);

//

// BtnDelete

//

this.BtnDelete.Location = new System.Drawing.Point(168, 256);

this.BtnDelete.Name = "BtnDelete";

this.BtnDelete.Size = new System.Drawing.Size(90, 32);

this.BtnDelete.TabIndex = 11;

this.BtnDelete.Text = "Delete";

this.BtnDelete.Click += new System.EventHandler(this.BtnDelete_Click);

//

// TxtESal

//

this.TxtESal.Location = new System.Drawing.Point(192, 128);

this.TxtESal.Name = "TxtESal";

this.TxtESal.Size = new System.Drawing.Size(112, 21);

this.TxtESal.TabIndex = 6;

this.TxtESal.Text = "";

//

// TxtEmpNo

//

this.TxtEmpNo.Location = new System.Drawing.Point(192, 64);

this.TxtEmpNo.Name = "TxtEmpNo";

this.TxtEmpNo.Size = new System.Drawing.Size(112, 21);

this.TxtEmpNo.TabIndex = 4;

this.TxtEmpNo.Text = "";

//

// TxtEName

//

this.TxtEName.Location = new System.Drawing.Point(192, 96);

this.TxtEName.Name = "TxtEName";

this.TxtEName.Size = new System.Drawing.Size(200, 21);

this.TxtEName.TabIndex = 5;

this.TxtEName.Text = "";

//

// BtnAddNew

//

this.BtnAddNew.Location = new System.Drawing.Point(120, 208);

this.BtnAddNew.Name = "BtnAddNew";

this.BtnAddNew.Size = new System.Drawing.Size(90, 32);

this.BtnAddNew.TabIndex = 8;

this.BtnAddNew.Text = "&Add New";

this.BtnAddNew.Click += new System.EventHandler(this.BtnAddNew_Click);

//

// TxtDeptNo

//

this.TxtDeptNo.Location = new System.Drawing.Point(192, 160);

this.TxtDeptNo.Name = "TxtDeptNo";

this.TxtDeptNo.Size = new System.Drawing.Size(112, 21);

this.TxtDeptNo.TabIndex = 7;

this.TxtDeptNo.Text = "";

//

// FrmEmp

本文地址:http://com.8s8s.com/it/it46245.htm