diff --git a/Tank/Tank/FormTank.Designer.cs b/Tank/Tank/FormTank.Designer.cs index 0cf2118..90da2fa 100644 --- a/Tank/Tank/FormTank.Designer.cs +++ b/Tank/Tank/FormTank.Designer.cs @@ -28,18 +28,31 @@ /// private void InitializeComponent() { + button1 = new Button(); SuspendLayout(); // + // button1 + // + button1.Location = new Point(51, 65); + button1.Name = "button1"; + button1.Size = new Size(150, 46); + button1.TabIndex = 0; + button1.Text = "button1"; + button1.UseVisualStyleBackColor = true; + // // FormTank // AutoScaleDimensions = new SizeF(13F, 32F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 450); + Controls.Add(button1); Name = "FormTank"; Text = "Танк"; ResumeLayout(false); } #endregion + + private Button button1; } } \ No newline at end of file