179 lines
7.5 KiB
C#
179 lines
7.5 KiB
C#
namespace ProjectCruiser
|
|
{
|
|
partial class FormCruiser
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormCruiser));
|
|
pictureBoxCruiser = new PictureBox();
|
|
button1 = new Button();
|
|
buttonUp = new Button();
|
|
buttonDown = new Button();
|
|
buttonRight = new Button();
|
|
buttonLeft = new Button();
|
|
comboBoxStrategy = new ComboBox();
|
|
buttonCretaeCruiser = new Button();
|
|
buttonStrategyStep = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCruiser).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBoxCruiser
|
|
//
|
|
pictureBoxCruiser.Dock = DockStyle.Fill;
|
|
pictureBoxCruiser.Location = new Point(0, 0);
|
|
pictureBoxCruiser.Name = "pictureBoxCruiser";
|
|
pictureBoxCruiser.Size = new Size(800, 450);
|
|
pictureBoxCruiser.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
pictureBoxCruiser.TabIndex = 0;
|
|
pictureBoxCruiser.TabStop = false;
|
|
//
|
|
// button1
|
|
//
|
|
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
button1.Location = new Point(12, 409);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(213, 29);
|
|
button1.TabIndex = 1;
|
|
button1.Text = "создать военный крейсер";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += ButtonCreateCruiser_Click;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = (Image)resources.GetObject("buttonUp.BackgroundImage");
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonUp.Location = new Point(722, 373);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(30, 30);
|
|
buttonUp.TabIndex = 2;
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
buttonUp.Click += ButtonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackgroundImage = (Image)resources.GetObject("buttonDown.BackgroundImage");
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonDown.Location = new Point(722, 409);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(30, 30);
|
|
buttonDown.TabIndex = 3;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += ButtonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonRight.Location = new Point(758, 409);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(30, 30);
|
|
buttonRight.TabIndex = 4;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += ButtonMove_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = (Image)resources.GetObject("buttonLeft.BackgroundImage");
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonLeft.Location = new Point(686, 409);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(30, 30);
|
|
buttonLeft.TabIndex = 5;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
//
|
|
// comboBoxStrategy
|
|
//
|
|
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
comboBoxStrategy.Items.AddRange(new object[] { "к центру", "к краю" });
|
|
comboBoxStrategy.Location = new Point(637, 12);
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
comboBoxStrategy.Size = new Size(151, 28);
|
|
comboBoxStrategy.TabIndex = 6;
|
|
//
|
|
// buttonCretaeCruiser
|
|
//
|
|
buttonCretaeCruiser.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCretaeCruiser.Location = new Point(240, 410);
|
|
buttonCretaeCruiser.Name = "buttonCretaeCruiser";
|
|
buttonCretaeCruiser.Size = new Size(213, 29);
|
|
buttonCretaeCruiser.TabIndex = 7;
|
|
buttonCretaeCruiser.Text = "создать крейсер";
|
|
buttonCretaeCruiser.UseVisualStyleBackColor = true;
|
|
buttonCretaeCruiser.Click += buttonCretaeCruiser_Click;
|
|
//
|
|
// buttonStrategyStep
|
|
//
|
|
buttonStrategyStep.Location = new Point(694, 46);
|
|
buttonStrategyStep.Name = "buttonStrategyStep";
|
|
buttonStrategyStep.Size = new Size(94, 29);
|
|
buttonStrategyStep.TabIndex = 8;
|
|
buttonStrategyStep.Text = "шаг";
|
|
buttonStrategyStep.UseVisualStyleBackColor = true;
|
|
buttonStrategyStep.Click += ButtonStrategyStep_Click;
|
|
//
|
|
// FormCruiser
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(buttonStrategyStep);
|
|
Controls.Add(buttonCretaeCruiser);
|
|
Controls.Add(comboBoxStrategy);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(button1);
|
|
Controls.Add(pictureBoxCruiser);
|
|
Name = "FormCruiser";
|
|
Text = "FormCruiser";
|
|
Click += ButtonMove_Click;
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxCruiser).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBoxCruiser;
|
|
private Button button1;
|
|
private Button buttonUp;
|
|
private Button buttonDown;
|
|
private Button buttonRight;
|
|
private Button buttonLeft;
|
|
private ComboBox comboBoxStrategy;
|
|
private Button buttonCretaeCruiser;
|
|
private Button buttonStrategyStep;
|
|
}
|
|
} |