private void starthour_KeyUp(object sender, KeyEventArgs e) { CalculateEndDateFromDuration(); ShowValidation(); if(starthour.Text.Length == 2) startminute.Focus(); }