PIBD-13_Marinenkova_V.A._LabWork05_Base #5

Closed
marva wants to merge 3 commits from LabWork05 into LabWork04
Showing only changes of commit 874486dd20 - Show all commits

View File

@ -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
//