diff --git a/Bulldozer/Bulldozer/FormBulldozerConfig.Designer.cs b/Bulldozer/Bulldozer/FormBulldozerConfig.Designer.cs index 7e07d50..b7342a6 100644 --- a/Bulldozer/Bulldozer/FormBulldozerConfig.Designer.cs +++ b/Bulldozer/Bulldozer/FormBulldozerConfig.Designer.cs @@ -125,6 +125,7 @@ this.labelModifiedObject.TabIndex = 8; this.labelModifiedObject.Text = "Продвинутый"; this.labelModifiedObject.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.labelModifiedObject.MouseDown += labelObject_MouseDown; // // labelSimpleObject // @@ -137,6 +138,7 @@ this.labelSimpleObject.TabIndex = 7; this.labelSimpleObject.Text = "Простой"; this.labelSimpleObject.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.labelSimpleObject.MouseDown += labelObject_MouseDown; // // groupBoxColors // @@ -156,6 +158,8 @@ this.groupBoxColors.TabIndex = 6; this.groupBoxColors.TabStop = false; this.groupBoxColors.Text = "Цвета"; + this.groupBoxColors.DragDrop += PanelObject_DragDrop; + this.groupBoxColors.DragEnter += PanelObject_DragEnter; // // panelPurple // @@ -165,6 +169,7 @@ this.panelPurple.Name = "panelPurple"; this.panelPurple.Size = new System.Drawing.Size(43, 43); this.panelPurple.TabIndex = 1; + this.panelPurple.MouseDown += panelColor_MouseDown; // // panelBlack // @@ -174,6 +179,7 @@ this.panelBlack.Name = "panelBlack"; this.panelBlack.Size = new System.Drawing.Size(43, 43); this.panelBlack.TabIndex = 1; + this.panelBlack.MouseDown += panelColor_MouseDown; // // panelGray // @@ -183,6 +189,7 @@ this.panelGray.Name = "panelGray"; this.panelGray.Size = new System.Drawing.Size(43, 43); this.panelGray.TabIndex = 1; + this.panelGray.MouseDown += panelColor_MouseDown; // // panelWhite // @@ -192,6 +199,7 @@ this.panelWhite.Name = "panelWhite"; this.panelWhite.Size = new System.Drawing.Size(43, 43); this.panelWhite.TabIndex = 1; + this.panelWhite.MouseDown += panelColor_MouseDown; // // panelYellow // @@ -201,6 +209,7 @@ this.panelYellow.Name = "panelYellow"; this.panelYellow.Size = new System.Drawing.Size(43, 43); this.panelYellow.TabIndex = 1; + this.panelYellow.MouseDown += panelColor_MouseDown; // // panelBlue // @@ -210,6 +219,7 @@ this.panelBlue.Name = "panelBlue"; this.panelBlue.Size = new System.Drawing.Size(43, 43); this.panelBlue.TabIndex = 1; + this.panelBlue.MouseDown += panelColor_MouseDown; // // panelGreen // @@ -219,6 +229,7 @@ this.panelGreen.Name = "panelGreen"; this.panelGreen.Size = new System.Drawing.Size(43, 43); this.panelGreen.TabIndex = 1; + this.panelGreen.MouseDown += panelColor_MouseDown; // // panelRed // @@ -228,6 +239,7 @@ this.panelRed.Name = "panelRed"; this.panelRed.Size = new System.Drawing.Size(43, 43); this.panelRed.TabIndex = 0; + this.panelRed.MouseDown += panelColor_MouseDown; // // numericUpDownWeight // @@ -315,6 +327,8 @@ this.panelObject.Name = "panelObject"; this.panelObject.Size = new System.Drawing.Size(334, 202); this.panelObject.TabIndex = 2; + this.panelObject.DragDrop += PanelObject_DragDrop; + this.panelObject.DragEnter += PanelObject_DragEnter; // // labelAddColor // @@ -327,6 +341,9 @@ this.labelAddColor.TabIndex = 3; this.labelAddColor.Text = "Дополн. цвет"; this.labelAddColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.labelAddColor.DragDrop += labelColor_dragDrop; + this.labelAddColor.DragEnter += labelColor_dragEnter; + // // labelColor // @@ -339,6 +356,8 @@ this.labelColor.TabIndex = 2; this.labelColor.Text = "Основной цвет"; this.labelColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.labelColor.DragDrop += labelColor_dragDrop; + this.labelColor.DragEnter += labelColor_dragEnter; // // buttonAdd // @@ -349,6 +368,7 @@ this.buttonAdd.TabIndex = 3; this.buttonAdd.Text = "Добавить"; this.buttonAdd.UseVisualStyleBackColor = true; + this.buttonAdd.Click += buttonAdd_Click; // // buttonCancel //