180 lines
7.5 KiB
C#
180 lines
7.5 KiB
C#
namespace WarmlyShip
|
||
{
|
||
partial class FormWarmlyShip
|
||
{
|
||
/// <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()
|
||
{
|
||
pictureBoxWarmlyShip = new PictureBox();
|
||
buttonLeft = new Button();
|
||
buttonRight = new Button();
|
||
buttonUp = new Button();
|
||
buttonDown = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
buttonCreateShip = new Button();
|
||
buttonStep = new Button();
|
||
buttonCreateWarmlyShip = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyShip).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxWarmlyShip
|
||
//
|
||
pictureBoxWarmlyShip.Dock = DockStyle.Fill;
|
||
pictureBoxWarmlyShip.Location = new Point(0, 0);
|
||
pictureBoxWarmlyShip.Name = "pictureBoxWarmlyShip";
|
||
pictureBoxWarmlyShip.Size = new Size(884, 461);
|
||
pictureBoxWarmlyShip.SizeMode = PictureBoxSizeMode.AutoSize;
|
||
pictureBoxWarmlyShip.TabIndex = 0;
|
||
pictureBoxWarmlyShip.TabStop = false;
|
||
//
|
||
// buttonLeft
|
||
//
|
||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonLeft.BackgroundImage = Properties.Resources.влево;
|
||
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonLeft.Location = new Point(770, 419);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(30, 30);
|
||
buttonLeft.TabIndex = 2;
|
||
buttonLeft.UseVisualStyleBackColor = true;
|
||
buttonLeft.Click += ButtonMove_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonRight.BackgroundImage = Properties.Resources.вправо;
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonRight.Location = new Point(842, 419);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(30, 30);
|
||
buttonRight.TabIndex = 3;
|
||
buttonRight.UseVisualStyleBackColor = true;
|
||
buttonRight.Click += ButtonMove_Click;
|
||
//
|
||
// buttonUp
|
||
//
|
||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonUp.BackgroundImage = Properties.Resources.вверх;
|
||
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonUp.Location = new Point(806, 383);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(30, 30);
|
||
buttonUp.TabIndex = 4;
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += ButtonMove_Click;
|
||
//
|
||
// buttonDown
|
||
//
|
||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonDown.BackgroundImage = Properties.Resources.вниз;
|
||
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
||
buttonDown.Location = new Point(806, 419);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(30, 30);
|
||
buttonDown.TabIndex = 5;
|
||
buttonDown.UseVisualStyleBackColor = true;
|
||
buttonDown.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(751, 24);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(121, 23);
|
||
comboBoxStrategy.TabIndex = 6;
|
||
//
|
||
// buttonCreateShip
|
||
//
|
||
buttonCreateShip.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreateShip.Location = new Point(108, 407);
|
||
buttonCreateShip.Name = "buttonCreateShip";
|
||
buttonCreateShip.Size = new Size(80, 42);
|
||
buttonCreateShip.TabIndex = 7;
|
||
buttonCreateShip.Text = "Создать корабль";
|
||
buttonCreateShip.UseVisualStyleBackColor = true;
|
||
buttonCreateShip.Click += buttonCreateShip_Click;
|
||
//
|
||
// buttonStep
|
||
//
|
||
buttonStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
buttonStep.Location = new Point(797, 53);
|
||
buttonStep.Name = "buttonStep";
|
||
buttonStep.Size = new Size(75, 23);
|
||
buttonStep.TabIndex = 8;
|
||
buttonStep.Text = "Шаг";
|
||
buttonStep.UseVisualStyleBackColor = true;
|
||
buttonStep.Click += buttonStep_Click;
|
||
//
|
||
// buttonCreateWarmlyShip
|
||
//
|
||
buttonCreateWarmlyShip.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||
buttonCreateWarmlyShip.Location = new Point(12, 407);
|
||
buttonCreateWarmlyShip.Name = "buttonCreateWarmlyShip";
|
||
buttonCreateWarmlyShip.Size = new Size(80, 42);
|
||
buttonCreateWarmlyShip.TabIndex = 9;
|
||
buttonCreateWarmlyShip.Text = "Создать теплоход";
|
||
buttonCreateWarmlyShip.UseVisualStyleBackColor = true;
|
||
buttonCreateWarmlyShip.Click += buttonCreateWarmlyShip_Click;
|
||
//
|
||
// FormWarmlyShip
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(884, 461);
|
||
Controls.Add(buttonCreateWarmlyShip);
|
||
Controls.Add(buttonStep);
|
||
Controls.Add(buttonCreateShip);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(pictureBoxWarmlyShip);
|
||
Name = "FormWarmlyShip";
|
||
StartPosition = FormStartPosition.CenterScreen;
|
||
Text = "Теплоход";
|
||
Click += ButtonMove_Click;
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxWarmlyShip).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxWarmlyShip;
|
||
private Button buttonLeft;
|
||
private Button buttonRight;
|
||
private Button buttonUp;
|
||
private Button buttonDown;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonCreateShip;
|
||
private Button buttonStep;
|
||
private Button buttonCreateWarmlyShip;
|
||
}
|
||
} |