Ejemplo n.º 1
0
 public void Search()
 {
     try
     {
         if (CommonGlobalUtil.EngineUnconnectioned(this))
         {
             return;
         }
         InReturnTrackChange listPage = CommonGlobalCache.ServerProxy.GetCostumeStoreChange4In(para);
         if (listPage != null && listPage.PurchaseOrders != null)
         {
             foreach (var item in listPage.PurchaseOrders)
             {
                 item.ShopName = CommonGlobalCache.GetShopName(item.DestShopID);
                 item.UserName = CommonGlobalCache.GetUserName(item.AdminUserID);
             }
         }
         dataGridViewPagingSumCtrl.BindingDataSource(listPage?.PurchaseOrders, true, listPage?.PurchaseOrderSum);
     }
     catch (Exception ex) { CommonGlobalUtil.ShowError(ex); }
     finally
     {
         UnLockPage();
     }
 }
Ejemplo n.º 2
0
 public void Search()
 {
     try
     {
         if (CommonGlobalUtil.EngineUnconnectioned(this))
         {
             return;
         }
         InReturnTrackChange listPage = CommonGlobalCache.ServerProxy.GetCostumeStoreChange4Return(para);
         dataGridViewPagingSumCtrl.BindingDataSource(listPage?.PurchaseOrders, true, listPage?.PurchaseOrderSum);
     }
     catch (Exception ex) { CommonGlobalUtil.ShowError(ex); }
     finally
     {
         UnLockPage();
     }
 }