2024-02-27 13:03:57 +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()
|
|
|
|
|
{
|
2024-04-09 13:54:43 +04:00
|
|
|
|
ButtonRight = new Button();
|
|
|
|
|
ButtonUp = new Button();
|
|
|
|
|
ButtonLeft = new Button();
|
|
|
|
|
ButtonDown = new Button();
|
|
|
|
|
pictureBoxAirBomber = new PictureBox();
|
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
buttonStrategyStep = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxAirBomber).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-27 13:03:57 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonRight
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
ButtonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
ButtonRight.BackgroundImage = Properties.Resources.arrowRight;
|
|
|
|
|
ButtonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
ButtonRight.Location = new Point(792, 420);
|
|
|
|
|
ButtonRight.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonRight.Name = "ButtonRight";
|
|
|
|
|
ButtonRight.Size = new Size(44, 36);
|
|
|
|
|
ButtonRight.TabIndex = 1;
|
|
|
|
|
ButtonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRight.Click += ButtonMove_Click;
|
2024-02-27 13:03:57 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonUp
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
ButtonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
ButtonUp.BackgroundImage = Properties.Resources.arrowUp;
|
|
|
|
|
ButtonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
ButtonUp.Location = new Point(743, 380);
|
|
|
|
|
ButtonUp.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonUp.Name = "ButtonUp";
|
|
|
|
|
ButtonUp.Size = new Size(44, 36);
|
|
|
|
|
ButtonUp.TabIndex = 2;
|
|
|
|
|
ButtonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonUp.Click += ButtonMove_Click;
|
2024-02-27 13:03:57 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonLeft
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
ButtonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
ButtonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
|
|
|
|
ButtonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
ButtonLeft.Location = new Point(694, 420);
|
|
|
|
|
ButtonLeft.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonLeft.Name = "ButtonLeft";
|
|
|
|
|
ButtonLeft.Size = new Size(44, 36);
|
|
|
|
|
ButtonLeft.TabIndex = 3;
|
|
|
|
|
ButtonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonLeft.Click += ButtonMove_Click;
|
2024-02-27 13:03:57 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonDown
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
ButtonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
ButtonDown.BackgroundImage = Properties.Resources.arrowDown;
|
|
|
|
|
ButtonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
ButtonDown.Location = new Point(743, 420);
|
|
|
|
|
ButtonDown.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
ButtonDown.Name = "ButtonDown";
|
|
|
|
|
ButtonDown.Size = new Size(44, 36);
|
|
|
|
|
ButtonDown.TabIndex = 4;
|
|
|
|
|
ButtonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonDown.Click += ButtonMove_Click;
|
2024-02-27 13:03:57 +04:00
|
|
|
|
//
|
|
|
|
|
// pictureBoxAirBomber
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
pictureBoxAirBomber.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxAirBomber.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxAirBomber.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
pictureBoxAirBomber.Name = "pictureBoxAirBomber";
|
|
|
|
|
pictureBoxAirBomber.Size = new Size(846, 466);
|
|
|
|
|
pictureBoxAirBomber.TabIndex = 5;
|
|
|
|
|
pictureBoxAirBomber.TabStop = false;
|
2024-03-12 13:36:12 +04:00
|
|
|
|
//
|
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "К центру ", "К краю" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(704, 9);
|
|
|
|
|
comboBoxStrategy.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(133, 23);
|
|
|
|
|
comboBoxStrategy.TabIndex = 7;
|
2024-03-12 13:36:12 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonStrategyStep
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
buttonStrategyStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonStrategyStep.Location = new Point(704, 56);
|
|
|
|
|
buttonStrategyStep.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonStrategyStep.Name = "buttonStrategyStep";
|
|
|
|
|
buttonStrategyStep.Size = new Size(82, 22);
|
|
|
|
|
buttonStrategyStep.TabIndex = 8;
|
|
|
|
|
buttonStrategyStep.Text = "Шаг";
|
|
|
|
|
buttonStrategyStep.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonStrategyStep.Click += buttonStrategyStep_Click;
|
2024-02-27 13:03:57 +04:00
|
|
|
|
//
|
|
|
|
|
// FormAirBomber
|
|
|
|
|
//
|
2024-04-09 13:54:43 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(846, 466);
|
|
|
|
|
Controls.Add(buttonStrategyStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
|
|
|
|
Controls.Add(ButtonDown);
|
|
|
|
|
Controls.Add(ButtonLeft);
|
|
|
|
|
Controls.Add(ButtonUp);
|
|
|
|
|
Controls.Add(ButtonRight);
|
|
|
|
|
Controls.Add(pictureBoxAirBomber);
|
|
|
|
|
Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
Name = "FormAirBomber";
|
|
|
|
|
Text = "AirBomber";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxAirBomber).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
2024-02-27 13:03:57 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private Button ButtonRight;
|
|
|
|
|
private Button ButtonUp;
|
|
|
|
|
private Button ButtonLeft;
|
|
|
|
|
private Button ButtonDown;
|
|
|
|
|
private PictureBox pictureBoxAirBomber;
|
2024-03-12 13:36:12 +04:00
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button buttonStrategyStep;
|
2024-02-27 13:03:57 +04:00
|
|
|
|
}
|
|
|
|
|
}
|