示例#1
0
 private void DrawTabGradient(Graphics g)
 {
     g.FillRectangle(TabBrushes.GetTabGradient(ClientRectangle), ClientRectangle);
 }
示例#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), ClientRectangle);
 }