public void TabControl6_TabPaintBorder(object sender, Thinksea.Windows.Forms.MdiTabControl.TabControl.TabPaintEventArgs e) { if (e.Selected || e.Hot) { e.Handled = false; e.Graphics.FillRectangle(Brushes.Orange, 0, 0, e.TabWidth, 3); } }
public void TabControl3_TabPaintBorder(object sender, Thinksea.Windows.Forms.MdiTabControl.TabControl.TabPaintEventArgs e) { if (!e.Selected) { e.Handled = true; e.Graphics.DrawLine(Pens.Azure, e.ClipRectangle.Width - 1, 2, e.ClipRectangle.Width - 1, e.ClipRectangle.Height - 3); } }