2023-11-09 16:01:40 +04:00
|
|
|
|
namespace RoadTrain
|
|
|
|
|
{
|
|
|
|
|
partial class FormTrainConfig
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
groupBox1 = new GroupBox();
|
|
|
|
|
labelModifiedObject = new Label();
|
|
|
|
|
labelSimpleObject = new Label();
|
|
|
|
|
groupBox2 = new GroupBox();
|
|
|
|
|
panelWhite = new Panel();
|
|
|
|
|
panelGray = new Panel();
|
|
|
|
|
panelBlack = new Panel();
|
|
|
|
|
panelPurple = new Panel();
|
|
|
|
|
panelYellow = new Panel();
|
|
|
|
|
panelBlue = new Panel();
|
|
|
|
|
panelGreen = new Panel();
|
|
|
|
|
panelRed = new Panel();
|
|
|
|
|
checkBoxSweepingBrush = new CheckBox();
|
|
|
|
|
checkBoxWaterContainer = new CheckBox();
|
|
|
|
|
numericUpDownWeight = new NumericUpDown();
|
|
|
|
|
numericUpDownSpeed = new NumericUpDown();
|
|
|
|
|
labelWeight = new Label();
|
|
|
|
|
labelSpeed = new Label();
|
|
|
|
|
pictureBoxObject = new PictureBox();
|
|
|
|
|
panelObject = new Panel();
|
|
|
|
|
labelAdditionalColor = new Label();
|
|
|
|
|
labelColor = new Label();
|
|
|
|
|
ButtonOk = new Button();
|
|
|
|
|
ButtonCancel = new Button();
|
|
|
|
|
groupBox1.SuspendLayout();
|
|
|
|
|
groupBox2.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
|
|
|
|
panelObject.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
groupBox1.Controls.Add(labelModifiedObject);
|
|
|
|
|
groupBox1.Controls.Add(labelSimpleObject);
|
|
|
|
|
groupBox1.Controls.Add(groupBox2);
|
|
|
|
|
groupBox1.Controls.Add(checkBoxSweepingBrush);
|
|
|
|
|
groupBox1.Controls.Add(checkBoxWaterContainer);
|
|
|
|
|
groupBox1.Controls.Add(numericUpDownWeight);
|
|
|
|
|
groupBox1.Controls.Add(numericUpDownSpeed);
|
|
|
|
|
groupBox1.Controls.Add(labelWeight);
|
|
|
|
|
groupBox1.Controls.Add(labelSpeed);
|
|
|
|
|
groupBox1.Location = new Point(14, 16);
|
|
|
|
|
groupBox1.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
groupBox1.Name = "groupBox1";
|
|
|
|
|
groupBox1.Padding = new Padding(3, 4, 3, 4);
|
|
|
|
|
groupBox1.Size = new Size(677, 309);
|
|
|
|
|
groupBox1.TabIndex = 0;
|
|
|
|
|
groupBox1.TabStop = false;
|
|
|
|
|
groupBox1.Text = "Параметры";
|
|
|
|
|
//
|
|
|
|
|
// labelModifiedObject
|
|
|
|
|
//
|
|
|
|
|
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelModifiedObject.Location = new Point(525, 221);
|
|
|
|
|
labelModifiedObject.Name = "labelModifiedObject";
|
|
|
|
|
labelModifiedObject.Size = new Size(107, 46);
|
|
|
|
|
labelModifiedObject.TabIndex = 8;
|
|
|
|
|
labelModifiedObject.Text = "Продвинутый";
|
|
|
|
|
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelModifiedObject.MouseDown += LabelObject_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// labelSimpleObject
|
|
|
|
|
//
|
|
|
|
|
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelSimpleObject.Location = new Point(403, 221);
|
|
|
|
|
labelSimpleObject.Name = "labelSimpleObject";
|
|
|
|
|
labelSimpleObject.Size = new Size(100, 46);
|
|
|
|
|
labelSimpleObject.TabIndex = 7;
|
|
|
|
|
labelSimpleObject.Text = "Простой";
|
|
|
|
|
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelSimpleObject.UseCompatibleTextRendering = true;
|
|
|
|
|
labelSimpleObject.MouseDown += LabelObject_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// groupBox2
|
|
|
|
|
//
|
|
|
|
|
groupBox2.Controls.Add(panelWhite);
|
|
|
|
|
groupBox2.Controls.Add(panelGray);
|
|
|
|
|
groupBox2.Controls.Add(panelBlack);
|
|
|
|
|
groupBox2.Controls.Add(panelPurple);
|
|
|
|
|
groupBox2.Controls.Add(panelYellow);
|
|
|
|
|
groupBox2.Controls.Add(panelBlue);
|
|
|
|
|
groupBox2.Controls.Add(panelGreen);
|
|
|
|
|
groupBox2.Controls.Add(panelRed);
|
|
|
|
|
groupBox2.Location = new Point(379, 36);
|
|
|
|
|
groupBox2.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
groupBox2.Name = "groupBox2";
|
|
|
|
|
groupBox2.Padding = new Padding(3, 4, 3, 4);
|
|
|
|
|
groupBox2.Size = new Size(270, 163);
|
|
|
|
|
groupBox2.TabIndex = 6;
|
|
|
|
|
groupBox2.TabStop = false;
|
|
|
|
|
groupBox2.Text = "Цвета";
|
|
|
|
|
//
|
|
|
|
|
// panelWhite
|
|
|
|
|
//
|
|
|
|
|
panelWhite.BackColor = Color.White;
|
|
|
|
|
panelWhite.Location = new Point(24, 100);
|
|
|
|
|
panelWhite.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelWhite.Name = "panelWhite";
|
|
|
|
|
panelWhite.Size = new Size(41, 47);
|
|
|
|
|
panelWhite.TabIndex = 0;
|
|
|
|
|
panelWhite.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelGray
|
|
|
|
|
//
|
|
|
|
|
panelGray.BackColor = Color.Silver;
|
|
|
|
|
panelGray.Location = new Point(83, 100);
|
|
|
|
|
panelGray.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelGray.Name = "panelGray";
|
|
|
|
|
panelGray.Size = new Size(41, 47);
|
|
|
|
|
panelGray.TabIndex = 0;
|
|
|
|
|
panelGray.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelBlack
|
|
|
|
|
//
|
|
|
|
|
panelBlack.BackColor = Color.Black;
|
|
|
|
|
panelBlack.Location = new Point(146, 100);
|
|
|
|
|
panelBlack.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelBlack.Name = "panelBlack";
|
|
|
|
|
panelBlack.Size = new Size(41, 47);
|
|
|
|
|
panelBlack.TabIndex = 0;
|
|
|
|
|
panelBlack.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelPurple
|
|
|
|
|
//
|
|
|
|
|
panelPurple.BackColor = Color.Purple;
|
|
|
|
|
panelPurple.Location = new Point(206, 100);
|
|
|
|
|
panelPurple.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelPurple.Name = "panelPurple";
|
|
|
|
|
panelPurple.Size = new Size(41, 47);
|
|
|
|
|
panelPurple.TabIndex = 0;
|
|
|
|
|
panelPurple.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelYellow
|
|
|
|
|
//
|
|
|
|
|
panelYellow.BackColor = Color.Yellow;
|
|
|
|
|
panelYellow.Location = new Point(206, 32);
|
|
|
|
|
panelYellow.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelYellow.Name = "panelYellow";
|
|
|
|
|
panelYellow.Size = new Size(41, 47);
|
|
|
|
|
panelYellow.TabIndex = 0;
|
|
|
|
|
panelYellow.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelBlue
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
panelBlue.BackColor = Color.Navy;
|
2023-11-09 16:01:40 +04:00
|
|
|
|
panelBlue.Location = new Point(146, 32);
|
|
|
|
|
panelBlue.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelBlue.Name = "panelBlue";
|
|
|
|
|
panelBlue.Size = new Size(41, 47);
|
|
|
|
|
panelBlue.TabIndex = 0;
|
|
|
|
|
panelBlue.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelGreen
|
|
|
|
|
//
|
2023-11-23 00:09:21 +04:00
|
|
|
|
panelGreen.BackColor = Color.Green;
|
2023-11-09 16:01:40 +04:00
|
|
|
|
panelGreen.Location = new Point(83, 32);
|
|
|
|
|
panelGreen.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelGreen.Name = "panelGreen";
|
|
|
|
|
panelGreen.Size = new Size(41, 47);
|
|
|
|
|
panelGreen.TabIndex = 0;
|
|
|
|
|
panelGreen.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelRed
|
|
|
|
|
//
|
|
|
|
|
panelRed.BackColor = Color.Red;
|
|
|
|
|
panelRed.Location = new Point(24, 32);
|
|
|
|
|
panelRed.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
panelRed.Name = "panelRed";
|
|
|
|
|
panelRed.Size = new Size(41, 47);
|
|
|
|
|
panelRed.TabIndex = 0;
|
|
|
|
|
panelRed.MouseDown += PanelColor_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxSweepingBrush
|
|
|
|
|
//
|
|
|
|
|
checkBoxSweepingBrush.AutoSize = true;
|
|
|
|
|
checkBoxSweepingBrush.Location = new Point(41, 204);
|
|
|
|
|
checkBoxSweepingBrush.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
checkBoxSweepingBrush.Name = "checkBoxSweepingBrush";
|
|
|
|
|
checkBoxSweepingBrush.Size = new Size(200, 24);
|
|
|
|
|
checkBoxSweepingBrush.TabIndex = 5;
|
|
|
|
|
checkBoxSweepingBrush.Text = "Признак наличия щетки";
|
|
|
|
|
checkBoxSweepingBrush.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxWaterContainer
|
|
|
|
|
//
|
|
|
|
|
checkBoxWaterContainer.AutoSize = true;
|
|
|
|
|
checkBoxWaterContainer.Location = new Point(41, 153);
|
|
|
|
|
checkBoxWaterContainer.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
checkBoxWaterContainer.Name = "checkBoxWaterContainer";
|
|
|
|
|
checkBoxWaterContainer.Size = new Size(298, 24);
|
|
|
|
|
checkBoxWaterContainer.TabIndex = 4;
|
|
|
|
|
checkBoxWaterContainer.Text = "Признак наличия контейнера с водой";
|
|
|
|
|
checkBoxWaterContainer.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownWeight
|
|
|
|
|
//
|
|
|
|
|
numericUpDownWeight.Location = new Point(151, 81);
|
|
|
|
|
numericUpDownWeight.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
numericUpDownWeight.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|
|
|
|
numericUpDownWeight.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
numericUpDownWeight.Name = "numericUpDownWeight";
|
|
|
|
|
numericUpDownWeight.Size = new Size(126, 27);
|
|
|
|
|
numericUpDownWeight.TabIndex = 3;
|
|
|
|
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownSpeed
|
|
|
|
|
//
|
|
|
|
|
numericUpDownSpeed.Location = new Point(151, 33);
|
|
|
|
|
numericUpDownSpeed.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
numericUpDownSpeed.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|
|
|
|
numericUpDownSpeed.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
numericUpDownSpeed.Name = "numericUpDownSpeed";
|
|
|
|
|
numericUpDownSpeed.Size = new Size(126, 27);
|
|
|
|
|
numericUpDownSpeed.TabIndex = 2;
|
|
|
|
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// labelWeight
|
|
|
|
|
//
|
|
|
|
|
labelWeight.AutoSize = true;
|
|
|
|
|
labelWeight.Location = new Point(41, 84);
|
|
|
|
|
labelWeight.Name = "labelWeight";
|
|
|
|
|
labelWeight.Size = new Size(36, 20);
|
|
|
|
|
labelWeight.TabIndex = 1;
|
|
|
|
|
labelWeight.Text = "Вес:";
|
|
|
|
|
//
|
|
|
|
|
// labelSpeed
|
|
|
|
|
//
|
|
|
|
|
labelSpeed.AutoSize = true;
|
|
|
|
|
labelSpeed.Location = new Point(21, 36);
|
|
|
|
|
labelSpeed.Name = "labelSpeed";
|
|
|
|
|
labelSpeed.Size = new Size(76, 20);
|
|
|
|
|
labelSpeed.TabIndex = 0;
|
|
|
|
|
labelSpeed.Text = "Скорость:";
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxObject
|
|
|
|
|
//
|
|
|
|
|
pictureBoxObject.Location = new Point(54, 61);
|
|
|
|
|
pictureBoxObject.Name = "pictureBoxObject";
|
|
|
|
|
pictureBoxObject.Size = new Size(190, 144);
|
|
|
|
|
pictureBoxObject.TabIndex = 1;
|
|
|
|
|
pictureBoxObject.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// panelObject
|
|
|
|
|
//
|
|
|
|
|
panelObject.AllowDrop = true;
|
|
|
|
|
panelObject.Controls.Add(labelAdditionalColor);
|
|
|
|
|
panelObject.Controls.Add(labelColor);
|
|
|
|
|
panelObject.Controls.Add(pictureBoxObject);
|
|
|
|
|
panelObject.Location = new Point(697, 20);
|
|
|
|
|
panelObject.Name = "panelObject";
|
|
|
|
|
panelObject.Size = new Size(288, 233);
|
|
|
|
|
panelObject.TabIndex = 2;
|
|
|
|
|
panelObject.DragDrop += PanelObject_DragDrop;
|
|
|
|
|
panelObject.DragEnter += PanelObject_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// labelAdditionalColor
|
|
|
|
|
//
|
|
|
|
|
labelAdditionalColor.AllowDrop = true;
|
|
|
|
|
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelAdditionalColor.Location = new Point(160, 11);
|
|
|
|
|
labelAdditionalColor.Name = "labelAdditionalColor";
|
|
|
|
|
labelAdditionalColor.Size = new Size(84, 41);
|
|
|
|
|
labelAdditionalColor.TabIndex = 3;
|
|
|
|
|
labelAdditionalColor.Text = "Доп.цвет";
|
|
|
|
|
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelAdditionalColor.DragDrop += labelColor_DragDrop;
|
|
|
|
|
labelAdditionalColor.DragEnter += labelColor_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// labelColor
|
|
|
|
|
//
|
|
|
|
|
labelColor.AllowDrop = true;
|
|
|
|
|
labelColor.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelColor.Location = new Point(54, 11);
|
|
|
|
|
labelColor.Name = "labelColor";
|
|
|
|
|
labelColor.Size = new Size(79, 41);
|
|
|
|
|
labelColor.TabIndex = 2;
|
|
|
|
|
labelColor.Text = "Цвет";
|
|
|
|
|
labelColor.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelColor.DragDrop += labelColor_DragDrop;
|
|
|
|
|
labelColor.DragEnter += labelColor_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// ButtonOk
|
|
|
|
|
//
|
|
|
|
|
ButtonOk.Location = new Point(712, 276);
|
|
|
|
|
ButtonOk.Name = "ButtonOk";
|
|
|
|
|
ButtonOk.Size = new Size(101, 36);
|
|
|
|
|
ButtonOk.TabIndex = 3;
|
|
|
|
|
ButtonOk.Text = "Добавить";
|
|
|
|
|
ButtonOk.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonOk.Click += ButtonOk_Click;
|
|
|
|
|
//
|
|
|
|
|
// ButtonCancel
|
|
|
|
|
//
|
|
|
|
|
ButtonCancel.Location = new Point(871, 276);
|
|
|
|
|
ButtonCancel.Name = "ButtonCancel";
|
|
|
|
|
ButtonCancel.Size = new Size(102, 36);
|
|
|
|
|
ButtonCancel.TabIndex = 4;
|
|
|
|
|
ButtonCancel.Text = "Отмена";
|
|
|
|
|
ButtonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// FormTrainConfig
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1015, 341);
|
|
|
|
|
Controls.Add(ButtonCancel);
|
|
|
|
|
Controls.Add(ButtonOk);
|
|
|
|
|
Controls.Add(panelObject);
|
|
|
|
|
Controls.Add(groupBox1);
|
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
Name = "FormTrainConfig";
|
|
|
|
|
Text = "FormTrainConfig";
|
|
|
|
|
groupBox1.ResumeLayout(false);
|
|
|
|
|
groupBox1.PerformLayout();
|
|
|
|
|
groupBox2.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
|
|
|
|
panelObject.ResumeLayout(false);
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private Label labelSpeed;
|
|
|
|
|
private NumericUpDown numericUpDownWeight;
|
|
|
|
|
private NumericUpDown numericUpDownSpeed;
|
|
|
|
|
private Label labelWeight;
|
|
|
|
|
private CheckBox checkBoxWaterContainer;
|
|
|
|
|
private CheckBox checkBoxSweepingBrush;
|
|
|
|
|
private GroupBox groupBox2;
|
|
|
|
|
private Panel panelWhite;
|
|
|
|
|
private Panel panelGray;
|
|
|
|
|
private Panel panelBlack;
|
|
|
|
|
private Panel panelPurple;
|
|
|
|
|
private Panel panelYellow;
|
|
|
|
|
private Panel panelBlue;
|
|
|
|
|
private Panel panelGreen;
|
|
|
|
|
private Panel panelRed;
|
|
|
|
|
private Label labelModifiedObject;
|
|
|
|
|
private Label labelSimpleObject;
|
|
|
|
|
private PictureBox pictureBoxObject;
|
|
|
|
|
private Panel panelObject;
|
|
|
|
|
private Label labelAdditionalColor;
|
|
|
|
|
private Label labelColor;
|
|
|
|
|
private Button ButtonOk;
|
|
|
|
|
private Button ButtonCancel;
|
|
|
|
|
}
|
|
|
|
|
}
|