I have a whole bunch of timepcikers on a form. I need to have a button on the form to set all times to 12:00 AM. It is a rest for the user. I wanted to do something like this:
foreach(Control c in this.Controls)
{
if(c is radTimePicker)
{
// set time here ;]
}
}
I'm not sure what I should use for "Control" and "this.Controls" I'm guessing radTimePicker is correct.
foreach(Control c in this.Controls)
{
if(c is radTimePicker)
{
// set time here ;]
}
}
I'm not sure what I should use for "Control" and "this.Controls" I'm guessing radTimePicker is correct.