private void DrawLinearGradient(Color topColor) { using (var lgb = new LinearGradientBrush(this._brightnessRectangle, topColor, Color.Black, LinearGradientMode.Vertical)) { this._graphics.FillRectangle(lgb, this._brightnessRectangle); } }