public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
 {
     this.DragSource = dragSource;
     this.RectSplitter = rectSplitter;
     if(!this.BeginDrag()){
         this.DragSource = null;
         return;
     }
     this.Outline = new SplitterOutline();
     this.Outline.Show(rectSplitter);
     this.DragSource.BeginDrag(rectSplitter);
 }
			public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter) {
				DragSource = dragSource;
				RectSplitter = rectSplitter;

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

				Outline = new SplitterOutline();
				Outline.Show(rectSplitter);
				DragSource.BeginDrag(rectSplitter);
			}
示例#3
0
 public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
 {
     this.DragSource   = dragSource;
     this.RectSplitter = rectSplitter;
     if (!this.BeginDrag())
     {
         this.DragSource = null;
         return;
     }
     this.Outline = new SplitterOutline();
     this.Outline.Show(rectSplitter);
     this.DragSource.BeginDrag(rectSplitter);
 }
示例#4
0
 public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
 {
     DragSource   = dragSource;
     RectSplitter = rectSplitter;
     if (!BeginDrag())
     {
         DragSource = null;
         return;
     }
     Outline = new SplitterOutline();
     Outline.Show(rectSplitter);
     DragSource.BeginDrag(rectSplitter);
 }
            public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
            {
                DragSource = dragSource;
                RectSplitter = rectSplitter;

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

                if (Type.GetType("Mono.Runtime") == null) { rectSplitter = Rectangle.Empty; }

                Outline = new SplitterOutline();
                Outline.Show(rectSplitter);
                DragSource.BeginDrag(rectSplitter);
            }
            public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
            {
                DragSource   = dragSource;
                RectSplitter = rectSplitter;

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

                if (Type.GetType("Mono.Runtime") == null)
                {
                    rectSplitter = Rectangle.Empty;
                }

                Outline = new SplitterOutline();
                Outline.Show(rectSplitter);
                DragSource.BeginDrag(rectSplitter);
            }
示例#7
0
            public void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
            {
                DragSource = dragSource;
                RectSplitter = rectSplitter;

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

                if (DockPanel != null && !DockPanel.AllowChangeDock)
                {
                    DragSource = null;
                    return;
                }

                Outline = new SplitterOutline();
                Outline.Show(rectSplitter);
                DragSource.BeginDrag(rectSplitter);
            }
 internal void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
 {
     GetSplitterDragHandler().BeginDrag(dragSource, rectSplitter);
 }
示例#9
0
 internal void BeginDrag(ISplitterDragSource dragSource, Rectangle rectSplitter)
 {
     GetSplitterDragHandler().BeginDrag(dragSource, rectSplitter);
 }