예제 #1
0
 void SendDocClient_GetMYSendDocInfosListCompleted(object sender, GetMYSendDocInfosListCompletedEventArgs e)
 {
     loadbar.Stop();
     try
     {
         if (e.Result != null)
         {
             SelectBox = Utility.FindChildControl <CheckBox>(DaGr, "SelectAll");
             BindDataGrid(e.Result.ToList(), e.pageCount);
         }
         else
         {
             BindDataGrid(null, 0);
         }
     }
     catch (Exception ex)
     {
         Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
     }
 }
예제 #2
0
        void SendDocClient_GetMYSendDocInfosListCompleted(object sender, GetMYSendDocInfosListCompletedEventArgs e)
        {
            loadbar.Stop();
            try
            {
                if (e.Result != null)
                {
                    SelectBox = Utility.FindChildControl<CheckBox>(DaGr, "SelectAll");
                    BindDataGrid(e.Result.ToList(), e.pageCount);
                }
                else
                {
                    BindDataGrid(null, 0);
                }
                
            }
            catch (Exception ex)
            {

                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.ToString());
            }
        }