2023-11-18 22:48:03 +04:00
|
|
|
|
namespace AirBomber
|
|
|
|
|
{
|
|
|
|
|
partial class BomberForm
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
BomberPictureBox = new PictureBox();
|
2023-11-19 00:10:06 +04:00
|
|
|
|
ButtonCreateBomberBase = new Button();
|
2023-11-18 22:48:03 +04:00
|
|
|
|
ButtonRight = new Button();
|
|
|
|
|
ButtonDown = new Button();
|
|
|
|
|
ButtonLeft = new Button();
|
|
|
|
|
ButtonUp = new Button();
|
2023-11-19 00:10:06 +04:00
|
|
|
|
MovementStrategyComboBox = new ComboBox();
|
|
|
|
|
ButtonCreateBomber = new Button();
|
|
|
|
|
ButtonPerformMove = new Button();
|
2023-11-18 22:48:03 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)BomberPictureBox).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// BomberPictureBox
|
|
|
|
|
//
|
|
|
|
|
BomberPictureBox.Dock = DockStyle.Fill;
|
|
|
|
|
BomberPictureBox.Location = new Point(0, 0);
|
|
|
|
|
BomberPictureBox.Name = "BomberPictureBox";
|
|
|
|
|
BomberPictureBox.Size = new Size(884, 461);
|
|
|
|
|
BomberPictureBox.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
|
|
|
BomberPictureBox.TabIndex = 0;
|
|
|
|
|
BomberPictureBox.TabStop = false;
|
|
|
|
|
//
|
2023-11-19 00:10:06 +04:00
|
|
|
|
// ButtonCreateBomberBase
|
2023-11-18 22:48:03 +04:00
|
|
|
|
//
|
2023-11-19 00:10:06 +04:00
|
|
|
|
ButtonCreateBomberBase.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
ButtonCreateBomberBase.Location = new Point(177, 407);
|
|
|
|
|
ButtonCreateBomberBase.Name = "ButtonCreateBomberBase";
|
|
|
|
|
ButtonCreateBomberBase.Size = new Size(159, 42);
|
|
|
|
|
ButtonCreateBomberBase.TabIndex = 1;
|
|
|
|
|
ButtonCreateBomberBase.Text = "Создать бомбардировщик";
|
|
|
|
|
ButtonCreateBomberBase.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonCreateBomberBase.Click += ButtonCreateBomberBase_Click;
|
2023-11-18 22:48:03 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonRight
|
|
|
|
|
//
|
|
|
|
|
ButtonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
ButtonRight.BackgroundImage = Properties.Resources.ArrowRight;
|
|
|
|
|
ButtonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
ButtonRight.Location = new Point(842, 419);
|
|
|
|
|
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.ArrowDown;
|
|
|
|
|
ButtonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
ButtonDown.Location = new Point(806, 419);
|
|
|
|
|
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.ArrowLeft;
|
|
|
|
|
ButtonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
ButtonLeft.Location = new Point(770, 419);
|
|
|
|
|
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.ArrowUp;
|
|
|
|
|
ButtonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
ButtonUp.Location = new Point(806, 383);
|
|
|
|
|
ButtonUp.Name = "ButtonUp";
|
|
|
|
|
ButtonUp.Size = new Size(30, 30);
|
|
|
|
|
ButtonUp.TabIndex = 5;
|
|
|
|
|
ButtonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonUp.Click += ButtonMove_Click;
|
|
|
|
|
//
|
2023-11-19 00:10:06 +04:00
|
|
|
|
// MovementStrategyComboBox
|
|
|
|
|
//
|
|
|
|
|
MovementStrategyComboBox.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
MovementStrategyComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
MovementStrategyComboBox.FormattingEnabled = true;
|
|
|
|
|
MovementStrategyComboBox.Items.AddRange(new object[] { "Перемещать в центр", "Перемещать вправо вниз" });
|
|
|
|
|
MovementStrategyComboBox.Location = new Point(706, 12);
|
|
|
|
|
MovementStrategyComboBox.Name = "MovementStrategyComboBox";
|
|
|
|
|
MovementStrategyComboBox.Size = new Size(166, 23);
|
|
|
|
|
MovementStrategyComboBox.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// ButtonCreateBomber
|
|
|
|
|
//
|
|
|
|
|
ButtonCreateBomber.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
ButtonCreateBomber.Location = new Point(12, 407);
|
|
|
|
|
ButtonCreateBomber.Name = "ButtonCreateBomber";
|
|
|
|
|
ButtonCreateBomber.Size = new Size(159, 42);
|
|
|
|
|
ButtonCreateBomber.TabIndex = 7;
|
|
|
|
|
ButtonCreateBomber.Text = "Создать продвинутый бомбардировщик";
|
|
|
|
|
ButtonCreateBomber.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonCreateBomber.Click += ButtonCreateBomber_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonPerformMove
|
|
|
|
|
//
|
|
|
|
|
ButtonPerformMove.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
ButtonPerformMove.Location = new Point(706, 50);
|
|
|
|
|
ButtonPerformMove.Name = "ButtonPerformMove";
|
|
|
|
|
ButtonPerformMove.Size = new Size(166, 31);
|
|
|
|
|
ButtonPerformMove.TabIndex = 8;
|
|
|
|
|
ButtonPerformMove.Text = "Сделать шаг";
|
|
|
|
|
ButtonPerformMove.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonPerformMove.Click += ButtonPerformStep_Click;
|
|
|
|
|
//
|
2023-11-18 22:48:03 +04:00
|
|
|
|
// BomberForm
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(884, 461);
|
2023-11-19 00:10:06 +04:00
|
|
|
|
Controls.Add(ButtonPerformMove);
|
|
|
|
|
Controls.Add(ButtonCreateBomber);
|
|
|
|
|
Controls.Add(MovementStrategyComboBox);
|
2023-11-18 22:48:03 +04:00
|
|
|
|
Controls.Add(ButtonUp);
|
|
|
|
|
Controls.Add(ButtonLeft);
|
|
|
|
|
Controls.Add(ButtonDown);
|
|
|
|
|
Controls.Add(ButtonRight);
|
2023-11-19 00:10:06 +04:00
|
|
|
|
Controls.Add(ButtonCreateBomberBase);
|
2023-11-18 22:48:03 +04:00
|
|
|
|
Controls.Add(BomberPictureBox);
|
|
|
|
|
Name = "BomberForm";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Бомбардировщик";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)BomberPictureBox).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private PictureBox BomberPictureBox;
|
2023-11-19 00:10:06 +04:00
|
|
|
|
private Button ButtonCreateBomberBase;
|
2023-11-18 22:48:03 +04:00
|
|
|
|
private Button ButtonRight;
|
|
|
|
|
private Button ButtonDown;
|
|
|
|
|
private Button ButtonLeft;
|
|
|
|
|
private Button ButtonUp;
|
2023-11-19 00:10:06 +04:00
|
|
|
|
private ComboBox MovementStrategyComboBox;
|
|
|
|
|
private Button ButtonCreateBomber;
|
|
|
|
|
private Button ButtonPerformMove;
|
2023-11-18 22:48:03 +04:00
|
|
|
|
}
|
|
|
|
|
}
|