FolderWidget/frmMain.cs
/// <summary>
/// Paint the background with gradient color
/// </summary>
Paint the background with gradient color
Paint the background with gradient color
protected override void OnPaintBackground(PaintEventArgs e)
        {
            using (LinearGradientBrush brush = new LinearGradientBrush(this.ClientRectangle, backgroundA, backgroundB, 90F))
            {
                e.Graphics.FillRectangle(brush, this.ClientRectangle);
            }
        }
protected override void OnPaintBackground ( PaintEventArgs e ) { using ( LinearGradientBrush brush = new LinearGradientBrush ( this . ClientRectangle , backgroundA , backgroundB , 90F ) ) { e . Graphics . FillRectangle ( brush , this . ClientRectangle ) ; } }
Paint the background with gradient color
Paint the background with gradient color
e
PaintEventArgs