Esempio n. 1
0
 void client_GetSatisfactionMasterChildCompleted(object sender, GetSatisfactionMasterChildCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Error != null)
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("GETDATAFAILED"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
         return;
     }
     if (e.Result == null)
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("TIPS"), Utility.GetResourceStr("NOTFOUNDDATAOFMATCHCON"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         return;
     }
     this.contextInfo.DataContext = masterEntity = e.Result;
     this.dgSubject.ItemsSource   = masterEntity.T_OA_SATISFACTIONDETAIL;
 }
 void client_GetSatisfactionMasterChildCompleted(object sender, GetSatisfactionMasterChildCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Error != null)
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("GETDATAFAILED"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
         return;
     }
     if (e.Result == null)
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("TIPS"), Utility.GetResourceStr("NOTFOUNDDATAOFMATCHCON"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         return;
     }
     this.contextInfo.DataContext = masterEntity = e.Result;
     this.dgSubject.ItemsSource = masterEntity.T_OA_SATISFACTIONDETAIL;
 }