Beispiel #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);
        }
 public AutoHidePaneEnumerator(AutoHidePaneCollection panes)
 {
     m_panes = panes;
     Reset();
 }