namespace DataBindingDemo1 { 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.cboId = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.txtName = new System.Windows.Forms.TextBox(); this.txtTel = new System.Windows.Forms.TextBox(); this.txtPosition = new System.Windows.Forms.TextBox(); this.txtSalary = new System.Windows.Forms.TextBox(); 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(28, 26); 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 = "編號"; // // cboId // this.cboId.FormattingEnabled = true; this.cboId.Location = new System.Drawing.Point(64, 24); this.cboId.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.cboId.Name = "cboId"; this.cboId.Size = new System.Drawing.Size(92, 20); this.cboId.TabIndex = 1; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(28, 64); 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 = "姓名"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(28, 102); 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 = "電話"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(258, 67); 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 = "職稱"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(258, 105); this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(29, 12); this.label5.TabIndex = 0; this.label5.Text = "薪資"; // // txtName // this.txtName.Location = new System.Drawing.Point(64, 62); this.txtName.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(114, 22); this.txtName.TabIndex = 2; // // txtTel // this.txtTel.Location = new System.Drawing.Point(64, 99); this.txtTel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtTel.Name = "txtTel"; this.txtTel.Size = new System.Drawing.Size(114, 22); this.txtTel.TabIndex = 2; // // txtPosition // this.txtPosition.Location = new System.Drawing.Point(293, 65); this.txtPosition.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtPosition.Name = "txtPosition"; this.txtPosition.Size = new System.Drawing.Size(114, 22); this.txtPosition.TabIndex = 2; // // txtSalary // this.txtSalary.Location = new System.Drawing.Point(293, 102); this.txtSalary.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.txtSalary.Name = "txtSalary"; this.txtSalary.Size = new System.Drawing.Size(114, 22); this.txtSalary.TabIndex = 2; // // dataGridView1 // this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Location = new System.Drawing.Point(31, 142); 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(459, 140); 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(513, 302); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.txtSalary); this.Controls.Add(this.txtPosition); this.Controls.Add(this.txtTel); this.Controls.Add(this.txtName); this.Controls.Add(this.cboId); this.Controls.Add(this.label5); this.Controls.Add(this.label3); this.Controls.Add(this.label4); this.Controls.Add(this.label2); 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.ComboBox cboId; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label5; private System.Windows.Forms.TextBox txtName; private System.Windows.Forms.TextBox txtTel; private System.Windows.Forms.TextBox txtPosition; private System.Windows.Forms.TextBox txtSalary; private System.Windows.Forms.DataGridView dataGridView1; } }