Esempio n. 1
0
 void client_GetContactsListPagingCompleted(object sender, GetContactsListPagingCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         DtGrid.ItemsSource  = e.Result;
         dataPager.PageCount = e.pageCount;
     }
     loadbar.Stop();
 }
Esempio n. 2
0
 void client_GetContactsListPagingCompleted(object sender, GetContactsListPagingCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         DtGrid.ItemsSource = e.Result;
         dataPager.PageCount = e.pageCount;
     }
     loadbar.Stop();
 }