2023-10-05 21:52:23 +04:00
|
|
|
|
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();
|
2023-10-06 21:35:14 +04:00
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
ButtonStep = new Button();
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonCreateTrain = new Button();
|
|
|
|
|
ButtonCreateRoadTrain = new Button();
|
|
|
|
|
ButtonSelectTrain = new Button();
|
2023-10-05 21:52:23 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxRoadTrain).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxRoadTrain
|
|
|
|
|
//
|
|
|
|
|
pictureBoxRoadTrain.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxRoadTrain.Name = "pictureBoxRoadTrain";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
pictureBoxRoadTrain.Size = new Size(685, 361);
|
2023-10-06 21:35:14 +04:00
|
|
|
|
pictureBoxRoadTrain.TabIndex = 10;
|
2023-10-05 21:52:23 +04:00
|
|
|
|
pictureBoxRoadTrain.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackgroundImage = Properties.Resources.left;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonLeft.Location = new Point(533, 269);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonLeft.Size = new Size(30, 30);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
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;
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonUp.Location = new Point(577, 223);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonUp.Name = "buttonUp";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonUp.Size = new Size(30, 30);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
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;
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonRight.Location = new Point(620, 269);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonRight.Name = "buttonRight";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonRight.Size = new Size(30, 30);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
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;
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonDown.Location = new Point(577, 315);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonDown.Name = "buttonDown";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
buttonDown.Size = new Size(30, 30);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonDown.TabIndex = 5;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += ButtonMove_Click;
|
|
|
|
|
//
|
2023-10-06 21:35:14 +04:00
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "Центр формы", "Граница формы" });
|
2023-11-23 00:09:21 +04:00
|
|
|
|
comboBoxStrategy.Location = new Point(552, 12);
|
2023-10-06 21:35:14 +04:00
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
comboBoxStrategy.Size = new Size(121, 23);
|
2023-10-06 21:35:14 +04:00
|
|
|
|
comboBoxStrategy.TabIndex = 8;
|
|
|
|
|
//
|
|
|
|
|
// ButtonStep
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonStep.Location = new Point(581, 50);
|
2023-10-06 21:35:14 +04:00
|
|
|
|
ButtonStep.Name = "ButtonStep";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonStep.Size = new Size(75, 23);
|
2023-10-06 21:35:14 +04:00
|
|
|
|
ButtonStep.TabIndex = 9;
|
|
|
|
|
ButtonStep.Text = "Шаг";
|
|
|
|
|
ButtonStep.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonStep.Click += ButtonStep_Click_1;
|
|
|
|
|
//
|
2023-10-10 22:08:33 +04:00
|
|
|
|
// ButtonCreateTrain
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonCreateTrain.Location = new Point(30, 285);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonCreateTrain.Name = "ButtonCreateTrain";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonCreateTrain.Size = new Size(115, 60);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonCreateTrain.TabIndex = 11;
|
|
|
|
|
ButtonCreateTrain.Text = "Создать моющую машину";
|
|
|
|
|
ButtonCreateTrain.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonCreateTrain.Click += ButtonCreateTrain_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonCreateRoadTrain
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonCreateRoadTrain.Location = new Point(180, 285);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonCreateRoadTrain.Name = "ButtonCreateRoadTrain";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonCreateRoadTrain.Size = new Size(93, 60);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonCreateRoadTrain.TabIndex = 12;
|
|
|
|
|
ButtonCreateRoadTrain.Text = "Создать поезд";
|
|
|
|
|
ButtonCreateRoadTrain.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonCreateRoadTrain.Click += ButtonCreateRoadTrain_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonSelectTrain
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonSelectTrain.Location = new Point(567, 94);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonSelectTrain.Name = "ButtonSelectTrain";
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ButtonSelectTrain.Size = new Size(89, 42);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
ButtonSelectTrain.TabIndex = 13;
|
|
|
|
|
ButtonSelectTrain.Text = "Добавить поезд";
|
|
|
|
|
ButtonSelectTrain.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonSelectTrain.Click += ButtonSelectTrain_Click;
|
|
|
|
|
//
|
2023-10-05 21:52:23 +04:00
|
|
|
|
// FormRoadTrain
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-11-23 00:09:21 +04:00
|
|
|
|
ClientSize = new Size(679, 363);
|
2023-10-10 22:08:33 +04:00
|
|
|
|
Controls.Add(ButtonSelectTrain);
|
|
|
|
|
Controls.Add(ButtonCreateRoadTrain);
|
|
|
|
|
Controls.Add(ButtonCreateTrain);
|
2023-10-06 21:35:14 +04:00
|
|
|
|
Controls.Add(ButtonStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(pictureBoxRoadTrain);
|
|
|
|
|
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;
|
2023-10-06 21:35:14 +04:00
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button ButtonStep;
|
2023-10-10 22:08:33 +04:00
|
|
|
|
private Button ButtonCreateTrain;
|
|
|
|
|
private Button ButtonCreateRoadTrain;
|
|
|
|
|
private Button ButtonSelectTrain;
|
2023-10-05 21:52:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|