AdvancedPageDragAndDrop.PageDragTreeView.PageDragEnd C# (CSharp) 메소드

PageDragEnd() 개인적인 메소드

private PageDragEnd ( Point pt ) : void
pt Point
리턴 void
        private void PageDragEnd(Point pt)
        {
            if (DragPageNotify != null)
            {
                // Let the target transfer the page across
                if (DragPageNotify.PageDragEnd(this, new PointEventArgs(PointToScreen(pt))))
                {
                    // Should we remove the page that can been transferred
                    if (RemovePages)
                        Nodes.Remove(_dragNode);
                }

                // Transfered the page to the target, so do not dispose it
                _dragPage = null;

                // No longer dragging
                _dragging = false;
                Capture = false;
            }
        }