private bool ValidateControl(object control)
{
if (control.GetType() == typeof(DemonbuddyOptions))
return ((DemonbuddyOptions) control).ValidateInput();
if (control.GetType() == typeof(DiabloOptions))
return ((DiabloOptions)control).ValidateInput();
if (control.GetType() == typeof(ProfileSchedule))
return ((ProfileSchedule)control).ValidateInput();
if (control.GetType() == typeof(WeekSchedule))
return ((WeekSchedule)control).ValidateInput();
// Else always return true
return true;
}