Пример #1
0
 void client_GetModelDefineListCompleted(object sender, GetModelDefineListCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         dgModelCode.ItemsSource = e.Result;
         dataPager1.PageCount    = e.pageCount;
     }
     else
     {
         ComfirmWindow.ConfirmationBox("提示信息", "数据查询失败,请重新刷新数据!", "确定");
     }
     pBar.Stop();
 }
Пример #2
0
 void client_GetModelDefineListCompleted(object sender, GetModelDefineListCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         dgModelCode.ItemsSource = e.Result;
         dataPager1.PageCount = e.pageCount;
     }
     else
     {
         ComfirmWindow.ConfirmationBox("提示信息", "数据查询失败,请重新刷新数据!", "确定");
     }
     pBar.Stop();
 }