2023-10-15 18:14:19 +04:00
|
|
|
|
namespace AirBomber
|
|
|
|
|
{
|
|
|
|
|
partial class FormAirBomber
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
pictureBox = new PictureBox();
|
|
|
|
|
buttonRight = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonCreate = new Button();
|
2023-11-27 23:25:40 +04:00
|
|
|
|
buttonCreateWarBomber = new Button();
|
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
ButtonStep = new Button();
|
2023-11-28 00:26:29 +04:00
|
|
|
|
ButtonSelectCar = new Button();
|
2023-10-15 18:14:19 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBox
|
|
|
|
|
//
|
|
|
|
|
pictureBox.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBox.Location = new Point(0, 0);
|
|
|
|
|
pictureBox.Name = "pictureBox";
|
|
|
|
|
pictureBox.Size = new Size(800, 450);
|
|
|
|
|
pictureBox.TabIndex = 0;
|
|
|
|
|
pictureBox.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackgroundImage = Properties.Resources.right_arrow;
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonRight.Location = new Point(713, 373);
|
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(30, 30);
|
|
|
|
|
buttonRight.TabIndex = 2;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRight.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackgroundImage = Properties.Resources.down;
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonDown.Location = new Point(677, 401);
|
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(30, 30);
|
|
|
|
|
buttonDown.TabIndex = 3;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackgroundImage = Properties.Resources.left;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonLeft.Location = new Point(641, 373);
|
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(30, 30);
|
|
|
|
|
buttonLeft.TabIndex = 4;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackgroundImage = Properties.Resources.up_arrow;
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonUp.Location = new Point(677, 345);
|
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(30, 30);
|
|
|
|
|
buttonUp.TabIndex = 5;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUp.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreate
|
|
|
|
|
//
|
|
|
|
|
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
2023-11-27 23:25:40 +04:00
|
|
|
|
buttonCreate.Location = new Point(223, 385);
|
2023-10-15 18:14:19 +04:00
|
|
|
|
buttonCreate.Name = "buttonCreate";
|
2023-11-27 23:25:40 +04:00
|
|
|
|
buttonCreate.Size = new Size(181, 59);
|
2023-10-15 18:14:19 +04:00
|
|
|
|
buttonCreate.TabIndex = 6;
|
2023-11-27 23:25:40 +04:00
|
|
|
|
buttonCreate.Text = "Создать самолёт";
|
2023-10-15 18:14:19 +04:00
|
|
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreate.Click += buttonCreate_Click;
|
|
|
|
|
//
|
2023-11-27 23:25:40 +04:00
|
|
|
|
// buttonCreateWarBomber
|
|
|
|
|
//
|
|
|
|
|
buttonCreateWarBomber.Location = new Point(12, 385);
|
|
|
|
|
buttonCreateWarBomber.Name = "buttonCreateWarBomber";
|
|
|
|
|
buttonCreateWarBomber.Size = new Size(205, 59);
|
|
|
|
|
buttonCreateWarBomber.TabIndex = 7;
|
|
|
|
|
buttonCreateWarBomber.Text = "Создать военный самолёт";
|
|
|
|
|
buttonCreateWarBomber.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateWarBomber.Click += buttonCreateWarBomber_Click;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "В центр", "В правый нижний угол" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(637, 12);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(151, 28);
|
|
|
|
|
comboBoxStrategy.TabIndex = 8;
|
|
|
|
|
//
|
|
|
|
|
// ButtonStep
|
|
|
|
|
//
|
|
|
|
|
ButtonStep.Location = new Point(694, 60);
|
|
|
|
|
ButtonStep.Name = "ButtonStep";
|
|
|
|
|
ButtonStep.Size = new Size(94, 29);
|
|
|
|
|
ButtonStep.TabIndex = 9;
|
|
|
|
|
ButtonStep.Text = "Шаг";
|
|
|
|
|
ButtonStep.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonStep.Click += ButtonStep_Click;
|
|
|
|
|
//
|
2023-11-28 00:26:29 +04:00
|
|
|
|
// ButtonSelectCar
|
|
|
|
|
//
|
|
|
|
|
ButtonSelectCar.Location = new Point(420, 391);
|
|
|
|
|
ButtonSelectCar.Name = "ButtonSelectCar";
|
|
|
|
|
ButtonSelectCar.Size = new Size(118, 53);
|
|
|
|
|
ButtonSelectCar.TabIndex = 10;
|
|
|
|
|
ButtonSelectCar.Text = "Выбрать";
|
|
|
|
|
ButtonSelectCar.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonSelectCar.Click += ButtonSelectCar_Click;
|
|
|
|
|
//
|
2023-10-15 18:14:19 +04:00
|
|
|
|
// FormAirBomber
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
2023-11-28 00:26:29 +04:00
|
|
|
|
Controls.Add(ButtonSelectCar);
|
2023-11-27 23:25:40 +04:00
|
|
|
|
Controls.Add(ButtonStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
|
|
|
|
Controls.Add(buttonCreateWarBomber);
|
2023-10-15 18:14:19 +04:00
|
|
|
|
Controls.Add(buttonCreate);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(pictureBox);
|
|
|
|
|
Name = "FormAirBomber";
|
|
|
|
|
Text = "Form1";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private PictureBox pictureBox;
|
|
|
|
|
private Button buttonRight;
|
|
|
|
|
private Button buttonDown;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonCreate;
|
2023-11-27 23:25:40 +04:00
|
|
|
|
private Button buttonCreateWarBomber;
|
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button ButtonStep;
|
2023-11-28 00:26:29 +04:00
|
|
|
|
private Button ButtonSelectCar;
|
2023-10-15 18:14:19 +04:00
|
|
|
|
}
|
|
|
|
|
}
|