|
|
|
@ -29,12 +29,6 @@
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.groupBoxParameters = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.button_Cancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.button_Add = new System.Windows.Forms.Button();
|
|
|
|
|
this.panelColor = new System.Windows.Forms.Panel();
|
|
|
|
|
this.pictureBoxObject = new System.Windows.Forms.PictureBox();
|
|
|
|
|
this.labelAdditionalColor = new System.Windows.Forms.Label();
|
|
|
|
|
this.labelColor = new System.Windows.Forms.Label();
|
|
|
|
|
this.labelComplexObject = new System.Windows.Forms.Label();
|
|
|
|
|
this.labelSimpleObject = new System.Windows.Forms.Label();
|
|
|
|
|
this.groupBoxColors = new System.Windows.Forms.GroupBox();
|
|
|
|
@ -53,19 +47,24 @@
|
|
|
|
|
this.numericUpDownSpeed = new System.Windows.Forms.NumericUpDown();
|
|
|
|
|
this.labelWeigth = new System.Windows.Forms.Label();
|
|
|
|
|
this.labelSpeed = new System.Windows.Forms.Label();
|
|
|
|
|
this.button_Cancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.button_Add = new System.Windows.Forms.Button();
|
|
|
|
|
this.PanelObject = new System.Windows.Forms.Panel();
|
|
|
|
|
this.pictureBoxObject = new System.Windows.Forms.PictureBox();
|
|
|
|
|
this.panelColor = new System.Windows.Forms.Panel();
|
|
|
|
|
this.label_Additional_Color = new System.Windows.Forms.Label();
|
|
|
|
|
this.label_Color = new System.Windows.Forms.Label();
|
|
|
|
|
this.groupBoxParameters.SuspendLayout();
|
|
|
|
|
this.panelColor.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxObject)).BeginInit();
|
|
|
|
|
this.groupBoxColors.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSpeed)).BeginInit();
|
|
|
|
|
this.PanelObject.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxObject)).BeginInit();
|
|
|
|
|
this.panelColor.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBoxParameters
|
|
|
|
|
//
|
|
|
|
|
this.groupBoxParameters.Controls.Add(this.button_Cancel);
|
|
|
|
|
this.groupBoxParameters.Controls.Add(this.button_Add);
|
|
|
|
|
this.groupBoxParameters.Controls.Add(this.panelColor);
|
|
|
|
|
this.groupBoxParameters.Controls.Add(this.labelComplexObject);
|
|
|
|
|
this.groupBoxParameters.Controls.Add(this.labelSimpleObject);
|
|
|
|
|
this.groupBoxParameters.Controls.Add(this.groupBoxColors);
|
|
|
|
@ -78,85 +77,28 @@
|
|
|
|
|
this.groupBoxParameters.Controls.Add(this.labelSpeed);
|
|
|
|
|
this.groupBoxParameters.Location = new System.Drawing.Point(12, 12);
|
|
|
|
|
this.groupBoxParameters.Name = "groupBoxParameters";
|
|
|
|
|
this.groupBoxParameters.Size = new System.Drawing.Size(752, 303);
|
|
|
|
|
this.groupBoxParameters.Size = new System.Drawing.Size(476, 213);
|
|
|
|
|
this.groupBoxParameters.TabIndex = 0;
|
|
|
|
|
this.groupBoxParameters.TabStop = false;
|
|
|
|
|
this.groupBoxParameters.Text = "Параметры";
|
|
|
|
|
//
|
|
|
|
|
// button_Cancel
|
|
|
|
|
//
|
|
|
|
|
this.button_Cancel.Location = new System.Drawing.Point(591, 198);
|
|
|
|
|
this.button_Cancel.Name = "button_Cancel";
|
|
|
|
|
this.button_Cancel.Size = new System.Drawing.Size(105, 32);
|
|
|
|
|
this.button_Cancel.TabIndex = 15;
|
|
|
|
|
this.button_Cancel.Text = "Отмена";
|
|
|
|
|
this.button_Cancel.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// button_Add
|
|
|
|
|
//
|
|
|
|
|
this.button_Add.Location = new System.Drawing.Point(477, 197);
|
|
|
|
|
this.button_Add.Name = "button_Add";
|
|
|
|
|
this.button_Add.Size = new System.Drawing.Size(105, 32);
|
|
|
|
|
this.button_Add.TabIndex = 14;
|
|
|
|
|
this.button_Add.Text = "Добавить";
|
|
|
|
|
this.button_Add.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button_Add.Click += new System.EventHandler(this.button_Add_Click);
|
|
|
|
|
//
|
|
|
|
|
// panelColor
|
|
|
|
|
//
|
|
|
|
|
this.panelColor.AllowDrop = true;
|
|
|
|
|
this.panelColor.Controls.Add(this.pictureBoxObject);
|
|
|
|
|
this.panelColor.Controls.Add(this.labelAdditionalColor);
|
|
|
|
|
this.panelColor.Controls.Add(this.labelColor);
|
|
|
|
|
this.panelColor.Location = new System.Drawing.Point(477, 30);
|
|
|
|
|
this.panelColor.Name = "panelColor";
|
|
|
|
|
this.panelColor.Size = new System.Drawing.Size(219, 153);
|
|
|
|
|
this.panelColor.TabIndex = 11;
|
|
|
|
|
this.panelColor.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop);
|
|
|
|
|
this.panelColor.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter);
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxObject
|
|
|
|
|
//
|
|
|
|
|
this.pictureBoxObject.Location = new System.Drawing.Point(13, 55);
|
|
|
|
|
this.pictureBoxObject.Name = "pictureBoxObject";
|
|
|
|
|
this.pictureBoxObject.Size = new System.Drawing.Size(196, 84);
|
|
|
|
|
this.pictureBoxObject.TabIndex = 10;
|
|
|
|
|
this.pictureBoxObject.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// labelAdditionalColor
|
|
|
|
|
//
|
|
|
|
|
this.labelAdditionalColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.labelAdditionalColor.Location = new System.Drawing.Point(114, 10);
|
|
|
|
|
this.labelAdditionalColor.Name = "labelAdditionalColor";
|
|
|
|
|
this.labelAdditionalColor.Size = new System.Drawing.Size(95, 32);
|
|
|
|
|
this.labelAdditionalColor.TabIndex = 13;
|
|
|
|
|
this.labelAdditionalColor.Text = "Доп.цвет";
|
|
|
|
|
this.labelAdditionalColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// labelColor
|
|
|
|
|
//
|
|
|
|
|
this.labelColor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.labelColor.Location = new System.Drawing.Point(13, 10);
|
|
|
|
|
this.labelColor.Name = "labelColor";
|
|
|
|
|
this.labelColor.Size = new System.Drawing.Size(95, 32);
|
|
|
|
|
this.labelColor.TabIndex = 12;
|
|
|
|
|
this.labelColor.Text = "Цвет";
|
|
|
|
|
this.labelColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// labelComplexObject
|
|
|
|
|
//
|
|
|
|
|
this.labelComplexObject.AllowDrop = true;
|
|
|
|
|
this.labelComplexObject.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.labelComplexObject.Location = new System.Drawing.Point(346, 195);
|
|
|
|
|
this.labelComplexObject.Location = new System.Drawing.Point(346, 164);
|
|
|
|
|
this.labelComplexObject.Name = "labelComplexObject";
|
|
|
|
|
this.labelComplexObject.Size = new System.Drawing.Size(109, 34);
|
|
|
|
|
this.labelComplexObject.TabIndex = 9;
|
|
|
|
|
this.labelComplexObject.Text = "Продвинутый";
|
|
|
|
|
this.labelComplexObject.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
this.labelComplexObject.MouseDown += new System.Windows.Forms.MouseEventHandler(this.LabelObject_MouseDown);
|
|
|
|
|
//
|
|
|
|
|
// labelSimpleObject
|
|
|
|
|
//
|
|
|
|
|
this.labelSimpleObject.AllowDrop = true;
|
|
|
|
|
this.labelSimpleObject.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.labelSimpleObject.Location = new System.Drawing.Point(222, 195);
|
|
|
|
|
this.labelSimpleObject.Location = new System.Drawing.Point(222, 164);
|
|
|
|
|
this.labelSimpleObject.Name = "labelSimpleObject";
|
|
|
|
|
this.labelSimpleObject.Size = new System.Drawing.Size(109, 34);
|
|
|
|
|
this.labelSimpleObject.TabIndex = 8;
|
|
|
|
@ -183,6 +125,7 @@
|
|
|
|
|
//
|
|
|
|
|
// panelWhite
|
|
|
|
|
//
|
|
|
|
|
this.panelWhite.AllowDrop = true;
|
|
|
|
|
this.panelWhite.BackColor = System.Drawing.Color.White;
|
|
|
|
|
this.panelWhite.Location = new System.Drawing.Point(178, 63);
|
|
|
|
|
this.panelWhite.Name = "panelWhite";
|
|
|
|
@ -220,6 +163,7 @@
|
|
|
|
|
this.panelYellow.Name = "panelYellow";
|
|
|
|
|
this.panelYellow.Size = new System.Drawing.Size(48, 35);
|
|
|
|
|
this.panelYellow.TabIndex = 1;
|
|
|
|
|
this.panelYellow.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelColor_MouseDown);
|
|
|
|
|
//
|
|
|
|
|
// panelBlue
|
|
|
|
|
//
|
|
|
|
@ -228,6 +172,7 @@
|
|
|
|
|
this.panelBlue.Name = "panelBlue";
|
|
|
|
|
this.panelBlue.Size = new System.Drawing.Size(48, 35);
|
|
|
|
|
this.panelBlue.TabIndex = 1;
|
|
|
|
|
this.panelBlue.MouseDown += new System.Windows.Forms.MouseEventHandler(this.LabelObject_MouseDown);
|
|
|
|
|
//
|
|
|
|
|
// panelGreen
|
|
|
|
|
//
|
|
|
|
@ -236,6 +181,7 @@
|
|
|
|
|
this.panelGreen.Name = "panelGreen";
|
|
|
|
|
this.panelGreen.Size = new System.Drawing.Size(48, 35);
|
|
|
|
|
this.panelGreen.TabIndex = 1;
|
|
|
|
|
this.panelGreen.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelColor_MouseDown);
|
|
|
|
|
//
|
|
|
|
|
// panelRed
|
|
|
|
|
//
|
|
|
|
@ -244,6 +190,9 @@
|
|
|
|
|
this.panelRed.Name = "panelRed";
|
|
|
|
|
this.panelRed.Size = new System.Drawing.Size(48, 35);
|
|
|
|
|
this.panelRed.TabIndex = 0;
|
|
|
|
|
this.panelRed.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop);
|
|
|
|
|
this.panelRed.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter);
|
|
|
|
|
this.panelRed.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelColor_MouseDown);
|
|
|
|
|
//
|
|
|
|
|
// checkBoxLine
|
|
|
|
|
//
|
|
|
|
@ -337,21 +286,102 @@
|
|
|
|
|
this.labelSpeed.TabIndex = 0;
|
|
|
|
|
this.labelSpeed.Text = "Скорость";
|
|
|
|
|
//
|
|
|
|
|
// button_Cancel
|
|
|
|
|
//
|
|
|
|
|
this.button_Cancel.Location = new System.Drawing.Point(625, 12);
|
|
|
|
|
this.button_Cancel.Name = "button_Cancel";
|
|
|
|
|
this.button_Cancel.Size = new System.Drawing.Size(105, 32);
|
|
|
|
|
this.button_Cancel.TabIndex = 15;
|
|
|
|
|
this.button_Cancel.Text = "Отмена";
|
|
|
|
|
this.button_Cancel.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// button_Add
|
|
|
|
|
//
|
|
|
|
|
this.button_Add.Location = new System.Drawing.Point(514, 12);
|
|
|
|
|
this.button_Add.Name = "button_Add";
|
|
|
|
|
this.button_Add.Size = new System.Drawing.Size(105, 32);
|
|
|
|
|
this.button_Add.TabIndex = 14;
|
|
|
|
|
this.button_Add.Text = "Добавить";
|
|
|
|
|
this.button_Add.UseVisualStyleBackColor = true;
|
|
|
|
|
this.button_Add.Click += new System.EventHandler(this.button_Add_Click);
|
|
|
|
|
//
|
|
|
|
|
// PanelObject
|
|
|
|
|
//
|
|
|
|
|
this.PanelObject.AllowDrop = true;
|
|
|
|
|
this.PanelObject.Controls.Add(this.pictureBoxObject);
|
|
|
|
|
this.PanelObject.Location = new System.Drawing.Point(494, 137);
|
|
|
|
|
this.PanelObject.Name = "PanelObject";
|
|
|
|
|
this.PanelObject.Size = new System.Drawing.Size(294, 190);
|
|
|
|
|
this.PanelObject.TabIndex = 11;
|
|
|
|
|
this.PanelObject.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop);
|
|
|
|
|
this.PanelObject.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter);
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxObject
|
|
|
|
|
//
|
|
|
|
|
this.pictureBoxObject.Location = new System.Drawing.Point(6, 14);
|
|
|
|
|
this.pictureBoxObject.Name = "pictureBoxObject";
|
|
|
|
|
this.pictureBoxObject.Size = new System.Drawing.Size(270, 157);
|
|
|
|
|
this.pictureBoxObject.TabIndex = 10;
|
|
|
|
|
this.pictureBoxObject.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// panelColor
|
|
|
|
|
//
|
|
|
|
|
this.panelColor.AllowDrop = true;
|
|
|
|
|
this.panelColor.Controls.Add(this.label_Additional_Color);
|
|
|
|
|
this.panelColor.Controls.Add(this.label_Color);
|
|
|
|
|
this.panelColor.Location = new System.Drawing.Point(500, 52);
|
|
|
|
|
this.panelColor.Name = "panelColor";
|
|
|
|
|
this.panelColor.Size = new System.Drawing.Size(288, 65);
|
|
|
|
|
this.panelColor.TabIndex = 11;
|
|
|
|
|
this.panelColor.DragDrop += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragDrop);
|
|
|
|
|
this.panelColor.DragEnter += new System.Windows.Forms.DragEventHandler(this.PanelObject_DragEnter);
|
|
|
|
|
//
|
|
|
|
|
// label_Additional_Color
|
|
|
|
|
//
|
|
|
|
|
this.label_Additional_Color.AllowDrop = true;
|
|
|
|
|
this.label_Additional_Color.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.label_Additional_Color.Location = new System.Drawing.Point(151, 4);
|
|
|
|
|
this.label_Additional_Color.Name = "label_Additional_Color";
|
|
|
|
|
this.label_Additional_Color.Size = new System.Drawing.Size(111, 47);
|
|
|
|
|
this.label_Additional_Color.TabIndex = 13;
|
|
|
|
|
this.label_Additional_Color.Text = "Доп.цвет";
|
|
|
|
|
this.label_Additional_Color.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
this.label_Additional_Color.DragDrop += new System.Windows.Forms.DragEventHandler(this.labelColor_DragDrop);
|
|
|
|
|
this.label_Additional_Color.DragEnter += new System.Windows.Forms.DragEventHandler(this.labelColor_dragEnter);
|
|
|
|
|
//
|
|
|
|
|
// label_Color
|
|
|
|
|
//
|
|
|
|
|
this.label_Color.AllowDrop = true;
|
|
|
|
|
this.label_Color.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.label_Color.Location = new System.Drawing.Point(14, 4);
|
|
|
|
|
this.label_Color.Name = "label_Color";
|
|
|
|
|
this.label_Color.Size = new System.Drawing.Size(115, 47);
|
|
|
|
|
this.label_Color.TabIndex = 12;
|
|
|
|
|
this.label_Color.Text = "Цвет";
|
|
|
|
|
this.label_Color.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
this.label_Color.DragDrop += new System.Windows.Forms.DragEventHandler(this.labelColor_DragDrop);
|
|
|
|
|
this.label_Color.DragEnter += new System.Windows.Forms.DragEventHandler(this.labelColor_dragEnter);
|
|
|
|
|
//
|
|
|
|
|
// FormTankConfig
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
|
|
|
this.Controls.Add(this.button_Add);
|
|
|
|
|
this.Controls.Add(this.panelColor);
|
|
|
|
|
this.Controls.Add(this.button_Cancel);
|
|
|
|
|
this.Controls.Add(this.PanelObject);
|
|
|
|
|
this.Controls.Add(this.groupBoxParameters);
|
|
|
|
|
this.Name = "FormTankConfig";
|
|
|
|
|
this.Text = "FormTankConfig";
|
|
|
|
|
this.groupBoxParameters.ResumeLayout(false);
|
|
|
|
|
this.groupBoxParameters.PerformLayout();
|
|
|
|
|
this.panelColor.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxObject)).EndInit();
|
|
|
|
|
this.groupBoxColors.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownWeight)).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownSpeed)).EndInit();
|
|
|
|
|
this.PanelObject.ResumeLayout(false);
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxObject)).EndInit();
|
|
|
|
|
this.panelColor.ResumeLayout(false);
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -380,8 +410,9 @@
|
|
|
|
|
private PictureBox pictureBoxObject;
|
|
|
|
|
private Button button_Cancel;
|
|
|
|
|
private Button button_Add;
|
|
|
|
|
private Label labelAdditionalColor;
|
|
|
|
|
private Label labelColor;
|
|
|
|
|
private Label label_Color;
|
|
|
|
|
private Panel PanelObject;
|
|
|
|
|
private Panel panelColor;
|
|
|
|
|
private Label label_Additional_Color;
|
|
|
|
|
}
|
|
|
|
|
}
|