152 lines
6.1 KiB
C#
152 lines
6.1 KiB
C#
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();
|
||
buttonLeft = new Button();
|
||
buttonDown = new Button();
|
||
buttonUp = new Button();
|
||
buttonRight = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
buttonStrategyStep = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxFighter).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxFighter
|
||
//
|
||
pictureBoxFighter.Dock = DockStyle.Fill;
|
||
pictureBoxFighter.Location = new Point(0, 0);
|
||
pictureBoxFighter.Name = "pictureBoxFighter";
|
||
pictureBoxFighter.Size = new Size(1164, 584);
|
||
pictureBoxFighter.TabIndex = 0;
|
||
pictureBoxFighter.TabStop = false;
|
||
pictureBoxFighter.Click += pictureBoxFighter_Click;
|
||
//
|
||
// buttonLeft
|
||
//
|
||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonLeft.BackColor = SystemColors.Control;
|
||
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
||
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonLeft.Location = new Point(945, 505);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(52, 52);
|
||
buttonLeft.TabIndex = 2;
|
||
buttonLeft.UseVisualStyleBackColor = false;
|
||
buttonLeft.Click += ButtonMove_Click;
|
||
//
|
||
// buttonDown
|
||
//
|
||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonDown.BackColor = SystemColors.Control;
|
||
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
||
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonDown.Location = new Point(1003, 505);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(52, 52);
|
||
buttonDown.TabIndex = 3;
|
||
buttonDown.UseVisualStyleBackColor = false;
|
||
buttonDown.Click += ButtonMove_Click;
|
||
//
|
||
// buttonUp
|
||
//
|
||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonUp.BackColor = SystemColors.Control;
|
||
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
||
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonUp.Location = new Point(1003, 447);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(52, 52);
|
||
buttonUp.TabIndex = 4;
|
||
buttonUp.UseVisualStyleBackColor = false;
|
||
buttonUp.Click += ButtonMove_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonRight.BackColor = SystemColors.Control;
|
||
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonRight.Location = new Point(1061, 505);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(52, 52);
|
||
buttonRight.TabIndex = 5;
|
||
buttonRight.UseVisualStyleBackColor = false;
|
||
buttonRight.Click += ButtonMove_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
||
comboBoxStrategy.Location = new Point(970, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(182, 33);
|
||
comboBoxStrategy.TabIndex = 7;
|
||
//
|
||
// buttonStrategyStep
|
||
//
|
||
buttonStrategyStep.Location = new Point(1040, 51);
|
||
buttonStrategyStep.Name = "buttonStrategyStep";
|
||
buttonStrategyStep.Size = new Size(112, 34);
|
||
buttonStrategyStep.TabIndex = 8;
|
||
buttonStrategyStep.Text = "Шаг";
|
||
buttonStrategyStep.UseVisualStyleBackColor = true;
|
||
buttonStrategyStep.Click += button1_Click;
|
||
//
|
||
// FormFighter
|
||
//
|
||
AutoScaleDimensions = new SizeF(10F, 25F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(1164, 584);
|
||
Controls.Add(buttonStrategyStep);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(pictureBoxFighter);
|
||
Name = "FormFighter";
|
||
Text = "Истребитель";
|
||
Load += FormFighter_Load;
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxFighter).EndInit();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxFighter;
|
||
private Button buttonLeft;
|
||
private Button buttonDown;
|
||
private Button buttonUp;
|
||
private Button buttonRight;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonStrategyStep;
|
||
}
|
||
} |