From 874486dd2021f6daf88eb0889969d9fca5ef382d Mon Sep 17 00:00:00 2001 From: mar-va Date: Mon, 15 Apr 2024 21:57:48 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=965?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectAccordionBus/FormBusConfig.Designer.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ProjectAccordionBus/ProjectAccordionBus/FormBusConfig.Designer.cs b/ProjectAccordionBus/ProjectAccordionBus/FormBusConfig.Designer.cs index 57fa9f4..263bcfd 100644 --- a/ProjectAccordionBus/ProjectAccordionBus/FormBusConfig.Designer.cs +++ b/ProjectAccordionBus/ProjectAccordionBus/FormBusConfig.Designer.cs @@ -241,6 +241,8 @@ labelModifiedObject.Text = "Продвинутый"; labelModifiedObject.TextAlign = ContentAlignment.MiddleCenter; labelModifiedObject.Click += buttonAdd_Click; + labelModifiedObject.DragDrop += panelObject_DragDrop; + labelModifiedObject.DragEnter += panelObjects_DragEnter; labelModifiedObject.MouseDown += labelObject_MouseDown; // // labelSimpleObject @@ -265,6 +267,9 @@ pictureBoxObject.Size = new Size(173, 95); pictureBoxObject.TabIndex = 1; pictureBoxObject.TabStop = false; + pictureBoxObject.DragDrop += panelObject_DragDrop; + pictureBoxObject.DragEnter += panelObjects_DragEnter; + pictureBoxObject.MouseDown += panel_MouseDown; // // buttonAdd // @@ -287,6 +292,7 @@ // // panelObjects // + panelObjects.AllowDrop = true; panelObjects.Controls.Add(labelAdditionalColor); panelObjects.Controls.Add(labelBodyColor); panelObjects.Controls.Add(pictureBoxObject); @@ -296,6 +302,7 @@ panelObjects.TabIndex = 4; panelObjects.DragDrop += panelObject_DragDrop; panelObjects.DragEnter += panelObjects_DragEnter; + panelObjects.MouseDown += panel_MouseDown; // // labelAdditionalColor //