|
@@ -31,26 +31,38 @@ namespace Test
|
|
|
{
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
|
|
|
+ this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// button1
|
|
|
//
|
|
|
- this.button1.Location = new System.Drawing.Point(324, 135);
|
|
|
+ this.button1.Location = new System.Drawing.Point(429, 294);
|
|
|
this.button1.Name = "button1";
|
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
|
this.button1.TabIndex = 0;
|
|
|
this.button1.Text = "button1";
|
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
|
//
|
|
|
+ // menuStrip1
|
|
|
+ //
|
|
|
+ this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.menuStrip1.Name = "menuStrip1";
|
|
|
+ this.menuStrip1.Size = new System.Drawing.Size(800, 24);
|
|
|
+ this.menuStrip1.TabIndex = 1;
|
|
|
+ this.menuStrip1.Text = "menuStrip1";
|
|
|
+ //
|
|
|
// Form1
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
|
this.Controls.Add(this.button1);
|
|
|
+ this.Controls.Add(this.menuStrip1);
|
|
|
+ this.MainMenuStrip = this.menuStrip1;
|
|
|
this.Name = "Form1";
|
|
|
this.Text = "Form1";
|
|
|
this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
@@ -58,6 +70,7 @@ namespace Test
|
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
private System.Windows.Forms.ColorDialog colorDialog1;
|
|
|
+ private System.Windows.Forms.MenuStrip menuStrip1;
|
|
|
}
|
|
|
}
|
|
|
|