203 lines
8.7 KiB
C#
203 lines
8.7 KiB
C#
namespace ContainerShip
|
||
{
|
||
partial class FormShips
|
||
{
|
||
/// <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(FormShips));
|
||
pictureBoxShips = new PictureBox();
|
||
buttonCreateContainerShip = new Button();
|
||
buttonCreateShip = new Button();
|
||
buttonRight = new Button();
|
||
buttonDown = new Button();
|
||
buttonLeft = new Button();
|
||
buttonUp = new Button();
|
||
buttonStep = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
button1 = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxShips).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxShips
|
||
//
|
||
pictureBoxShips.Dock = DockStyle.Fill;
|
||
pictureBoxShips.Location = new Point(0, 0);
|
||
pictureBoxShips.Margin = new Padding(3, 2, 3, 2);
|
||
pictureBoxShips.Name = "pictureBoxShips";
|
||
pictureBoxShips.Size = new Size(772, 340);
|
||
pictureBoxShips.SizeMode = PictureBoxSizeMode.AutoSize;
|
||
pictureBoxShips.TabIndex = 0;
|
||
pictureBoxShips.TabStop = false;
|
||
//
|
||
// buttonCreateContainerShip
|
||
//
|
||
buttonCreateContainerShip.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreateContainerShip.Location = new Point(10, 273);
|
||
buttonCreateContainerShip.Margin = new Padding(3, 2, 3, 2);
|
||
buttonCreateContainerShip.Name = "buttonCreateContainerShip";
|
||
buttonCreateContainerShip.Size = new Size(115, 58);
|
||
buttonCreateContainerShip.TabIndex = 1;
|
||
buttonCreateContainerShip.Text = "Создать контейнеровоз";
|
||
buttonCreateContainerShip.UseVisualStyleBackColor = true;
|
||
buttonCreateContainerShip.Click += ButtonCreateContainerShip_Click;
|
||
//
|
||
// buttonCreateShip
|
||
//
|
||
buttonCreateShip.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreateShip.Location = new Point(130, 273);
|
||
buttonCreateShip.Margin = new Padding(3, 2, 3, 2);
|
||
buttonCreateShip.Name = "buttonCreateShip";
|
||
buttonCreateShip.Size = new Size(115, 58);
|
||
buttonCreateShip.TabIndex = 6;
|
||
buttonCreateShip.Text = "Создать корабль";
|
||
buttonCreateShip.UseVisualStyleBackColor = true;
|
||
buttonCreateShip.Click += ButtonCreateShip_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonRight.Location = new Point(735, 308);
|
||
buttonRight.Margin = new Padding(3, 2, 3, 2);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(26, 22);
|
||
buttonRight.TabIndex = 2;
|
||
buttonRight.UseVisualStyleBackColor = true;
|
||
buttonRight.Click += buttonMove_Click;
|
||
//
|
||
// buttonDown
|
||
//
|
||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonDown.BackgroundImage = (Image)resources.GetObject("buttonDown.BackgroundImage");
|
||
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonDown.Location = new Point(704, 308);
|
||
buttonDown.Margin = new Padding(3, 2, 3, 2);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(26, 22);
|
||
buttonDown.TabIndex = 3;
|
||
buttonDown.UseVisualStyleBackColor = true;
|
||
buttonDown.Click += buttonMove_Click;
|
||
//
|
||
// buttonLeft
|
||
//
|
||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonLeft.BackgroundImage = (Image)resources.GetObject("buttonLeft.BackgroundImage");
|
||
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonLeft.Location = new Point(672, 308);
|
||
buttonLeft.Margin = new Padding(3, 2, 3, 2);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(26, 22);
|
||
buttonLeft.TabIndex = 4;
|
||
buttonLeft.UseVisualStyleBackColor = true;
|
||
buttonLeft.Click += buttonMove_Click;
|
||
//
|
||
// buttonUp
|
||
//
|
||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonUp.BackgroundImage = (Image)resources.GetObject("buttonUp.BackgroundImage");
|
||
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonUp.Location = new Point(704, 281);
|
||
buttonUp.Margin = new Padding(3, 2, 3, 2);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(26, 22);
|
||
buttonUp.TabIndex = 5;
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += buttonMove_Click;
|
||
//
|
||
// buttonStep
|
||
//
|
||
buttonStep.Location = new Point(638, 34);
|
||
buttonStep.Margin = new Padding(3, 2, 3, 2);
|
||
buttonStep.Name = "buttonStep";
|
||
buttonStep.Size = new Size(112, 23);
|
||
buttonStep.TabIndex = 8;
|
||
buttonStep.Text = "Шаг";
|
||
buttonStep.UseVisualStyleBackColor = true;
|
||
buttonStep.Click += ButtonStep_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К правому нижнему краю" });
|
||
comboBoxStrategy.Location = new Point(622, 9);
|
||
comboBoxStrategy.Margin = new Padding(3, 2, 3, 2);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(140, 23);
|
||
comboBoxStrategy.TabIndex = 7;
|
||
//
|
||
// button1
|
||
//
|
||
button1.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
button1.Location = new Point(251, 273);
|
||
button1.Margin = new Padding(3, 2, 3, 2);
|
||
button1.Name = "button1";
|
||
button1.Size = new Size(115, 58);
|
||
button1.TabIndex = 9;
|
||
button1.Text = "Выбрать корабль";
|
||
button1.UseVisualStyleBackColor = true;
|
||
button1.Click += buttonSelectedContainerShip_Click;
|
||
//
|
||
// FormShips
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(772, 340);
|
||
Controls.Add(button1);
|
||
Controls.Add(buttonStep);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonCreateShip);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonCreateContainerShip);
|
||
Controls.Add(pictureBoxShips);
|
||
Margin = new Padding(3, 2, 3, 2);
|
||
Name = "FormShips";
|
||
StartPosition = FormStartPosition.CenterScreen;
|
||
Text = "ContainerShip";
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxShips).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxShips;
|
||
private Button buttonCreateContainerShip;
|
||
private Button buttonCreateShip;
|
||
private Button buttonRight;
|
||
private Button buttonDown;
|
||
private Button buttonLeft;
|
||
private Button buttonUp;
|
||
private Button buttonStep;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button button1;
|
||
}
|
||
} |