Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="e"></param>
 protected override void OnPaint(PaintEventArgs e)
 {
     base.OnPaint(e);
     e.Graphics.FillRectangle(TabBrushes.GetPropertyControlGradient(Screen.PrimaryScreen.Bounds), ClientRectangle);
 }
Exemple #2
0
 private void DrawTabGradient(Graphics g)
 {
     g.FillRectangle(TabBrushes.GetTabGradient(ClientRectangle), ClientRectangle);
 }