148 lines
5.4 KiB
C#
148 lines
5.4 KiB
C#
namespace ProjectStormtrooper;
|
||
|
||
partial class FormStormtrooper
|
||
{
|
||
/// <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()
|
||
{
|
||
pictureBoxStormtrooper = new PictureBox();
|
||
buttonLeft = new Button();
|
||
buttonUp = new Button();
|
||
buttonDown = new Button();
|
||
buttonRight = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
buttonStrategyStep = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxStormtrooper).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxStormtrooper
|
||
//
|
||
pictureBoxStormtrooper.Dock = DockStyle.Fill;
|
||
pictureBoxStormtrooper.Location = new Point(0, 0);
|
||
pictureBoxStormtrooper.Name = "pictureBoxStormtrooper";
|
||
pictureBoxStormtrooper.Size = new Size(1268, 518);
|
||
pictureBoxStormtrooper.SizeMode = PictureBoxSizeMode.AutoSize;
|
||
pictureBoxStormtrooper.TabIndex = 0;
|
||
pictureBoxStormtrooper.TabStop = false;
|
||
//
|
||
// buttonLeft
|
||
//
|
||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
||
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonLeft.Location = new Point(787, 550);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(35, 35);
|
||
buttonLeft.TabIndex = 2;
|
||
buttonLeft.UseVisualStyleBackColor = true;
|
||
buttonLeft.Click += ButtonMove_Click;
|
||
//
|
||
// buttonUp
|
||
//
|
||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
||
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonUp.Location = new Point(828, 509);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(35, 35);
|
||
buttonUp.TabIndex = 3;
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += ButtonMove_Click;
|
||
//
|
||
// buttonDown
|
||
//
|
||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
||
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonDown.Location = new Point(828, 550);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(35, 35);
|
||
buttonDown.TabIndex = 4;
|
||
buttonDown.UseVisualStyleBackColor = true;
|
||
buttonDown.Click += ButtonMove_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonRight.Location = new Point(869, 550);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(35, 35);
|
||
buttonRight.TabIndex = 5;
|
||
buttonRight.UseVisualStyleBackColor = true;
|
||
buttonRight.Click += ButtonMove_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
||
comboBoxStrategy.Location = new Point(790, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(121, 23);
|
||
comboBoxStrategy.TabIndex = 7;
|
||
//
|
||
// buttonStrategyStep
|
||
//
|
||
buttonStrategyStep.Location = new Point(836, 41);
|
||
buttonStrategyStep.Name = "buttonStrategyStep";
|
||
buttonStrategyStep.Size = new Size(75, 23);
|
||
buttonStrategyStep.TabIndex = 8;
|
||
buttonStrategyStep.Text = "Шаг";
|
||
buttonStrategyStep.UseVisualStyleBackColor = true;
|
||
buttonStrategyStep.Click += ButtonStrategyStep_Click;
|
||
//
|
||
// FormStormtrooper
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(923, 597);
|
||
Controls.Add(buttonStrategyStep);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(pictureBoxStormtrooper);
|
||
Name = "FormStormtrooper";
|
||
Text = "Штурмовик";
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxStormtrooper).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxStormtrooper;
|
||
private Button buttonLeft;
|
||
private Button buttonUp;
|
||
private Button buttonDown;
|
||
private Button buttonRight;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonStrategyStep;
|
||
}
|
||
|