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();
|
|
|
|
|
buttonCreate = new Button();
|
2023-10-06 21:35:14 +04:00
|
|
|
|
button1 = new Button();
|
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
ButtonStep = 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-10-06 21:35:14 +04:00
|
|
|
|
pictureBoxRoadTrain.Size = new Size(685, 361);
|
|
|
|
|
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-10-06 21:35:14 +04:00
|
|
|
|
buttonLeft.Location = new Point(533, 269);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(30, 30);
|
|
|
|
|
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-10-06 21:35:14 +04:00
|
|
|
|
buttonUp.Location = new Point(577, 223);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(30, 30);
|
|
|
|
|
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-10-06 21:35:14 +04:00
|
|
|
|
buttonRight.Location = new Point(620, 269);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(30, 30);
|
|
|
|
|
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-10-06 21:35:14 +04:00
|
|
|
|
buttonDown.Location = new Point(577, 315);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(30, 30);
|
|
|
|
|
buttonDown.TabIndex = 5;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreate
|
|
|
|
|
//
|
|
|
|
|
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
2023-10-06 21:35:14 +04:00
|
|
|
|
buttonCreate.Location = new Point(82, 236);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonCreate.Name = "buttonCreate";
|
2023-10-06 21:35:14 +04:00
|
|
|
|
buttonCreate.Size = new Size(107, 38);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonCreate.TabIndex = 6;
|
2023-10-06 21:35:14 +04:00
|
|
|
|
buttonCreate.Text = "создать грузовик";
|
2023-10-05 21:52:23 +04:00
|
|
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreate.Click += buttonCreate_Click;
|
|
|
|
|
//
|
2023-10-06 21:35:14 +04:00
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
button1.Location = new Point(82, 289);
|
|
|
|
|
button1.Name = "button1";
|
|
|
|
|
button1.Size = new Size(107, 55);
|
|
|
|
|
button1.TabIndex = 7;
|
|
|
|
|
button1.Text = "создать очистительную машину";
|
|
|
|
|
button1.UseVisualStyleBackColor = true;
|
|
|
|
|
button1.Click += button1_Click;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "Центр формы", "Граница формы" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(552, 12);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(121, 23);
|
|
|
|
|
comboBoxStrategy.TabIndex = 8;
|
|
|
|
|
//
|
|
|
|
|
// ButtonStep
|
|
|
|
|
//
|
|
|
|
|
ButtonStep.Location = new Point(581, 50);
|
|
|
|
|
ButtonStep.Name = "ButtonStep";
|
|
|
|
|
ButtonStep.Size = new Size(75, 23);
|
|
|
|
|
ButtonStep.TabIndex = 9;
|
|
|
|
|
ButtonStep.Text = "Шаг";
|
|
|
|
|
ButtonStep.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonStep.Click += ButtonStep_Click_1;
|
|
|
|
|
//
|
2023-10-05 21:52:23 +04:00
|
|
|
|
// FormRoadTrain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-10-06 21:35:14 +04:00
|
|
|
|
ClientSize = new Size(679, 363);
|
|
|
|
|
Controls.Add(ButtonStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
|
|
|
|
Controls.Add(button1);
|
2023-10-05 21:52:23 +04:00
|
|
|
|
Controls.Add(buttonCreate);
|
|
|
|
|
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;
|
|
|
|
|
private Button buttonCreate;
|
2023-10-06 21:35:14 +04:00
|
|
|
|
private Button button1;
|
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button ButtonStep;
|
2023-10-05 21:52:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|