protected virtual void OnLostFocus() { result = ModalWindowResult.LostFocus; if (owner != null) { owner.ModalClosed(this); } }
protected virtual void Ok() { result = ModalWindowResult.Ok; if (owner != null) { owner.ModalClosed(this); } Close(); }