public override Rectangle TabControlGetPanelRect (TabControl tab) { return ThemeElements.CurrentTheme.TabControlPainter.GetTabPanelRect (tab); }