コード例 #1
0
        /// <summary>
        /// Unsubscribes from events and hides the layout panel, returning to the original window state.
        /// </summary>
        void FinishLayout()
        {
            IOController.HideDynamicLayoutPanel(this);

            MouseMove -= DragDropController_MouseMove;
            MouseUp   -= DragDropController_MouseUp;
            IOController.FlowLayoutEvents.PanelDrag -= MyEvents_PanelDrag;
            collection.RemoveEventFromForms(DropPanelOnCurrentForm);
            LinkFormsToStartDragDrop();
        }