Exemplo n.º 1
0
        private Rectangle GetTabRectangle_Document(int index)
        {
            Rectangle         rectTabStrip = ClientRectangle;
            DockPaneTabVS2003 tab          = (DockPaneTabVS2003)Tabs[index];

            return(new Rectangle(tab.TabX, rectTabStrip.Y + DocumentTabGapTop, tab.TabWidth, rectTabStrip.Height - DocumentTabGapTop));
        }
Exemplo n.º 2
0
        private Rectangle GetTabRectangle_ToolWindow(int index)
        {
            Rectangle rectTabStrip = ClientRectangle;

            DockPaneTabVS2003 tab = (DockPaneTabVS2003)(Tabs[index]);

            return(new Rectangle(tab.TabX, rectTabStrip.Y, tab.TabWidth, rectTabStrip.Height));
        }