Пример #1
0
            public TabHeaderPanel(GlyphTabControl ownerTabControl)
            {
                OwnerTabControl = ownerTabControl;
                ToolTip         = new ToolTip();

                SetStyle(ControlStyles.AllPaintingInWmPaint
                         | ControlStyles.UserPaint
                         | ControlStyles.UserMouse
                         | ControlStyles.OptimizedDoubleBuffer
                         | ControlStyles.Opaque, true);

                SetStyle(ControlStyles.Selectable, false);
            }
 internal TabPageCollection(GlyphTabControl ownerTabControl) => OwnerTabControl = ownerTabControl;