コード例 #1
0
        /// <include file='CodeDoc/AutoHideStripBase.xml' path='//CodeDoc/Class[@name="AutoHideStripBase"]/Construct[@name="(DockPanel)"]/*'/>
        protected internal AutoHideStripBase(DockContainer panel)
        {
            m_dockPanel   = panel;
            m_panesTop    = new AutoHidePaneCollection(panel, DockState.DockTopAutoHide);
            m_panesBottom = new AutoHidePaneCollection(panel, DockState.DockBottomAutoHide);
            m_panesLeft   = new AutoHidePaneCollection(panel, DockState.DockLeftAutoHide);
            m_panesRight  = new AutoHidePaneCollection(panel, DockState.DockRightAutoHide);

                        #if FRAMEWORK_VER_2x
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
                        #else
            SetStyle(ControlStyles.DoubleBuffer, true);
                        #endif
            SetStyle(ControlStyles.Selectable, false);
        }
コード例 #2
0
ファイル: AutoHideStripBase.cs プロジェクト: itsbth/GLuaR
        /// <include file='CodeDoc/AutoHideStripBase.xml' path='//CodeDoc/Class[@name="AutoHideStripBase"]/Construct[@name="(DockPanel)"]/*'/>
        protected internal AutoHideStripBase(DockContainer panel)
        {
            m_dockPanel = panel;
            m_panesTop = new AutoHidePaneCollection(panel, DockState.DockTopAutoHide);
            m_panesBottom = new AutoHidePaneCollection(panel, DockState.DockBottomAutoHide);
            m_panesLeft = new AutoHidePaneCollection(panel, DockState.DockLeftAutoHide);
            m_panesRight = new AutoHidePaneCollection(panel, DockState.DockRightAutoHide);

            #if FRAMEWORK_VER_2x
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            #else
            SetStyle(ControlStyles.DoubleBuffer, true);
            #endif
            SetStyle(ControlStyles.Selectable, false);
        }
コード例 #3
0
 public AutoHidePaneEnumerator(AutoHidePaneCollection panes)
 {
     m_panes = panes;
     Reset();
 }
コード例 #4
0
 public AutoHidePaneEnumerator(AutoHidePaneCollection panes)
 {
     m_panes = panes;
     Reset();
 }