private void RaiseSimpleSearchClickEvent() { APOChoosePopupSearchClickEventArgs arg = new APOChoosePopupSearchClickEventArgs(); arg.Param.MainSearch = _tbSimpleSearch.Text; OnSearchClick(arg); }
private void RaiseAdvancedSearchClickEvent() { APOChoosePopupSearchClickEventArgs arg = new APOChoosePopupSearchClickEventArgs(); arg.Param.MainSearch = _tbSimpleSearch.Text; arg.Param.DossageFormName = _tbDosageForm.Text.Trim(); arg.Param.Unit = _ddlUnit.SelectedItem != null ? _ddlUnit.SelectedItem.Text : String.Empty; arg.Param.ProducerName = _tbProducer.Text.Trim(); arg.Param.IsInDefaultStock = _cbIsProductPartOfDefaultStock.Checked; OnSearchClick(arg); }
protected void OnSearchClick(APOChoosePopupSearchClickEventArgs e) { try { if (SearchClick != null) { SearchClick(this, e); } } catch (Exception ex) { ServerLog.Instance.Error(ex); } }