private void AuthorizationBtn_Click(object sender, RoutedEventArgs e) { Button AuthorBtn = sender as Button; SMT.Saas.Tools.PersonnelWS.V_EMPLOYEEVIEW AuthorUser = AuthorBtn.Tag as SMT.Saas.Tools.PersonnelWS.V_EMPLOYEEVIEW; permclient.GetUserByEmployeeIDAsync(AuthorUser.EMPLOYEEID); }
private void InitParas(string sysUserID) { ServiceClent.SysUserInfoUpdateCompleted += new EventHandler <SysUserInfoUpdateCompletedEventArgs>(SysUserClient_SysUserInfoUpdateCompleted); ServiceClent.GetUserByEmployeeIDCompleted += new EventHandler <GetUserByEmployeeIDCompletedEventArgs>(ServiceClent_GetUserByEmployeeIDCompleted); ServiceClent.GetUserByIDCompleted += new EventHandler <GetUserByIDCompletedEventArgs>(ServiceClent_GetUserByIDCompleted); ServiceClent.SysUserBatchUpdateCompleted += new EventHandler <SysUserBatchUpdateCompletedEventArgs>(SysUserClient_SysUserBatchUpdateCompleted); salaryClient.GetSystemParamSetPagingCompleted += new EventHandler <GetSystemParamSetPagingCompletedEventArgs>(salaryClient_GetSystemParamSetPagingCompleted); if (!string.IsNullOrEmpty(sysUserID)) { this.txtUserName.IsEnabled = false; //ServiceClent.GetUserByIDAsync(sysUserID); ServiceClent.GetUserByEmployeeIDAsync(sysUserID); } }