namespace CommandDemo2 { 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.label1 = new System.Windows.Forms.Label(); this.txtName = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.txtPosition = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtTel = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.txtSalary = new System.Windows.Forms.TextBox(); this.btnAdd = new System.Windows.Forms.Button(); this.btnUpdate = new System.Windows.Forms.Button(); this.btnDel = new System.Windows.Forms.Button(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(19, 42); this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(29, 12); this.label1.TabIndex = 0; this.label1.Text = "姓名"; // // txtName // this.txtName.Location = new System.Drawing.Point(52, 39); this.txtName.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(76, 22); this.txtName.TabIndex = 1; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(19, 81); this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 12); this.label2.TabIndex = 0; this.label2.Text = "職稱"; // // txtPosition // this.txtPosition.Location = new System.Drawing.Point(52, 78); this.txtPosition.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtPosition.Name = "txtPosition"; this.txtPosition.Size = new System.Drawing.Size(76, 22); this.txtPosition.TabIndex = 1; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(202, 45); this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(29, 12); this.label3.TabIndex = 0; this.label3.Text = "電話"; // // txtTel // this.txtTel.Location = new System.Drawing.Point(235, 42); this.txtTel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtTel.Name = "txtTel"; this.txtTel.Size = new System.Drawing.Size(76, 22); this.txtTel.TabIndex = 1; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(202, 84); this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(29, 12); this.label4.TabIndex = 0; this.label4.Text = "薪資"; // // txtSalary // this.txtSalary.Location = new System.Drawing.Point(235, 81); this.txtSalary.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtSalary.Name = "txtSalary"; this.txtSalary.Size = new System.Drawing.Size(76, 22); this.txtSalary.TabIndex = 1; // // btnAdd // this.btnAdd.Location = new System.Drawing.Point(417, 16); this.btnAdd.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(56, 22); this.btnAdd.TabIndex = 2; this.btnAdd.Text = "新增"; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnUpdate // this.btnUpdate.Location = new System.Drawing.Point(417, 48); this.btnUpdate.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnUpdate.Name = "btnUpdate"; this.btnUpdate.Size = new System.Drawing.Size(56, 22); this.btnUpdate.TabIndex = 2; this.btnUpdate.Text = "修改"; this.btnUpdate.UseVisualStyleBackColor = true; this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click); // // btnDel // this.btnDel.Location = new System.Drawing.Point(417, 81); this.btnDel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.btnDel.Name = "btnDel"; this.btnDel.Size = new System.Drawing.Size(56, 22); this.btnDel.TabIndex = 2; this.btnDel.Text = "刪除"; this.btnDel.UseVisualStyleBackColor = true; this.btnDel.Click += new System.EventHandler(this.btnDel_Click); // // dataGridView1 // this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Location = new System.Drawing.Point(21, 116); this.dataGridView1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 27; this.dataGridView1.Size = new System.Drawing.Size(452, 157); this.dataGridView1.TabIndex = 3; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(484, 294); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.btnDel); this.Controls.Add(this.btnUpdate); this.Controls.Add(this.btnAdd); this.Controls.Add(this.txtSalary); this.Controls.Add(this.label4); this.Controls.Add(this.txtTel); this.Controls.Add(this.label3); this.Controls.Add(this.txtPosition); this.Controls.Add(this.label2); this.Controls.Add(this.txtName); this.Controls.Add(this.label1); this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.TextBox txtName; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox txtPosition; private System.Windows.Forms.Label label3; private System.Windows.Forms.TextBox txtTel; private System.Windows.Forms.Label label4; private System.Windows.Forms.TextBox txtSalary; private System.Windows.Forms.Button btnAdd; private System.Windows.Forms.Button btnUpdate; private System.Windows.Forms.Button btnDel; private System.Windows.Forms.DataGridView dataGridView1; } }