{protected override vide Paint (System.Drawing.Graphics g,
Limites System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager
source int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush
foreBrush, bool alignToRight)
{
OneCell {
objet o = this.GetColumnValueAtRow (source, rowNum);
if (o! = null)
{
char c = ((string) o) [0];
si (c> 'F')
{
backBrush = new LinearGradientBrush (limites,
Color.FromArgb (255, 200, 200),
Color.FromArgb (128, 20, 20),
LinearGradientMode.BackwardDiagonal);
foreBrush = new SolidBrush (Color.White);
}
}
}
catch (Exception ex)
ChangeColor {
base.Paint (g, limites, la source, rowNum, backBrush, foreBrush, alignToRight);
}
}
}