void caswsc_GetInquiryViewContractApplicationCompleted(object sender, GetInquiryViewContractApplicationCompletedEventArgs e)
 {
     loadbar.Stop();
     try
     {
         if (e.Result != null)
         {
             BindDataGrid(e.Result.ToList(), e.pageCount);
         }
         else
         {
             BindDataGrid(null, 0);
         }
     }
     catch (Exception ex)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
     }
 }
Exemplo n.º 2
0
 void caswsc_GetInquiryViewContractApplicationCompleted(object sender, GetInquiryViewContractApplicationCompletedEventArgs e)
 {
     loadbar.Stop();
     try
     {
         if (e.Result != null)
         {
             BindDataGrid(e.Result.ToList(), e.pageCount);
         }
         else
         {
             BindDataGrid(null, 0);
         }
     }
     catch (Exception ex)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
     }
 }