Day of Week Change Text

  • Thread starter Thread starter Current date
  • Start date Start date
C

Current date

Guest
How can I make sure that if it is Monday that the text indicates that it is Monday and if it is not Monday that the text indicates that it is not Monday?

I use the following setup as indicated below, but I don't know what to declare as an if function (?????).

private void chkAgenda_TextChanged(object sender, EventArgs e)
{

if (?????)
{
chkAgenda.Text = No monday;
}

else
{
chkAgenda.Text = Monday;
}
}

Continue reading...
 
Back
Top