public void SetSearchDataSouse(string srvca, string strWhere)
 {
     if (frm != null)
     {
         if (srvSearch.Length > 0)
         {
             XapDataList <EmsOrSrvSc> list = model.GetSrv(srvca, strWhere, false);
             frm.SCTextChanged(list);
         }
         else
         {
             frm.SCTextChanged(new XapDataList <EmsOrSrvSc>());
         }
     }
 }
Example #2
0
 public void SetSearchDataSouse(string strWhere)
 {
     if (frm != null)
     {
         if (srvSearch.ValueText.Length > 0)
         {
             XapDataList <EmsOrSrvSc> list = model.GetSrv(lastSrvCa == "" ? srvSearch.SelectKey.ToString() : lastSrvCa, srvSearch.ValueText, ent4BannerDto.Code_entp);
             frm.SCTextChanged(list);
         }
         else
         {
             frm.SCTextChanged(new XapDataList <EmsOrSrvSc>());
         }
     }
 }