private void edtValue_KeyUp(object sender, KeyEventArgs e) { Datum.ValidateDatumValue(DatumType, null, errorProvider, edtValue, edtValue.Value); }