void client_GetDataBySurveyingCompleted(object sender, GetDataBySurveyingCompletedEventArgs 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.ConfirmationBox(Utility.GetResourceStr("NODATA"), Utility.GetResourceStr("DIDNOTFINDRELEVANT"), Utility.GetResourceStr("CONFIRM")); return; } surveryingView = new V_EmployeeSurveying(); surveryingView = e.Result; Bingding(); }