public void EndEdit(bool applyChanges) { if (!applyChanges) _editor.Validating -= new CancelEventHandler(EditorValidating); Parent.Focus(); }