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