|
C#编写的一个简单的登陆界面对话框的原代码(3) this.textBox1.Text = ""; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(136, 112); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(112, 21); this.textBox2.TabIndex = 4; this.textBox2.Text = ""; // // button1 // this.button1.Location = new System.Drawing.Point(288, 72); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(64, 24); this.button1.TabIndex = 5; this.button1.Text = "ok"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(288, 112); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(64, 24); this.button2.TabIndex = 6; this.button2.Text = "cancle"; this.button2.Click += new System.EventHandler(this.button2_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(392, 218); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.button2, this.button1, this.textBox2,
|