177 lines
7.5 KiB
C#
177 lines
7.5 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();
|
||
buttonRight = new Button();
|
||
buttonDown = new Button();
|
||
buttonLeft = new Button();
|
||
buttonUp = new Button();
|
||
buttonCreateShip = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
buttonStep = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxShips).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxShips
|
||
//
|
||
pictureBoxShips.Dock = DockStyle.Fill;
|
||
pictureBoxShips.Location = new Point(0, 0);
|
||
pictureBoxShips.Name = "pictureBoxShips";
|
||
pictureBoxShips.Size = new Size(882, 453);
|
||
pictureBoxShips.SizeMode = PictureBoxSizeMode.AutoSize;
|
||
pictureBoxShips.TabIndex = 0;
|
||
pictureBoxShips.TabStop = false;
|
||
//
|
||
// buttonCreateContainerShip
|
||
//
|
||
buttonCreateContainerShip.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreateContainerShip.Location = new Point(12, 364);
|
||
buttonCreateContainerShip.Name = "buttonCreateContainerShip";
|
||
buttonCreateContainerShip.Size = new Size(131, 77);
|
||
buttonCreateContainerShip.TabIndex = 1;
|
||
buttonCreateContainerShip.Text = "Создать контейнеровоз";
|
||
buttonCreateContainerShip.UseVisualStyleBackColor = true;
|
||
buttonCreateContainerShip.Click += ButtonCreateContainerShip_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonRight.Location = new Point(840, 411);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(30, 30);
|
||
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(804, 411);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(30, 30);
|
||
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(768, 411);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(30, 30);
|
||
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(804, 375);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(30, 30);
|
||
buttonUp.TabIndex = 5;
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += buttonMove_Click;
|
||
//
|
||
// buttonCreateShip
|
||
//
|
||
buttonCreateShip.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreateShip.Location = new Point(149, 364);
|
||
buttonCreateShip.Name = "buttonCreateShip";
|
||
buttonCreateShip.Size = new Size(131, 77);
|
||
buttonCreateShip.TabIndex = 6;
|
||
buttonCreateShip.Text = "Создать корабль";
|
||
buttonCreateShip.UseVisualStyleBackColor = true;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К правому нижнему краю" });
|
||
comboBoxStrategy.Location = new Point(711, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(159, 28);
|
||
comboBoxStrategy.TabIndex = 7;
|
||
//
|
||
// buttonStep
|
||
//
|
||
buttonStep.Location = new Point(729, 46);
|
||
buttonStep.Name = "buttonStep";
|
||
buttonStep.Size = new Size(128, 31);
|
||
buttonStep.TabIndex = 8;
|
||
buttonStep.Text = "Шаг";
|
||
buttonStep.UseVisualStyleBackColor = true;
|
||
buttonStep.Click += ButtonStep_Click;
|
||
//
|
||
// FormShips
|
||
//
|
||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(882, 453);
|
||
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);
|
||
Name = "FormShips";
|
||
StartPosition = FormStartPosition.CenterScreen;
|
||
Text = "ContainerShip";
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxShips).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxShips;
|
||
private Button buttonCreateContainerShip;
|
||
private Button buttonRight;
|
||
private Button buttonDown;
|
||
private Button buttonLeft;
|
||
private Button buttonUp;
|
||
private Button buttonCreateShip;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonStep;
|
||
}
|
||
} |