2024-05-23 08:43:54 +04:00
|
|
|
|
namespace lab1
|
|
|
|
|
{
|
|
|
|
|
partial class FormTrackedVehicleConfig
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
groupBoxConfig = new GroupBox();
|
|
|
|
|
groupBoxColors = new GroupBox();
|
|
|
|
|
panelPurple = new Panel();
|
|
|
|
|
panelBlack = new Panel();
|
|
|
|
|
panelGray = new Panel();
|
|
|
|
|
panelWhite = new Panel();
|
|
|
|
|
panelYellow = new Panel();
|
|
|
|
|
panelBlue = new Panel();
|
|
|
|
|
panelGreen = new Panel();
|
|
|
|
|
panelRed = new Panel();
|
|
|
|
|
checkBoxOtval = new CheckBox();
|
|
|
|
|
checkBoxKovsh = new CheckBox();
|
|
|
|
|
numericUpDownWeight = new NumericUpDown();
|
|
|
|
|
labelWeight = new Label();
|
|
|
|
|
numericUpDownSpeed = new NumericUpDown();
|
|
|
|
|
labelSpeed = new Label();
|
|
|
|
|
LabelModifiedObject = new Label();
|
|
|
|
|
LabelSimpleObject = new Label();
|
|
|
|
|
pictureBoxObject = new PictureBox();
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonCancel = new Button();
|
|
|
|
|
panelObject1 = new Panel();
|
|
|
|
|
labelAdditionalColor = new Label();
|
|
|
|
|
labelBodyColor = new Label();
|
|
|
|
|
groupBoxConfig.SuspendLayout();
|
|
|
|
|
groupBoxColors.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).BeginInit();
|
|
|
|
|
panelObject1.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBoxConfig
|
|
|
|
|
//
|
|
|
|
|
groupBoxConfig.Controls.Add(groupBoxColors);
|
|
|
|
|
groupBoxConfig.Controls.Add(checkBoxOtval);
|
|
|
|
|
groupBoxConfig.Controls.Add(checkBoxKovsh);
|
|
|
|
|
groupBoxConfig.Controls.Add(numericUpDownWeight);
|
|
|
|
|
groupBoxConfig.Controls.Add(labelWeight);
|
|
|
|
|
groupBoxConfig.Controls.Add(numericUpDownSpeed);
|
|
|
|
|
groupBoxConfig.Controls.Add(labelSpeed);
|
|
|
|
|
groupBoxConfig.Controls.Add(LabelModifiedObject);
|
|
|
|
|
groupBoxConfig.Controls.Add(LabelSimpleObject);
|
|
|
|
|
groupBoxConfig.Dock = DockStyle.Left;
|
|
|
|
|
groupBoxConfig.Location = new Point(0, 0);
|
2024-10-22 13:26:55 +04:00
|
|
|
|
groupBoxConfig.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
groupBoxConfig.Name = "groupBoxConfig";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
groupBoxConfig.Padding = new Padding(2);
|
|
|
|
|
groupBoxConfig.Size = new Size(444, 252);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
groupBoxConfig.TabIndex = 0;
|
|
|
|
|
groupBoxConfig.TabStop = false;
|
|
|
|
|
groupBoxConfig.Text = "Параметры";
|
|
|
|
|
//
|
|
|
|
|
// groupBoxColors
|
|
|
|
|
//
|
|
|
|
|
groupBoxColors.Controls.Add(panelPurple);
|
|
|
|
|
groupBoxColors.Controls.Add(panelBlack);
|
|
|
|
|
groupBoxColors.Controls.Add(panelGray);
|
|
|
|
|
groupBoxColors.Controls.Add(panelWhite);
|
|
|
|
|
groupBoxColors.Controls.Add(panelYellow);
|
|
|
|
|
groupBoxColors.Controls.Add(panelBlue);
|
|
|
|
|
groupBoxColors.Controls.Add(panelGreen);
|
|
|
|
|
groupBoxColors.Controls.Add(panelRed);
|
2024-10-22 13:26:55 +04:00
|
|
|
|
groupBoxColors.Location = new Point(254, 13);
|
|
|
|
|
groupBoxColors.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
groupBoxColors.Name = "groupBoxColors";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
groupBoxColors.Padding = new Padding(2);
|
|
|
|
|
groupBoxColors.Size = new Size(186, 83);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
groupBoxColors.TabIndex = 8;
|
|
|
|
|
groupBoxColors.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// panelPurple
|
|
|
|
|
//
|
|
|
|
|
panelPurple.BackColor = Color.Purple;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelPurple.Location = new Point(150, 46);
|
|
|
|
|
panelPurple.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelPurple.Name = "panelPurple";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelPurple.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelPurple.TabIndex = 5;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelPurple.MouseDown += Panel_MouseDown;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// panelBlack
|
|
|
|
|
//
|
|
|
|
|
panelBlack.BackColor = Color.Black;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelBlack.Location = new Point(108, 46);
|
|
|
|
|
panelBlack.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelBlack.Name = "panelBlack";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelBlack.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelBlack.TabIndex = 4;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelBlack.MouseDown += Panel_MouseDown;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// panelGray
|
|
|
|
|
//
|
|
|
|
|
panelGray.BackColor = Color.Gray;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelGray.Location = new Point(60, 46);
|
|
|
|
|
panelGray.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelGray.Name = "panelGray";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelGray.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelGray.TabIndex = 3;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelGray.MouseDown += Panel_MouseDown;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// panelWhite
|
|
|
|
|
//
|
|
|
|
|
panelWhite.BackColor = Color.White;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelWhite.Location = new Point(11, 46);
|
|
|
|
|
panelWhite.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelWhite.Name = "panelWhite";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelWhite.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelWhite.TabIndex = 2;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelWhite.MouseDown += Panel_MouseDown;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// panelYellow
|
|
|
|
|
//
|
|
|
|
|
panelYellow.BackColor = Color.Yellow;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelYellow.Location = new Point(150, 18);
|
|
|
|
|
panelYellow.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelYellow.Name = "panelYellow";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelYellow.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelYellow.TabIndex = 1;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelYellow.MouseDown += Panel_MouseDown;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// panelBlue
|
|
|
|
|
//
|
|
|
|
|
panelBlue.BackColor = Color.Blue;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelBlue.Location = new Point(108, 18);
|
|
|
|
|
panelBlue.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelBlue.Name = "panelBlue";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelBlue.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelBlue.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// panelGreen
|
|
|
|
|
//
|
|
|
|
|
panelGreen.BackColor = Color.Green;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelGreen.Location = new Point(60, 18);
|
|
|
|
|
panelGreen.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelGreen.Name = "panelGreen";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelGreen.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelGreen.TabIndex = 1;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelGreen.MouseDown += Panel_MouseDown;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// panelRed
|
|
|
|
|
//
|
|
|
|
|
panelRed.BackColor = Color.Red;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelRed.Location = new Point(11, 18);
|
|
|
|
|
panelRed.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelRed.Name = "panelRed";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelRed.Size = new Size(24, 22);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelRed.TabIndex = 0;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelRed.MouseDown += Panel_MouseDown;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// checkBoxOtval
|
|
|
|
|
//
|
|
|
|
|
checkBoxOtval.AutoSize = true;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
checkBoxOtval.Location = new Point(8, 102);
|
|
|
|
|
checkBoxOtval.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
checkBoxOtval.Name = "checkBoxOtval";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
checkBoxOtval.Size = new Size(234, 19);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
checkBoxOtval.TabIndex = 7;
|
|
|
|
|
checkBoxOtval.Text = "Признак наличия опор для фиксации";
|
|
|
|
|
checkBoxOtval.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxKovsh
|
|
|
|
|
//
|
|
|
|
|
checkBoxKovsh.AutoSize = true;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
checkBoxKovsh.Location = new Point(8, 79);
|
|
|
|
|
checkBoxKovsh.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
checkBoxKovsh.Name = "checkBoxKovsh";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
checkBoxKovsh.Size = new Size(162, 19);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
checkBoxKovsh.TabIndex = 6;
|
|
|
|
|
checkBoxKovsh.Text = "Признак наличия ковша";
|
|
|
|
|
checkBoxKovsh.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownWeight
|
|
|
|
|
//
|
2024-10-22 13:26:55 +04:00
|
|
|
|
numericUpDownWeight.Location = new Point(74, 45);
|
|
|
|
|
numericUpDownWeight.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
numericUpDownWeight.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|
|
|
|
numericUpDownWeight.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
numericUpDownWeight.Name = "numericUpDownWeight";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
numericUpDownWeight.Size = new Size(176, 23);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
numericUpDownWeight.TabIndex = 5;
|
|
|
|
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// labelWeight
|
|
|
|
|
//
|
|
|
|
|
labelWeight.AutoSize = true;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelWeight.Location = new Point(8, 45);
|
|
|
|
|
labelWeight.Margin = new Padding(2, 0, 2, 0);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelWeight.Name = "labelWeight";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelWeight.Size = new Size(29, 15);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelWeight.TabIndex = 4;
|
|
|
|
|
labelWeight.Text = "Вес:";
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownSpeed
|
|
|
|
|
//
|
2024-10-22 13:26:55 +04:00
|
|
|
|
numericUpDownSpeed.Location = new Point(74, 22);
|
|
|
|
|
numericUpDownSpeed.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
numericUpDownSpeed.Maximum = new decimal(new int[] { 1000, 0, 0, 0 });
|
|
|
|
|
numericUpDownSpeed.Minimum = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
numericUpDownSpeed.Name = "numericUpDownSpeed";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
numericUpDownSpeed.Size = new Size(176, 23);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
numericUpDownSpeed.TabIndex = 3;
|
|
|
|
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// labelSpeed
|
|
|
|
|
//
|
|
|
|
|
labelSpeed.AutoSize = true;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelSpeed.Location = new Point(4, 23);
|
|
|
|
|
labelSpeed.Margin = new Padding(2, 0, 2, 0);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelSpeed.Name = "labelSpeed";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelSpeed.Size = new Size(62, 15);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelSpeed.TabIndex = 2;
|
|
|
|
|
labelSpeed.Text = "Скорость:";
|
|
|
|
|
//
|
|
|
|
|
// LabelModifiedObject
|
|
|
|
|
//
|
|
|
|
|
LabelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
LabelModifiedObject.Location = new Point(348, 102);
|
|
|
|
|
LabelModifiedObject.Margin = new Padding(2, 0, 2, 0);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
LabelModifiedObject.Name = "LabelModifiedObject";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
LabelModifiedObject.Size = new Size(92, 24);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
LabelModifiedObject.TabIndex = 1;
|
|
|
|
|
LabelModifiedObject.Text = "Продвинутый";
|
|
|
|
|
LabelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
LabelModifiedObject.MouseDown += LabelObject_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// LabelSimpleObject
|
|
|
|
|
//
|
|
|
|
|
LabelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
LabelSimpleObject.Location = new Point(254, 102);
|
|
|
|
|
LabelSimpleObject.Margin = new Padding(2, 0, 2, 0);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
LabelSimpleObject.Name = "LabelSimpleObject";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
LabelSimpleObject.Size = new Size(86, 24);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
LabelSimpleObject.TabIndex = 0;
|
|
|
|
|
LabelSimpleObject.Text = "Простой";
|
|
|
|
|
LabelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
LabelSimpleObject.MouseDown += LabelObject_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxObject
|
|
|
|
|
//
|
2024-10-22 13:26:55 +04:00
|
|
|
|
pictureBoxObject.Location = new Point(461, 45);
|
|
|
|
|
pictureBoxObject.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
pictureBoxObject.Name = "pictureBoxObject";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
pictureBoxObject.Size = new Size(203, 141);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
pictureBoxObject.TabIndex = 1;
|
|
|
|
|
pictureBoxObject.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
2024-10-22 13:26:55 +04:00
|
|
|
|
buttonAdd.Location = new Point(451, 205);
|
|
|
|
|
buttonAdd.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
buttonAdd.Size = new Size(112, 36);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
buttonAdd.TabIndex = 2;
|
|
|
|
|
buttonAdd.Text = "Добавить";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
buttonAdd.Click += buttonAdd_Click;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
2024-10-22 13:26:55 +04:00
|
|
|
|
buttonCancel.Location = new Point(567, 205);
|
|
|
|
|
buttonCancel.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
buttonCancel.Size = new Size(110, 36);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
buttonCancel.TabIndex = 3;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// panelObject1
|
|
|
|
|
//
|
|
|
|
|
panelObject1.AllowDrop = true;
|
|
|
|
|
panelObject1.Controls.Add(labelAdditionalColor);
|
|
|
|
|
panelObject1.Controls.Add(labelBodyColor);
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelObject1.Location = new Point(451, 7);
|
|
|
|
|
panelObject1.Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelObject1.Name = "panelObject1";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
panelObject1.Size = new Size(338, 194);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelObject1.TabIndex = 4;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
panelObject1.DragDrop += PanelObject1_DragDrop;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
panelObject1.DragEnter += PanelObject1_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// labelAdditionalColor
|
|
|
|
|
//
|
2024-08-29 19:32:46 +04:00
|
|
|
|
labelAdditionalColor.AllowDrop = true;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelAdditionalColor.Location = new Point(116, 6);
|
|
|
|
|
labelAdditionalColor.Margin = new Padding(2, 0, 2, 0);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelAdditionalColor.Name = "labelAdditionalColor";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelAdditionalColor.Size = new Size(97, 25);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelAdditionalColor.TabIndex = 2;
|
|
|
|
|
labelAdditionalColor.Text = "Доп. Цвет";
|
|
|
|
|
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
labelAdditionalColor.Click += labelAdditionalColor_Click;
|
|
|
|
|
labelAdditionalColor.DragDrop += labelAdditionalColor_DragDrop;
|
|
|
|
|
labelAdditionalColor.DragEnter += labelAdditionalColor_DragEnter;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// labelBodyColor
|
|
|
|
|
//
|
2024-08-29 19:32:46 +04:00
|
|
|
|
labelBodyColor.AllowDrop = true;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelBodyColor.BorderStyle = BorderStyle.FixedSingle;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelBodyColor.Location = new Point(10, 6);
|
|
|
|
|
labelBodyColor.Margin = new Padding(2, 0, 2, 0);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelBodyColor.Name = "labelBodyColor";
|
2024-10-22 13:26:55 +04:00
|
|
|
|
labelBodyColor.Size = new Size(102, 25);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
labelBodyColor.TabIndex = 1;
|
|
|
|
|
labelBodyColor.Text = "Цвет";
|
|
|
|
|
labelBodyColor.TextAlign = ContentAlignment.MiddleCenter;
|
2024-08-29 19:32:46 +04:00
|
|
|
|
labelBodyColor.DragDrop += labelBodyColor_DragDrop;
|
|
|
|
|
labelBodyColor.DragEnter += LabelBodyColor_DragEnter;
|
2024-05-23 08:43:54 +04:00
|
|
|
|
//
|
|
|
|
|
// FormTrackedVehicleConfig
|
|
|
|
|
//
|
2024-10-22 13:26:55 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-10-22 13:26:55 +04:00
|
|
|
|
ClientSize = new Size(794, 252);
|
2024-08-29 19:32:46 +04:00
|
|
|
|
Controls.Add(pictureBoxObject);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonAdd);
|
|
|
|
|
Controls.Add(groupBoxConfig);
|
2024-08-29 19:32:46 +04:00
|
|
|
|
Controls.Add(panelObject1);
|
2024-10-22 13:26:55 +04:00
|
|
|
|
Margin = new Padding(2);
|
2024-05-23 08:43:54 +04:00
|
|
|
|
Name = "FormTrackedVehicleConfig";
|
|
|
|
|
Text = "Создание объекта";
|
|
|
|
|
Load += FormTrackedVehicleConfig_Load;
|
|
|
|
|
groupBoxConfig.ResumeLayout(false);
|
|
|
|
|
groupBoxConfig.PerformLayout();
|
|
|
|
|
groupBoxColors.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
|
|
|
|
panelObject1.ResumeLayout(false);
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox groupBoxConfig;
|
|
|
|
|
private Label LabelSimpleObject;
|
|
|
|
|
private Label LabelModifiedObject;
|
|
|
|
|
private Label labelSpeed;
|
|
|
|
|
private NumericUpDown numericUpDownSpeed;
|
|
|
|
|
private Label labelWeight;
|
|
|
|
|
private NumericUpDown numericUpDownWeight;
|
|
|
|
|
private CheckBox checkBoxKovsh;
|
|
|
|
|
private CheckBox checkBoxOtval;
|
|
|
|
|
private GroupBox groupBoxColors;
|
|
|
|
|
private Panel panelWhite;
|
|
|
|
|
private Panel panelYellow;
|
|
|
|
|
private Panel panelBlue;
|
|
|
|
|
private Panel panelGreen;
|
|
|
|
|
private Panel panelRed;
|
|
|
|
|
private Panel panelBlack;
|
|
|
|
|
private Panel panelGray;
|
|
|
|
|
private Panel panelPurple;
|
|
|
|
|
private PictureBox pictureBoxObject;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
private Panel panelObject1;
|
|
|
|
|
private Label labelAdditionalColor;
|
|
|
|
|
private Label labelBodyColor;
|
|
|
|
|
}
|
|
|
|
|
}
|