namespace WinFormPolymorphism5 { 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.btnMove = new System.Windows.Forms.Button(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.button1 = new System.Windows.Forms.Button(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.SuspendLayout(); // // btnMove // this.btnMove.Location = new System.Drawing.Point(52, 247); this.btnMove.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(120, 32); this.btnMove.TabIndex = 9; this.btnMove.Text = "向右移動"; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_Click); // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(52, 193); this.checkBox1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(119, 26); this.checkBox1.TabIndex = 8; this.checkBox1.Text = "checkBox1"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.Click += new System.EventHandler(this.checkBox1_Click); // // linkLabel1 // this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new System.Drawing.Point(47, 147); this.linkLabel1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(95, 22); this.linkLabel1.TabIndex = 7; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "linkLabel1"; this.linkLabel1.Click += new System.EventHandler(this.linkLabel1_Click); // // button1 // this.button1.Location = new System.Drawing.Point(51, 86); this.button1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(136, 38); this.button1.TabIndex = 6; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Location = new System.Drawing.Point(51, 34); this.comboBox1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(224, 30); this.comboBox1.TabIndex = 5; this.comboBox1.Click += new System.EventHandler(this.comboBox1_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 22F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(393, 304); this.Controls.Add(this.btnMove); this.Controls.Add(this.checkBox1); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.button1); this.Controls.Add(this.comboBox1); this.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "Form1"; this.Text = "多型-範例2"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button btnMove; private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.LinkLabel linkLabel1; private System.Windows.Forms.Button button1; private System.Windows.Forms.ComboBox comboBox1; } }