示例#1
0
            public void BeginDrag(IDockDragSource dragSource)
            {
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }
                Outline   = new DockOutline();
                Indicator = new DockIndicator(this);
                Indicator.Show(false);
                //MessageBox.Show(DragSource.GetType().FullName);
                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }
            public void BeginDrag(IDockDragSource dragSource)
            {
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }

                Outline = new DockOutline();
                Indicator = new DockIndicator(this);
                Indicator.Show(false);

                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }
            public void BeginDrag(IDockDragSource dragSource)
            {
                Console.WriteLine("DockDragHandler:BeginDrag");
                DragSource = dragSource;

                if (!BeginDrag())
                {
                    DragSource = null;
                    return;
                }

                Console.WriteLine("DockOutline:new");
                Outline = new DockOutline();
                Console.WriteLine("DockIndicator:new");
                Indicator = new DockIndicator(this);
                Indicator.Show(false);

                FloatOutlineBounds = DragSource.BeginDrag(StartMousePosition);
            }