This commit is contained in:
elizaveta 2024-03-13 00:39:20 +04:00
parent 4693f2b551
commit 0ed1f29f97

View File

@ -28,18 +28,31 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
button1 = new Button();
SuspendLayout(); 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 // FormTank
// //
AutoScaleDimensions = new SizeF(13F, 32F); AutoScaleDimensions = new SizeF(13F, 32F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450); ClientSize = new Size(800, 450);
Controls.Add(button1);
Name = "FormTank"; Name = "FormTank";
Text = "Танк"; Text = "Танк";
ResumeLayout(false); ResumeLayout(false);
} }
#endregion #endregion
private Button button1;
} }
} }