PIBD-13_Marinenkova_V.A._LabWork05_Base #5
@ -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
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user