135 lines
5.3 KiB
C#
135 lines
5.3 KiB
C#
|
namespace ProjectTank
|
|||
|
{
|
|||
|
partial class FormTank
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Required designer variable.
|
|||
|
/// </summary>
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Clean up any resources being used.
|
|||
|
/// </summary>
|
|||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Windows Form Designer generated code
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Required method for Designer support - do not modify
|
|||
|
/// the contents of this method with the code editor.
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
pictureBoxTank = new PictureBox();
|
|||
|
createButton = new Button();
|
|||
|
buttonLeft = new Button();
|
|||
|
buttonDown = new Button();
|
|||
|
buttonRight = new Button();
|
|||
|
buttonUp = new Button();
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxTank).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// pictureBoxTank
|
|||
|
//
|
|||
|
pictureBoxTank.Dock = DockStyle.Fill;
|
|||
|
pictureBoxTank.Location = new Point(0, 0);
|
|||
|
pictureBoxTank.Name = "pictureBoxTank";
|
|||
|
pictureBoxTank.Size = new Size(991, 458);
|
|||
|
pictureBoxTank.SizeMode = PictureBoxSizeMode.AutoSize;
|
|||
|
pictureBoxTank.TabIndex = 7;
|
|||
|
pictureBoxTank.TabStop = false;
|
|||
|
//
|
|||
|
// createButton
|
|||
|
//
|
|||
|
createButton.Location = new Point(885, 405);
|
|||
|
createButton.Name = "createButton";
|
|||
|
createButton.Size = new Size(94, 41);
|
|||
|
createButton.TabIndex = 8;
|
|||
|
createButton.Text = "Create";
|
|||
|
createButton.UseVisualStyleBackColor = true;
|
|||
|
createButton.Click += buttonCreate_Click;
|
|||
|
//
|
|||
|
// buttonLeft
|
|||
|
//
|
|||
|
buttonLeft.BackgroundImage = Properties.Resources.icons8_left_arrow_40;
|
|||
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonLeft.Font = new Font("Segoe UI", 15F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonLeft.Location = new Point(12, 396);
|
|||
|
buttonLeft.Name = "buttonLeft";
|
|||
|
buttonLeft.Size = new Size(50, 50);
|
|||
|
buttonLeft.TabIndex = 9;
|
|||
|
buttonLeft.UseVisualStyleBackColor = true;
|
|||
|
buttonLeft.Click += moveButton_Click;
|
|||
|
//
|
|||
|
// buttonDown
|
|||
|
//
|
|||
|
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
|||
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonDown.Font = new Font("Segoe UI", 10F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonDown.Location = new Point(68, 396);
|
|||
|
buttonDown.Name = "buttonDown";
|
|||
|
buttonDown.Size = new Size(50, 50);
|
|||
|
buttonDown.TabIndex = 10;
|
|||
|
buttonDown.UseVisualStyleBackColor = true;
|
|||
|
buttonDown.Click += moveButton_Click;
|
|||
|
//
|
|||
|
// buttonRight
|
|||
|
//
|
|||
|
buttonRight.BackgroundImage = Properties.Resources.icons8_right_arrow_40;
|
|||
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonRight.Font = new Font("Segoe UI", 15F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonRight.Location = new Point(124, 396);
|
|||
|
buttonRight.Name = "buttonRight";
|
|||
|
buttonRight.Size = new Size(50, 50);
|
|||
|
buttonRight.TabIndex = 11;
|
|||
|
buttonRight.UseVisualStyleBackColor = true;
|
|||
|
buttonRight.Click += moveButton_Click;
|
|||
|
//
|
|||
|
// buttonUp
|
|||
|
//
|
|||
|
buttonUp.BackgroundImage = Properties.Resources.icons8_up_arrow_40;
|
|||
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|||
|
buttonUp.Font = new Font("Segoe UI", 15F, FontStyle.Regular, GraphicsUnit.Point);
|
|||
|
buttonUp.Location = new Point(68, 340);
|
|||
|
buttonUp.Name = "buttonUp";
|
|||
|
buttonUp.Size = new Size(50, 50);
|
|||
|
buttonUp.TabIndex = 12;
|
|||
|
buttonUp.UseVisualStyleBackColor = true;
|
|||
|
buttonUp.Click += moveButton_Click;
|
|||
|
//
|
|||
|
// FormTank
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(991, 458);
|
|||
|
Controls.Add(buttonUp);
|
|||
|
Controls.Add(buttonRight);
|
|||
|
Controls.Add(buttonDown);
|
|||
|
Controls.Add(buttonLeft);
|
|||
|
Controls.Add(createButton);
|
|||
|
Controls.Add(pictureBoxTank);
|
|||
|
Name = "FormTank";
|
|||
|
StartPosition = FormStartPosition.CenterScreen;
|
|||
|
Text = "Drawing tank";
|
|||
|
((System.ComponentModel.ISupportInitialize)pictureBoxTank).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
private PictureBox pictureBoxTank;
|
|||
|
private Button createButton;
|
|||
|
private Button buttonLeft;
|
|||
|
private Button buttonDown;
|
|||
|
private Button buttonRight;
|
|||
|
private Button buttonUp;
|
|||
|
}
|
|||
|
}
|