private void onAfterPopupQueryClose(XtraRepositoryItemEventArg arg) { if (_AfterPopupQueryClose != null) { _AfterPopupQueryClose(this, arg); } }
private void onBeforePopupQuery(XtraRepositoryItemEventArg arg) { if (_BeforePopupQuery != null) { _BeforePopupQuery(this, arg); } }
private void XtraRepositoryItemPopupContainerEdit_QueryPopUp(object sender, CancelEventArgs e) { XtraRepositoryItemEventArg arg = new XtraRepositoryItemEventArg(); onBeforePopupQuery(arg); if (arg.Cancel) { e.Cancel = true; return; } if (_AllowEdit) { PopupContainerFindRowByEditValue(); } else { e.Cancel = true; } }