private void startyear_KeyUp(object sender, KeyEventArgs e) { CalculateEndDateFromDuration(); ShowValidation(); if(startyear.Text.Length == 4) starthour.Focus(); }