Exemple #1
0
 void messageClient_GetDefineMessageListCompleted(object sender, GetDefaultMessgeListCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         DataGridDefaultMessage.ItemsSource = e.Result;
         dataPager1.PageCount = e.pageCount;
     }
     else
     {
         ComfirmWindow.ConfirmationBox("提示信息", "异常信息:" + e.Error.Message, "确定");
     }
     pBar.Stop();
 }
Exemple #2
0
 void messageClient_GetDefineMessageListCompleted(object sender, GetDefaultMessgeListCompletedEventArgs e)
 {
     if (e.Error == null)
     {               
         DataGridDefaultMessage.ItemsSource = e.Result;
         dataPager1.PageCount = e.pageCount;
     }
     else
     {
         ComfirmWindow.ConfirmationBox("提示信息", "异常信息:" + e.Error.Message, "确定");
     }
     pBar.Stop();
 }