Esempio n. 1
0
 void client_AddSatisfactionMasterCompleted(object sender, AddSatisfactionMasterCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Result && e.Error == null)
     {
         actionType = FormTypes.Edit;
         ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("ADDSUCCESSED"), Utility.GetResourceStr("ADDDATASUCCESSED"), Utility.GetResourceStr("CONFIRM"));
         return;
     }
     ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ADDFAILED"), Utility.GetResourceStr("ADDFAILED"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
 }
 void client_AddSatisfactionMasterCompleted(object sender, AddSatisfactionMasterCompletedEventArgs e)
 {
     RefreshUI(RefreshedTypes.HideProgressBar);
     if (e.Result && e.Error == null)
     {
         actionType = FormTypes.Edit;
         ComfirmWindow.ConfirmationBox(Utility.GetResourceStr("ADDSUCCESSED"), Utility.GetResourceStr("ADDDATASUCCESSED"), Utility.GetResourceStr("CONFIRM"));
         return;
     }
     ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ADDFAILED"), Utility.GetResourceStr("ADDFAILED"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);     
 }