private void edtReal_KeyUp(object sender, KeyEventArgs e) { Datum.ValidateDatumValue(DatumType, null, errorProvider, edtReal, edtImaginary.Value); }