196 lines
8.1 KiB
C#
196 lines
8.1 KiB
C#
namespace RoadTrain
|
|
{
|
|
partial class FormRoadTrain
|
|
{
|
|
/// <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()
|
|
{
|
|
pictureBoxRoadTrain = new PictureBox();
|
|
buttonLeft = new Button();
|
|
buttonUp = new Button();
|
|
buttonRight = new Button();
|
|
buttonDown = new Button();
|
|
comboBoxStrategy = new ComboBox();
|
|
ButtonStep = new Button();
|
|
ButtonCreateTrain = new Button();
|
|
ButtonCreateRoadTrain = new Button();
|
|
ButtonSelectTrain = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxRoadTrain).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBoxRoadTrain
|
|
//
|
|
pictureBoxRoadTrain.Location = new Point(0, 0);
|
|
pictureBoxRoadTrain.Margin = new Padding(3, 4, 3, 4);
|
|
pictureBoxRoadTrain.Name = "pictureBoxRoadTrain";
|
|
pictureBoxRoadTrain.Size = new Size(776, 481);
|
|
pictureBoxRoadTrain.TabIndex = 10;
|
|
pictureBoxRoadTrain.TabStop = false;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = Properties.Resources.left;
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonLeft.Location = new Point(609, 359);
|
|
buttonLeft.Margin = new Padding(3, 4, 3, 4);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(34, 40);
|
|
buttonLeft.TabIndex = 2;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = Properties.Resources.up;
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonUp.Location = new Point(659, 297);
|
|
buttonUp.Margin = new Padding(3, 4, 3, 4);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(34, 40);
|
|
buttonUp.TabIndex = 3;
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
buttonUp.Click += ButtonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = Properties.Resources.right;
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonRight.Location = new Point(709, 359);
|
|
buttonRight.Margin = new Padding(3, 4, 3, 4);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(34, 40);
|
|
buttonRight.TabIndex = 4;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += ButtonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackgroundImage = Properties.Resources.down;
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonDown.Location = new Point(659, 420);
|
|
buttonDown.Margin = new Padding(3, 4, 3, 4);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(34, 40);
|
|
buttonDown.TabIndex = 5;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += ButtonMove_Click;
|
|
//
|
|
// comboBoxStrategy
|
|
//
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
comboBoxStrategy.Items.AddRange(new object[] { "Центр формы", "Граница формы" });
|
|
comboBoxStrategy.Location = new Point(631, 16);
|
|
comboBoxStrategy.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
comboBoxStrategy.Size = new Size(138, 28);
|
|
comboBoxStrategy.TabIndex = 8;
|
|
//
|
|
// ButtonStep
|
|
//
|
|
ButtonStep.Location = new Point(664, 67);
|
|
ButtonStep.Margin = new Padding(3, 4, 3, 4);
|
|
ButtonStep.Name = "ButtonStep";
|
|
ButtonStep.Size = new Size(86, 31);
|
|
ButtonStep.TabIndex = 9;
|
|
ButtonStep.Text = "Шаг";
|
|
ButtonStep.UseVisualStyleBackColor = true;
|
|
ButtonStep.Click += ButtonStep_Click_1;
|
|
//
|
|
// ButtonCreateTrain
|
|
//
|
|
ButtonCreateTrain.Location = new Point(34, 380);
|
|
ButtonCreateTrain.Margin = new Padding(3, 4, 3, 4);
|
|
ButtonCreateTrain.Name = "ButtonCreateTrain";
|
|
ButtonCreateTrain.Size = new Size(131, 80);
|
|
ButtonCreateTrain.TabIndex = 11;
|
|
ButtonCreateTrain.Text = "Создать моющую машину";
|
|
ButtonCreateTrain.UseVisualStyleBackColor = true;
|
|
ButtonCreateTrain.Click += ButtonCreateTrain_Click;
|
|
//
|
|
// ButtonCreateRoadTrain
|
|
//
|
|
ButtonCreateRoadTrain.Location = new Point(206, 380);
|
|
ButtonCreateRoadTrain.Margin = new Padding(3, 4, 3, 4);
|
|
ButtonCreateRoadTrain.Name = "ButtonCreateRoadTrain";
|
|
ButtonCreateRoadTrain.Size = new Size(106, 80);
|
|
ButtonCreateRoadTrain.TabIndex = 12;
|
|
ButtonCreateRoadTrain.Text = "Создать поезд";
|
|
ButtonCreateRoadTrain.UseVisualStyleBackColor = true;
|
|
ButtonCreateRoadTrain.Click += ButtonCreateRoadTrain_Click;
|
|
//
|
|
// ButtonSelectTrain
|
|
//
|
|
ButtonSelectTrain.Location = new Point(648, 125);
|
|
ButtonSelectTrain.Margin = new Padding(3, 4, 3, 4);
|
|
ButtonSelectTrain.Name = "ButtonSelectTrain";
|
|
ButtonSelectTrain.Size = new Size(102, 56);
|
|
ButtonSelectTrain.TabIndex = 13;
|
|
ButtonSelectTrain.Text = "Добавить поезд";
|
|
ButtonSelectTrain.UseVisualStyleBackColor = true;
|
|
ButtonSelectTrain.Click += ButtonSelectTrain_Click;
|
|
//
|
|
// FormRoadTrain
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(776, 484);
|
|
Controls.Add(ButtonSelectTrain);
|
|
Controls.Add(ButtonCreateRoadTrain);
|
|
Controls.Add(ButtonCreateTrain);
|
|
Controls.Add(ButtonStep);
|
|
Controls.Add(comboBoxStrategy);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(pictureBoxRoadTrain);
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
Name = "FormRoadTrain";
|
|
Text = "FormRoadTrain";
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxRoadTrain).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBoxRoadTrain;
|
|
|
|
private Button buttonLeft;
|
|
private Button buttonUp;
|
|
private Button buttonRight;
|
|
private Button buttonDown;
|
|
private ComboBox comboBoxStrategy;
|
|
private Button ButtonStep;
|
|
private Button ButtonCreateTrain;
|
|
private Button ButtonCreateRoadTrain;
|
|
private Button ButtonSelectTrain;
|
|
}
|
|
} |