예제 #1
0
 /// <summary>
 /// 删除当前绩效考核后的事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_DeleteSumPerformancesCompleted(object sender, DeleteSumPerformancesCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "RANDOMGROUP"));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESS"),
                                        Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         LoadData();
     }
 }
예제 #2
0
 /// <summary>
 /// 删除当前绩效考核后的事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_DeleteSumPerformancesCompleted(object sender, DeleteSumPerformancesCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != "")
     {
         //Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"),
        Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "RANDOMGROUP"));
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESS"),
    Utility.GetResourceStr("CONFIRM"), MessageIcon.Information);
         LoadData();
     }
 }