Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 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);
     }
 }