| 网站首页 | 行业资讯 | 操作系统 | 网络技术 | 网页设计 | 平面设计 | 媒体制作 | 编程开发 | 
 | 办公软件 | 网络安全 | 电脑技术 | 数 据 库 | 课程在线 | 成功案例 | 项目合作 | 团队简介 | 
蓝色极速感谢大家的支持!站长:干戈 QQ:495979847     IAS网上答疑系统V1.0发布  [Sunpeople  2007年9月15日]        
  您现在的位置: 蓝色极速 >> 网络技术 >> ASP.NET >> 教程正文
 

首页所应该达到的几个…

          ★★★ 
通过c#连结oracle数据库(二)
作者:佚名    教程来源:编程学习    点击数:    更新时间:2007-5-10    

/// </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

教程录入:Sunpeople    责任编辑:Sunpeople  
  • 上一个教程:

  • 下一个教程:

  •      
    点击申请点击申请点击申请点击申请点击申请点击申请点击申请
    | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 |

    Copyright(C)2006-2009 Exploit Team All Rights Reserved
    QQ:495979847 网络备案号:陇ICP备07001585号