Connect Oracle Database by C # (2)

zhaozj2021-02-17  78

///

Private vidinitiRizeComponent ()

{

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 = "& address";

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

转载请注明原文地址:https://www.9cbs.com/read-31240.html

New Post(0)