namespace WindowsFormsFirst { partial class Form1 { /// /// 設計工具所需的變數。 /// private System.ComponentModel.IContainer components = null; /// /// 清除任何使用中的資源。 /// /// 如果應該處置 Managed 資源則為 true,否則為 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form 設計工具產生的程式碼 /// /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改 /// 這個方法的內容。 /// private void InitializeComponent() { this.btnExit = new System.Windows.Forms.Button(); this.btnOk = new System.Windows.Forms.Button(); this.txtName = new System.Windows.Forms.TextBox(); this.lblShow = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // btnExit // this.btnExit.Location = new System.Drawing.Point(162, 182); this.btnExit.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(117, 38); this.btnExit.TabIndex = 10; this.btnExit.Text = "結束"; this.btnExit.UseVisualStyleBackColor = true; this.btnExit.Click += new System.EventHandler(this.btnExit_Click); // // btnOk // this.btnOk.Location = new System.Drawing.Point(35, 182); this.btnOk.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(117, 38); this.btnOk.TabIndex = 9; this.btnOk.Text = "確定"; this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new System.EventHandler(this.btnOk_Click); // // txtName // this.txtName.Location = new System.Drawing.Point(94, 32); this.txtName.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(154, 31); this.txtName.TabIndex = 8; // // lblShow // this.lblShow.AutoSize = true; this.lblShow.Location = new System.Drawing.Point(35, 117); this.lblShow.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.lblShow.Name = "lblShow"; this.lblShow.Size = new System.Drawing.Size(53, 20); this.lblShow.TabIndex = 7; this.lblShow.Text = "label2"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("新細明體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.label1.Location = new System.Drawing.Point(35, 35); this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(49, 20); this.label1.TabIndex = 6; this.label1.Text = "姓名"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(317, 266); this.Controls.Add(this.btnExit); this.Controls.Add(this.btnOk); this.Controls.Add(this.txtName); this.Controls.Add(this.lblShow); this.Controls.Add(this.label1); this.Font = new System.Drawing.Font("新細明體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.Name = "Form1"; this.Text = "Hello程式"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button btnExit; private System.Windows.Forms.Button btnOk; private System.Windows.Forms.TextBox txtName; private System.Windows.Forms.Label lblShow; private System.Windows.Forms.Label label1; } }