2024-02-04 15:01:22 +04:00
|
|
|
|
namespace Tank
|
|
|
|
|
{
|
|
|
|
|
partial class Form1
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-02-09 15:38:15 +04:00
|
|
|
|
/// Required designer variable.
|
2024-02-04 15:01:22 +04:00
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-02-09 15:38:15 +04:00
|
|
|
|
/// Clean up any resources being used.
|
2024-02-04 15:01:22 +04:00
|
|
|
|
/// </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>
|
2024-02-09 15:38:15 +04:00
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
2024-02-04 15:01:22 +04:00
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-02-09 15:38:15 +04:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
|
|
|
pictureBox1 = new PictureBox();
|
|
|
|
|
buttonCreate = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonRight = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBox1
|
|
|
|
|
//
|
|
|
|
|
pictureBox1.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
pictureBox1.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBox1.Location = new Point(0, 0);
|
|
|
|
|
pictureBox1.Name = "pictureBox1";
|
|
|
|
|
pictureBox1.Size = new Size(884, 461);
|
|
|
|
|
pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
|
|
|
pictureBox1.TabIndex = 0;
|
|
|
|
|
pictureBox1.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreate
|
|
|
|
|
//
|
|
|
|
|
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreate.Location = new Point(24, 416);
|
|
|
|
|
buttonCreate.Name = "buttonCreate";
|
|
|
|
|
buttonCreate.Size = new Size(75, 23);
|
|
|
|
|
buttonCreate.TabIndex = 1;
|
|
|
|
|
buttonCreate.Text = "CreateTank";
|
|
|
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreate.Click += ButtonCreateTank_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackgroundImage = (Image)resources.GetObject("buttonLeft.BackgroundImage");
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonLeft.Location = new Point(714, 407);
|
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(57, 42);
|
|
|
|
|
buttonLeft.TabIndex = 2;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonRight.Location = new Point(827, 406);
|
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(57, 42);
|
|
|
|
|
buttonRight.TabIndex = 3;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRight.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackgroundImage = (Image)resources.GetObject("buttonUp.BackgroundImage");
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonUp.Location = new Point(777, 360);
|
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(44, 42);
|
|
|
|
|
buttonUp.TabIndex = 4;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUp.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackgroundImage = (Image)resources.GetObject("buttonDown.BackgroundImage");
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonDown.Location = new Point(777, 408);
|
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(44, 40);
|
|
|
|
|
buttonDown.TabIndex = 5;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// Form1
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(884, 461);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonCreate);
|
|
|
|
|
Controls.Add(pictureBox1);
|
|
|
|
|
Name = "Form1";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Form1";
|
|
|
|
|
TransparencyKey = Color.White;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2024-02-04 15:01:22 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2024-02-09 15:38:15 +04:00
|
|
|
|
|
|
|
|
|
private PictureBox pictureBox1;
|
|
|
|
|
private Button buttonCreate;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonRight;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonDown;
|
2024-02-04 15:01:22 +04:00
|
|
|
|
}
|
2024-02-09 15:38:15 +04:00
|
|
|
|
}
|