/// <summary> /// 验证之后显示到页面预览 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void client_ValidUserNameIsExistCompleted(object sender, ValidUserNameIsExistCompletedEventArgs e) { try { if (e.Error != null && e.Error.Message != "") { Set(); ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), e.Error.Message, Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); return; } listEmployeeInfo = e.Result; DtGrid.ItemsSource = listEmployeeInfo; RefreshUI(RefreshedTypes.HideProgressBar); } catch (Exception ex) { Set(); ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), ex.ToString(), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error); } }