140 lines
5.5 KiB
C#
140 lines
5.5 KiB
C#
namespace Tank
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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()
|
|
{
|
|
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();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBox1;
|
|
private Button buttonCreate;
|
|
private Button buttonLeft;
|
|
private Button buttonRight;
|
|
private Button buttonUp;
|
|
private Button buttonDown;
|
|
}
|
|
} |