181 lines
7.3 KiB
C#
181 lines
7.3 KiB
C#
namespace Tank
|
||
{
|
||
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();
|
||
buttonCreate = new Button();
|
||
buttonLeft = new Button();
|
||
buttonRight = new Button();
|
||
buttonUp = new Button();
|
||
buttonDown = new Button();
|
||
buttonCreateMachine = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
buttonStrategyStep = 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(1128, 715);
|
||
pictureBoxTank.SizeMode = PictureBoxSizeMode.AutoSize;
|
||
pictureBoxTank.TabIndex = 0;
|
||
pictureBoxTank.TabStop = false;
|
||
//
|
||
// buttonCreate
|
||
//
|
||
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreate.Location = new Point(29, 642);
|
||
buttonCreate.Name = "buttonCreate";
|
||
buttonCreate.Size = new Size(166, 46);
|
||
buttonCreate.TabIndex = 1;
|
||
buttonCreate.Text = "Создать танк";
|
||
buttonCreate.UseVisualStyleBackColor = true;
|
||
buttonCreate.Click += ButtonCreateTank_Click;
|
||
//
|
||
// buttonLeft
|
||
//
|
||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonLeft.BackgroundImage = Properties.Resources.left;
|
||
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonLeft.Location = new Point(919, 633);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(55, 55);
|
||
buttonLeft.TabIndex = 2;
|
||
buttonLeft.Text = " ";
|
||
buttonLeft.UseVisualStyleBackColor = true;
|
||
buttonLeft.Click += ButtonMove_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonRight.BackgroundImage = Properties.Resources.right;
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonRight.Location = new Point(1061, 633);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(55, 55);
|
||
buttonRight.TabIndex = 3;
|
||
buttonRight.Text = " ";
|
||
buttonRight.UseVisualStyleBackColor = true;
|
||
buttonRight.Click += ButtonMove_Click;
|
||
//
|
||
// buttonUp
|
||
//
|
||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonUp.BackgroundImage = Properties.Resources.up;
|
||
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonUp.Location = new Point(991, 562);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(55, 55);
|
||
buttonUp.TabIndex = 4;
|
||
buttonUp.Text = " ";
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += ButtonMove_Click;
|
||
//
|
||
// buttonDown
|
||
//
|
||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonDown.BackgroundImage = Properties.Resources.down;
|
||
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonDown.Location = new Point(991, 633);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(55, 55);
|
||
buttonDown.TabIndex = 5;
|
||
buttonDown.Text = " ";
|
||
buttonDown.UseVisualStyleBackColor = true;
|
||
buttonDown.Click += ButtonMove_Click;
|
||
//
|
||
// buttonCreateMachine
|
||
//
|
||
buttonCreateMachine.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreateMachine.Location = new Point(210, 642);
|
||
buttonCreateMachine.Name = "buttonCreateMachine";
|
||
buttonCreateMachine.Size = new Size(215, 46);
|
||
buttonCreateMachine.TabIndex = 6;
|
||
buttonCreateMachine.Text = "Создать Машину";
|
||
buttonCreateMachine.UseVisualStyleBackColor = true;
|
||
buttonCreateMachine.Click += ButtonCreateMachine_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
comboBoxStrategy.BackColor = SystemColors.Window;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
||
comboBoxStrategy.Location = new Point(874, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(242, 40);
|
||
comboBoxStrategy.TabIndex = 7;
|
||
//
|
||
// buttonStrategyStep
|
||
//
|
||
buttonStrategyStep.Location = new Point(1031, 68);
|
||
buttonStrategyStep.Name = "buttonStrategyStep";
|
||
buttonStrategyStep.Size = new Size(85, 46);
|
||
buttonStrategyStep.TabIndex = 8;
|
||
buttonStrategyStep.Text = "Шаг";
|
||
buttonStrategyStep.UseVisualStyleBackColor = true;
|
||
buttonStrategyStep.Click += ButtonStrategyStep_Click;
|
||
//
|
||
// FormTank
|
||
//
|
||
AutoScaleDimensions = new SizeF(13F, 32F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(1128, 715);
|
||
Controls.Add(buttonStrategyStep);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonCreateMachine);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(buttonCreate);
|
||
Controls.Add(pictureBoxTank);
|
||
Name = "FormTank";
|
||
Text = "Танк";
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxTank).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxTank;
|
||
private Button buttonCreate;
|
||
private Button buttonLeft;
|
||
private Button buttonRight;
|
||
private Button buttonUp;
|
||
private Button buttonDown;
|
||
private Button buttonCreateMachine;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonStrategyStep;
|
||
}
|
||
} |