2024-05-22 22:22:59 +04:00
|
|
|
|
namespace ProjectBus
|
|
|
|
|
{
|
|
|
|
|
partial class FormSimpleBusConfig
|
|
|
|
|
{
|
|
|
|
|
/// <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();
|
|
|
|
|
panelWhite = new Panel();
|
|
|
|
|
panelGray = new Panel();
|
|
|
|
|
panelBlack = new Panel();
|
|
|
|
|
panelHotPink = new Panel();
|
|
|
|
|
panelBlue = new Panel();
|
|
|
|
|
panelYellow = new Panel();
|
|
|
|
|
panelGreen = new Panel();
|
|
|
|
|
panelRed = new Panel();
|
|
|
|
|
checkBoxAccordion = new CheckBox();
|
|
|
|
|
checkBoxAdditionalCompartment = 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();
|
|
|
|
|
panelObject = 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();
|
|
|
|
|
panelObject.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBoxConfig
|
|
|
|
|
//
|
|
|
|
|
groupBoxConfig.Controls.Add(groupBoxColors);
|
|
|
|
|
groupBoxConfig.Controls.Add(checkBoxAccordion);
|
|
|
|
|
groupBoxConfig.Controls.Add(checkBoxAdditionalCompartment);
|
|
|
|
|
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);
|
|
|
|
|
groupBoxConfig.Name = "groupBoxConfig";
|
2024-05-24 01:18:13 +04:00
|
|
|
|
groupBoxConfig.Size = new Size(975, 829);
|
2024-05-22 22:22:59 +04:00
|
|
|
|
groupBoxConfig.TabIndex = 0;
|
|
|
|
|
groupBoxConfig.TabStop = false;
|
|
|
|
|
groupBoxConfig.Text = "Параметры";
|
|
|
|
|
//
|
|
|
|
|
// groupBoxColors
|
|
|
|
|
//
|
|
|
|
|
groupBoxColors.Controls.Add(panelWhite);
|
|
|
|
|
groupBoxColors.Controls.Add(panelGray);
|
|
|
|
|
groupBoxColors.Controls.Add(panelBlack);
|
|
|
|
|
groupBoxColors.Controls.Add(panelHotPink);
|
|
|
|
|
groupBoxColors.Controls.Add(panelBlue);
|
|
|
|
|
groupBoxColors.Controls.Add(panelYellow);
|
|
|
|
|
groupBoxColors.Controls.Add(panelGreen);
|
|
|
|
|
groupBoxColors.Controls.Add(panelRed);
|
|
|
|
|
groupBoxColors.Location = new Point(538, 61);
|
|
|
|
|
groupBoxColors.Name = "groupBoxColors";
|
|
|
|
|
groupBoxColors.Size = new Size(389, 219);
|
|
|
|
|
groupBoxColors.TabIndex = 8;
|
|
|
|
|
groupBoxColors.TabStop = false;
|
|
|
|
|
groupBoxColors.Text = "Цвета";
|
|
|
|
|
//
|
|
|
|
|
// panelWhite
|
|
|
|
|
//
|
|
|
|
|
panelWhite.BackColor = Color.White;
|
|
|
|
|
panelWhite.Location = new Point(21, 130);
|
|
|
|
|
panelWhite.Name = "panelWhite";
|
|
|
|
|
panelWhite.Size = new Size(61, 60);
|
|
|
|
|
panelWhite.TabIndex = 1;
|
|
|
|
|
panelWhite.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelGray
|
|
|
|
|
//
|
|
|
|
|
panelGray.BackColor = Color.Gray;
|
|
|
|
|
panelGray.Location = new Point(115, 130);
|
|
|
|
|
panelGray.Name = "panelGray";
|
|
|
|
|
panelGray.Size = new Size(61, 60);
|
|
|
|
|
panelGray.TabIndex = 1;
|
|
|
|
|
panelGray.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelBlack
|
|
|
|
|
//
|
|
|
|
|
panelBlack.BackColor = Color.Black;
|
|
|
|
|
panelBlack.Location = new Point(212, 130);
|
|
|
|
|
panelBlack.Name = "panelBlack";
|
|
|
|
|
panelBlack.Size = new Size(61, 60);
|
|
|
|
|
panelBlack.TabIndex = 1;
|
|
|
|
|
panelBlack.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelHotPink
|
|
|
|
|
//
|
|
|
|
|
panelHotPink.BackColor = Color.HotPink;
|
|
|
|
|
panelHotPink.Location = new Point(303, 130);
|
|
|
|
|
panelHotPink.Name = "panelHotPink";
|
|
|
|
|
panelHotPink.Size = new Size(61, 60);
|
|
|
|
|
panelHotPink.TabIndex = 1;
|
|
|
|
|
panelHotPink.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelBlue
|
|
|
|
|
//
|
|
|
|
|
panelBlue.BackColor = Color.Blue;
|
|
|
|
|
panelBlue.Location = new Point(212, 38);
|
|
|
|
|
panelBlue.Name = "panelBlue";
|
|
|
|
|
panelBlue.Size = new Size(61, 60);
|
|
|
|
|
panelBlue.TabIndex = 1;
|
|
|
|
|
panelBlue.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelYellow
|
|
|
|
|
//
|
|
|
|
|
panelYellow.BackColor = Color.Yellow;
|
|
|
|
|
panelYellow.Location = new Point(303, 38);
|
|
|
|
|
panelYellow.Name = "panelYellow";
|
|
|
|
|
panelYellow.Size = new Size(61, 60);
|
|
|
|
|
panelYellow.TabIndex = 1;
|
|
|
|
|
panelYellow.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelGreen
|
|
|
|
|
//
|
|
|
|
|
panelGreen.BackColor = Color.Green;
|
|
|
|
|
panelGreen.Location = new Point(115, 38);
|
|
|
|
|
panelGreen.Name = "panelGreen";
|
|
|
|
|
panelGreen.Size = new Size(61, 60);
|
|
|
|
|
panelGreen.TabIndex = 1;
|
|
|
|
|
panelGreen.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// panelRed
|
|
|
|
|
//
|
2024-05-24 01:18:13 +04:00
|
|
|
|
panelRed.AllowDrop = true;
|
|
|
|
|
panelRed.AutoSize = true;
|
2024-05-22 22:22:59 +04:00
|
|
|
|
panelRed.BackColor = Color.Red;
|
|
|
|
|
panelRed.Location = new Point(21, 38);
|
|
|
|
|
panelRed.Name = "panelRed";
|
|
|
|
|
panelRed.Size = new Size(61, 60);
|
|
|
|
|
panelRed.TabIndex = 0;
|
|
|
|
|
panelRed.MouseDown += Panel_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxAccordion
|
|
|
|
|
//
|
|
|
|
|
checkBoxAccordion.AutoSize = true;
|
|
|
|
|
checkBoxAccordion.Location = new Point(30, 244);
|
|
|
|
|
checkBoxAccordion.Name = "checkBoxAccordion";
|
|
|
|
|
checkBoxAccordion.Size = new Size(358, 36);
|
|
|
|
|
checkBoxAccordion.TabIndex = 7;
|
|
|
|
|
checkBoxAccordion.Text = "Признак наличия гармошки";
|
|
|
|
|
checkBoxAccordion.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxAdditionalCompartment
|
|
|
|
|
//
|
|
|
|
|
checkBoxAdditionalCompartment.AutoSize = true;
|
|
|
|
|
checkBoxAdditionalCompartment.Location = new Point(30, 182);
|
|
|
|
|
checkBoxAdditionalCompartment.Name = "checkBoxAdditionalCompartment";
|
|
|
|
|
checkBoxAdditionalCompartment.Size = new Size(365, 36);
|
|
|
|
|
checkBoxAdditionalCompartment.TabIndex = 6;
|
|
|
|
|
checkBoxAdditionalCompartment.Text = "Признак наличия доп.отсека";
|
|
|
|
|
checkBoxAdditionalCompartment.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownWeight
|
|
|
|
|
//
|
|
|
|
|
numericUpDownWeight.Location = new Point(175, 105);
|
|
|
|
|
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(258, 39);
|
|
|
|
|
numericUpDownWeight.TabIndex = 5;
|
|
|
|
|
numericUpDownWeight.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// labelWeight
|
|
|
|
|
//
|
|
|
|
|
labelWeight.AutoSize = true;
|
|
|
|
|
labelWeight.Location = new Point(30, 112);
|
|
|
|
|
labelWeight.Name = "labelWeight";
|
|
|
|
|
labelWeight.Size = new Size(57, 32);
|
|
|
|
|
labelWeight.TabIndex = 4;
|
|
|
|
|
labelWeight.Text = "Вес:";
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownSpeed
|
|
|
|
|
//
|
|
|
|
|
numericUpDownSpeed.Location = new Point(175, 60);
|
|
|
|
|
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(258, 39);
|
|
|
|
|
numericUpDownSpeed.TabIndex = 3;
|
|
|
|
|
numericUpDownSpeed.Value = new decimal(new int[] { 100, 0, 0, 0 });
|
|
|
|
|
//
|
|
|
|
|
// labelSpeed
|
|
|
|
|
//
|
|
|
|
|
labelSpeed.AutoSize = true;
|
|
|
|
|
labelSpeed.Location = new Point(30, 60);
|
|
|
|
|
labelSpeed.Name = "labelSpeed";
|
|
|
|
|
labelSpeed.Size = new Size(121, 32);
|
|
|
|
|
labelSpeed.TabIndex = 2;
|
|
|
|
|
labelSpeed.Text = "Скорость:";
|
|
|
|
|
//
|
|
|
|
|
// labelModifiedObject
|
|
|
|
|
//
|
|
|
|
|
labelModifiedObject.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelModifiedObject.Location = new Point(758, 333);
|
|
|
|
|
labelModifiedObject.Name = "labelModifiedObject";
|
|
|
|
|
labelModifiedObject.Size = new Size(169, 64);
|
|
|
|
|
labelModifiedObject.TabIndex = 1;
|
|
|
|
|
labelModifiedObject.Text = "Продвинутый";
|
|
|
|
|
labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelModifiedObject.MouseDown += LabelObject_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// labelSimpleObject
|
|
|
|
|
//
|
|
|
|
|
labelSimpleObject.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelSimpleObject.Location = new Point(538, 333);
|
|
|
|
|
labelSimpleObject.Name = "labelSimpleObject";
|
|
|
|
|
labelSimpleObject.Size = new Size(200, 64);
|
|
|
|
|
labelSimpleObject.TabIndex = 0;
|
|
|
|
|
labelSimpleObject.Text = "Простой ";
|
|
|
|
|
labelSimpleObject.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelSimpleObject.MouseDown += LabelObject_MouseDown;
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxObject
|
|
|
|
|
//
|
|
|
|
|
pictureBoxObject.Location = new Point(18, 100);
|
|
|
|
|
pictureBoxObject.Name = "pictureBoxObject";
|
2024-05-24 01:18:13 +04:00
|
|
|
|
pictureBoxObject.Size = new Size(585, 593);
|
2024-05-22 22:22:59 +04:00
|
|
|
|
pictureBoxObject.TabIndex = 1;
|
|
|
|
|
pictureBoxObject.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonAdd
|
|
|
|
|
//
|
|
|
|
|
buttonAdd.Location = new Point(1063, 333);
|
|
|
|
|
buttonAdd.Name = "buttonAdd";
|
|
|
|
|
buttonAdd.Size = new Size(150, 46);
|
|
|
|
|
buttonAdd.TabIndex = 2;
|
|
|
|
|
buttonAdd.Text = "Добавить";
|
|
|
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAdd.Click += ButtonAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCancel
|
|
|
|
|
//
|
|
|
|
|
buttonCancel.Location = new Point(1282, 333);
|
|
|
|
|
buttonCancel.Name = "buttonCancel";
|
|
|
|
|
buttonCancel.Size = new Size(150, 46);
|
|
|
|
|
buttonCancel.TabIndex = 3;
|
|
|
|
|
buttonCancel.Text = "Отмена";
|
|
|
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// panelObject
|
|
|
|
|
//
|
|
|
|
|
panelObject.AllowDrop = true;
|
|
|
|
|
panelObject.Controls.Add(labelAdditionalColor);
|
|
|
|
|
panelObject.Controls.Add(labelBodyColor);
|
|
|
|
|
panelObject.Controls.Add(pictureBoxObject);
|
|
|
|
|
panelObject.Location = new Point(1035, 12);
|
|
|
|
|
panelObject.Name = "panelObject";
|
2024-05-24 01:18:13 +04:00
|
|
|
|
panelObject.Size = new Size(441, 315);
|
2024-05-22 22:22:59 +04:00
|
|
|
|
panelObject.TabIndex = 4;
|
|
|
|
|
panelObject.DragDrop += PanelObject_DragDrop;
|
|
|
|
|
panelObject.DragEnter += PanelObject_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// labelAdditionalColor
|
|
|
|
|
//
|
2024-05-24 01:18:13 +04:00
|
|
|
|
labelAdditionalColor.AllowDrop = true;
|
2024-05-22 22:22:59 +04:00
|
|
|
|
labelAdditionalColor.BorderStyle = BorderStyle.FixedSingle;
|
|
|
|
|
labelAdditionalColor.Location = new Point(226, 23);
|
|
|
|
|
labelAdditionalColor.Name = "labelAdditionalColor";
|
|
|
|
|
labelAdditionalColor.Size = new Size(171, 57);
|
|
|
|
|
labelAdditionalColor.TabIndex = 10;
|
|
|
|
|
labelAdditionalColor.Text = "Доп. цвет";
|
|
|
|
|
labelAdditionalColor.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelAdditionalColor.DragDrop += LabelAdditionalColor_DragDrop;
|
|
|
|
|
labelAdditionalColor.DragEnter += LabelAdditionalColor_DragEnter;
|
|
|
|
|
//
|
|
|
|
|
// labelBodyColor
|
|
|
|
|
//
|
2024-05-24 01:18:13 +04:00
|
|
|
|
labelBodyColor.AllowDrop = true;
|
2024-05-22 22:22:59 +04:00
|
|
|
|
labelBodyColor.BorderStyle = BorderStyle.FixedSingle;
|
2024-05-24 01:18:13 +04:00
|
|
|
|
labelBodyColor.Location = new Point(38, 23);
|
2024-05-22 22:22:59 +04:00
|
|
|
|
labelBodyColor.Name = "labelBodyColor";
|
2024-05-24 01:18:13 +04:00
|
|
|
|
labelBodyColor.Size = new Size(140, 57);
|
2024-05-22 22:22:59 +04:00
|
|
|
|
labelBodyColor.TabIndex = 9;
|
|
|
|
|
labelBodyColor.Text = "Цвет";
|
|
|
|
|
labelBodyColor.TextAlign = ContentAlignment.MiddleCenter;
|
|
|
|
|
labelBodyColor.DragDrop += LabelBodyColor_DragDrop;
|
|
|
|
|
labelBodyColor.DragEnter += LabelBodyColor_DragEnter_1;
|
|
|
|
|
//
|
|
|
|
|
// FormSimpleBusConfig
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-05-24 01:18:13 +04:00
|
|
|
|
ClientSize = new Size(1745, 829);
|
2024-05-22 22:22:59 +04:00
|
|
|
|
Controls.Add(panelObject);
|
|
|
|
|
Controls.Add(buttonCancel);
|
|
|
|
|
Controls.Add(buttonAdd);
|
|
|
|
|
Controls.Add(groupBoxConfig);
|
|
|
|
|
Name = "FormSimpleBusConfig";
|
|
|
|
|
Text = "Создание объекта";
|
|
|
|
|
groupBoxConfig.ResumeLayout(false);
|
|
|
|
|
groupBoxConfig.PerformLayout();
|
|
|
|
|
groupBoxColors.ResumeLayout(false);
|
2024-05-24 01:18:13 +04:00
|
|
|
|
groupBoxColors.PerformLayout();
|
2024-05-22 22:22:59 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownWeight).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownSpeed).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
|
|
|
|
|
panelObject.ResumeLayout(false);
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox groupBoxConfig;
|
|
|
|
|
private Label labelModifiedObject;
|
|
|
|
|
private Label labelSimpleObject;
|
|
|
|
|
private Label labelSpeed;
|
|
|
|
|
private Label labelWeight;
|
|
|
|
|
private NumericUpDown numericUpDownSpeed;
|
|
|
|
|
private NumericUpDown numericUpDownWeight;
|
|
|
|
|
private CheckBox checkBoxAccordion;
|
|
|
|
|
private CheckBox checkBoxAdditionalCompartment;
|
|
|
|
|
private GroupBox groupBoxColors;
|
|
|
|
|
private Panel panelBlue;
|
|
|
|
|
private Panel panelYellow;
|
|
|
|
|
private Panel panelGreen;
|
|
|
|
|
private Panel panelRed;
|
|
|
|
|
private Panel panelWhite;
|
|
|
|
|
private Panel panelGray;
|
|
|
|
|
private Panel panelBlack;
|
|
|
|
|
private Panel panelHotPink;
|
|
|
|
|
private PictureBox pictureBoxObject;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonCancel;
|
|
|
|
|
private Panel panelObject;
|
|
|
|
|
private Label labelBodyColor;
|
|
|
|
|
private Label labelAdditionalColor;
|
|
|
|
|
}
|
|
|
|
|
}
|