2024-04-18 13:11:34 +04:00
|
|
|
|
namespace lab1
|
|
|
|
|
{
|
|
|
|
|
partial class FormFighter
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
pictureBoxFighter = new PictureBox();
|
|
|
|
|
buttonCreate = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonRight = new Button();
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonCreateTrackedVehicle = new Button();
|
2024-04-18 13:11:34 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxFighter).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxFighter
|
|
|
|
|
//
|
|
|
|
|
pictureBoxFighter.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxFighter.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxFighter.Name = "pictureBoxFighter";
|
|
|
|
|
pictureBoxFighter.Size = new Size(1015, 584);
|
|
|
|
|
pictureBoxFighter.TabIndex = 0;
|
|
|
|
|
pictureBoxFighter.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreate
|
|
|
|
|
//
|
|
|
|
|
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreate.Location = new Point(12, 538);
|
|
|
|
|
buttonCreate.Name = "buttonCreate";
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonCreate.Size = new Size(226, 34);
|
2024-04-18 13:11:34 +04:00
|
|
|
|
buttonCreate.TabIndex = 1;
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonCreate.Text = "создать истребитель";
|
2024-04-18 13:11:34 +04:00
|
|
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonCreate.Click += ButtonCreate_Click;
|
2024-04-18 13:11:34 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackColor = SystemColors.Control;
|
|
|
|
|
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonLeft.Location = new Point(796, 505);
|
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(52, 52);
|
|
|
|
|
buttonLeft.TabIndex = 2;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = false;
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonLeft.Click += ButtonMove_Click;
|
2024-04-18 13:11:34 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackColor = SystemColors.Control;
|
|
|
|
|
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonDown.Location = new Point(854, 505);
|
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(52, 52);
|
|
|
|
|
buttonDown.TabIndex = 3;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = false;
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonDown.Click += ButtonMove_Click;
|
2024-04-18 13:11:34 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackColor = SystemColors.Control;
|
|
|
|
|
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonUp.Location = new Point(854, 447);
|
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(52, 52);
|
|
|
|
|
buttonUp.TabIndex = 4;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = false;
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonUp.Click += ButtonMove_Click;
|
2024-04-18 13:11:34 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackColor = SystemColors.Control;
|
|
|
|
|
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
|
|
|
|
buttonRight.Location = new Point(912, 505);
|
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(52, 52);
|
|
|
|
|
buttonRight.TabIndex = 5;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = false;
|
2024-04-24 09:28:37 +04:00
|
|
|
|
buttonRight.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateTrackedVehicle
|
|
|
|
|
//
|
|
|
|
|
buttonCreateTrackedVehicle.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreateTrackedVehicle.Location = new Point(234, 538);
|
|
|
|
|
buttonCreateTrackedVehicle.Name = "buttonCreateTrackedVehicle";
|
|
|
|
|
buttonCreateTrackedVehicle.Size = new Size(264, 34);
|
|
|
|
|
buttonCreateTrackedVehicle.TabIndex = 6;
|
|
|
|
|
buttonCreateTrackedVehicle.Text = "создать гусеничную машину";
|
|
|
|
|
buttonCreateTrackedVehicle.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateTrackedVehicle.Click += ButtonCreateTrackedVehicle_Click;
|
2024-04-18 13:11:34 +04:00
|
|
|
|
//
|
|
|
|
|
// FormFighter
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1015, 584);
|
2024-04-24 09:28:37 +04:00
|
|
|
|
Controls.Add(buttonCreateTrackedVehicle);
|
2024-04-18 13:11:34 +04:00
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonCreate);
|
|
|
|
|
Controls.Add(pictureBoxFighter);
|
|
|
|
|
Name = "FormFighter";
|
|
|
|
|
Text = "Истребитель";
|
|
|
|
|
Load += FormFighter_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxFighter).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private PictureBox pictureBoxFighter;
|
|
|
|
|
private Button buttonCreate;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonDown;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonRight;
|
2024-04-24 09:28:37 +04:00
|
|
|
|
private Button buttonCreateTrackedVehicle;
|
2024-04-18 13:11:34 +04:00
|
|
|
|
}
|
|
|
|
|
}
|