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