private void endyear_KeyUp(object sender, KeyEventArgs e) { CalculateDurationFromEndDate(); ShowValidation(); if(endyear.Text.Length == 4) endhour.Focus(); }