示例#1
3
        public DockPanel()
        {
            ShowAutoHideContentOnHover = true;

            m_focusManager = new FocusManagerImpl(this);
            m_extender = new DockPanelExtender(this);
            m_panes = new DockPaneCollection();
            m_floatWindows = new FloatWindowCollection();

            SuspendLayout();

            m_autoHideWindow = Extender.AutoHideWindowFactory.CreateAutoHideWindow(this);
            m_autoHideWindow.Visible = false;
            m_autoHideWindow.ActiveContentChanged += m_autoHideWindow_ActiveContentChanged; 
            SetAutoHideWindowParent();

            m_dummyControl = new DummyControl();
            m_dummyControl.Bounds = new Rectangle(0, 0, 1, 1);
            Controls.Add(m_dummyControl);

            LoadDockWindows();

            m_dummyContent = new DockContent();
            ResumeLayout();
        }
        public DockPanel()
        {
            m_focusManager = new FocusManagerImpl(this);
            m_extender     = new DockPanelExtender(this);
            m_panes        = new DockPaneCollection();
            m_floatWindows = new FloatWindowCollection();

            SuspendLayout();

            m_autoHideWindow         = new AutoHideWindowControl(this);
            m_autoHideWindow.Visible = false;
            SetAutoHideWindowParent();

            m_dummyControl        = new DummyControl();
            m_dummyControl.Bounds = new Rectangle(0, 0, 1, 1);
            Controls.Add(m_dummyControl);

            m_dockWindows = new DockWindowCollection(this);
            Controls.AddRange(new Control[] {
                DockWindows[DockState.Document],
                DockWindows[DockState.DockLeft],
                DockWindows[DockState.DockRight],
                DockWindows[DockState.DockTop],
                DockWindows[DockState.DockBottom]
            });

            m_dummyContent = new DockContent();
            ResumeLayout();
        }
示例#3
0
        public DockPanel()
        {
            ShowAutoHideContentOnHover = true;

            m_focusManager = new FocusManagerImpl(this);
            m_extender     = new DockPanelExtender(this);
            m_panes        = new DockPaneCollection();
            m_floatWindows = new FloatWindowCollection();

            SuspendLayout();

            m_autoHideWindow         = Extender.AutoHideWindowFactory.CreateAutoHideWindow(this);
            m_autoHideWindow.Visible = false;
            m_autoHideWindow.ActiveContentChanged += m_autoHideWindow_ActiveContentChanged;
            SetAutoHideWindowParent();

            m_dummyControl        = new DummyControl();
            m_dummyControl.Bounds = new Rectangle(0, 0, 1, 1);
            Controls.Add(m_dummyControl);

            LoadDockWindows();

            m_dummyContent = new DockContent();
            ResumeLayout();
        }
示例#4
0
        public DockPanel()
        {
            m_focusManager = new FocusManagerImpl(this);
            m_extender = new DockPanelExtender(this);
            m_panes = new DockPaneCollection();
            m_floatWindows = new FloatWindowCollection();

            SuspendLayout();

            m_autoHideWindow = new AutoHideWindowControl(this);
            m_autoHideWindow.Visible = false;
            SetAutoHideWindowParent();

            m_dummyControl = new DummyControl();
            m_dummyControl.Bounds = new Rectangle(0, 0, 1, 1);
            Controls.Add(m_dummyControl);

            m_dockWindows = new DockWindowCollection(this);
            Controls.AddRange(new Control[]	{
				DockWindows[DockState.Document],
				DockWindows[DockState.DockLeft],
				DockWindows[DockState.DockRight],
				DockWindows[DockState.DockTop],
				DockWindows[DockState.DockBottom]
				});

            m_dummyContent = new DockContent();
            ResumeLayout();
        }
示例#5
0
		public DockPanel()
		{
            m_focusManager = new FocusManagerImpl(this);
			m_extender = new DockPanelExtender(this);
			m_panes = new DockPaneCollection();
			m_floatWindows = new FloatWindowCollection();

			SetStyle(ControlStyles.ResizeRedraw |
				ControlStyles.UserPaint |
				ControlStyles.AllPaintingInWmPaint, true);

            SuspendLayout();
            Font = PluginCore.PluginBase.Settings.DefaultFont;

			m_autoHideWindow = new AutoHideWindowControl(this);
			m_autoHideWindow.Visible = false;
            SetAutoHideWindowParent();

			m_dummyControl = new DummyControl();
			m_dummyControl.Bounds = new Rectangle(0, 0, 1, 1);
			Controls.Add(m_dummyControl);

			m_dockWindows = new DockWindowCollection(this);
			Controls.AddRange(new Control[]	{
				DockWindows[DockState.Document],
				DockWindows[DockState.DockLeft],
				DockWindows[DockState.DockRight],
				DockWindows[DockState.DockTop],
				DockWindows[DockState.DockBottom]
				});

			m_dummyContent = new DockContent();
            ResumeLayout();
        }
示例#6
0
        public DockPanel()
        {
            m_focusManager = new FocusManagerImpl(this);
            m_extender     = new DockPanelExtender(this);
            m_panes        = new DockPaneCollection();
            m_floatWindows = new FloatWindowCollection();

            SetStyle(ControlStyles.ResizeRedraw |
                     ControlStyles.UserPaint |
                     ControlStyles.AllPaintingInWmPaint, true);

            SuspendLayout();
            //Font = PluginCore.PluginBase.Settings.DefaultFont;

            m_autoHideWindow         = new AutoHideWindowControl(this);
            m_autoHideWindow.Visible = false;
            SetAutoHideWindowParent();

            m_dummyControl        = new DummyControl();
            m_dummyControl.Bounds = new Rectangle(0, 0, 1, 1);
            Controls.Add(m_dummyControl);

            m_dockWindows = new DockWindowCollection(this);
            Controls.AddRange(new Control[] {
                DockWindows[DockState.Document],
                DockWindows[DockState.DockLeft],
                DockWindows[DockState.DockRight],
                DockWindows[DockState.DockTop],
                DockWindows[DockState.DockBottom]
            });

            m_dummyContent = new DockContent();
            ResumeLayout();
        }
示例#7
0
        public DockPanel()
        {
            this._mFocusManager = new FocusManagerImpl(this);
            this._mExtender = new DockPanelExtender(this);
            this._mPanes = new DockPaneCollection();
            this._mFloatWindows = new FloatWindowCollection();

            SuspendLayout();

            this._mAutoHideWindow = new AutoHideWindowControl(this)
            {
                Visible = false
            };
            this.SetAutoHideWindowParent();

            this._mDummyControl = new DummyControl
            {
                Bounds = new Rectangle(0, 0, 1, 1)
            };
            Controls.Add(this._mDummyControl);

            this._mDockWindows = new DockWindowCollection(this);
            Controls.AddRange(new Control[]	{
                this.DockWindows[DockState.Document],
                this.DockWindows[DockState.DockLeft],
                this.DockWindows[DockState.DockRight],
                this.DockWindows[DockState.DockTop],
                this.DockWindows[DockState.DockBottom]
                });

            this._mDummyContent = new DockContent();
            ResumeLayout();
        }
示例#8
0
        public void ResetAutoHideStripWindow()
        {
            var old = m_autoHideWindow;

            m_autoHideWindow         = Extender.AutoHideWindowFactory.CreateAutoHideWindow(this);
            m_autoHideWindow.Visible = false;
            SetAutoHideWindowParent();

            old.Visible = false;
            old.Parent  = null;
            old.Dispose();
        }
示例#9
0
        public void ResetAutoHideStripWindow()
        {
            var old = m_autoHideWindow;
            m_autoHideWindow = Extender.AutoHideWindowFactory.CreateAutoHideWindow(this);
            m_autoHideWindow.Visible = false;
            SetAutoHideWindowParent();

            old.Visible = false;
            old.Parent = null;
            old.Dispose();
        }
示例#10
0
 public SplitterControl(AutoHideWindowControl autoHideWindow)
 {
     m_autoHideWindow = autoHideWindow;
 }
 public SplitterControl(AutoHideWindowControl autoHideWindow)
 {
     m_autoHideWindow = autoHideWindow;
 }
 public SplitterControl(AutoHideWindowControl autoHideWindow)
 {
     this._mAutoHideWindow = autoHideWindow;
 }