/// <summary> /// 删除 /// </summary> private void DeleteEmployeeSurveyViewListCompleted(object sender, DeleteEmployeeSurveyViewListCompletedEventArgs e) { loadbar.Stop(); if (e.Error != null) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); return; } if (e.Result > 0) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "EmployeeSurvey"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("DELETEFAILED"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information); } QueryData(); }
/// <summary> /// 删除 /// </summary> private void DeleteEmployeeSurveyViewListCompleted(object sender, DeleteEmployeeSurveyViewListCompletedEventArgs e) { loadbar.Stop(); if (e.Error != null) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); return; } if (e.Result > 0) { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("DELETESUCCESSED", "EmployeeSurvey"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information); } else { ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("DELETEFAILED"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Information); } QueryData(); }