Exemplo n.º 1
0
        protected internal DockPane(IDockContent content, FloatWindow floatWindow, bool show)
        {
            AllowDockDragAndDrop = true;
            AutoHidePane = null;
            if (floatWindow == null)
                throw new ArgumentNullException("floatWindow");

            InternalConstruct(content, DockState.Float, false, Rectangle.Empty, floatWindow.NestedPanes.GetDefaultPreviousPane(this), DockAlignment.Right, 0.5, show);
        }
Exemplo n.º 2
0
        internal void RemoveFloatWindow(FloatWindow floatWindow)
        {
            if (!FloatWindows.Contains(floatWindow))
                return;

            FloatWindows.Remove(floatWindow);
        }
 public DockPane CreateDockPane(IDockContent content, FloatWindow floatWindow, bool show)
 {
     return new DockPane(content, floatWindow, show);
 }
Exemplo n.º 4
0
        internal void AddFloatWindow(FloatWindow floatWindow)
        {
            if (FloatWindows.Contains(floatWindow))
                return;

            FloatWindows.Add(floatWindow);
        }