private void _keyboardActuator_EvtKeyPress(object sender, KeyPressEventArgs e) { if (EvtDone != null) { int c = e.KeyChar; if (c == 27) { EvtDone.BeginInvoke(false, null, null); } } }