private Rectangle GetTabImageRect(int index) { using (GraphicsPath tabBorderPath = this._StyleProvider.GetTabBorder(index)){ return this.GetTabImageRect(tabBorderPath); } }