Easy
if (lblExample.ForeColor != System.Drawing.Color.Red)
{
lblExample.ForeColor = System.Drawing.Color.Red;
}
else
{
lblExample.ForeColor = new System.Drawing.Color();
}
Easy
if (lblExample.ForeColor != System.Drawing.Color.Red)
{
lblExample.ForeColor = System.Drawing.Color.Red;
}
else
{
lblExample.ForeColor = new System.Drawing.Color();
}