form./*some grid*/.CustomDrawCell += (s, e) =>
{
var row = form./*some grid*/.GetRow(e.RowHandle) as XXX;
if (row == null)
{
return;
}
if (row./*something*/)
{
e.Appearance.ForeColor = Color.Black;
e.Appearance.BackColor = G_PatientStatusColor.C_Priet;
}
};
# Червен
G_PatientStatusColor.C_ZaIzpisvane
# Зелен
G_PatientStatusColor.C_Priet
# Бледо син (редактиран)
G_PatientStatusColor.C_Chakasht
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter