Пример #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);
 }
Пример #2
0
 private void DrawTabGradient(Graphics g)
 {
     g.FillRectangle(TabBrushes.GetTabGradient(ClientRectangle), ClientRectangle);
 }