public ChangePWDForm() { InitializeComponent(); lodingClinet = new MainUIWS.MainUIServicesClient(); lodingClinet.SystemLoginCompleted += new System.EventHandler<MainUIWS.SystemLoginCompletedEventArgs>(lodingClinet_SystemLoginCompleted); _toolsClient = new PermissionWS.PermissionServiceClient(); _toolsClient.SysUserInfoUpdateByUserIdandUsernameCompleted += new System.EventHandler<PermissionWS.SysUserInfoUpdateByUserIdandUsernameCompletedEventArgs>(_toolsClient_SysUserInfoUpdateByUserIdandUsernameCompleted); if (App.AppSettings.Contains("USERNAME")) txbUserName.Text = App.AppSettings["USERNAME"].ToString(); }
public ChangePWDForm() { InitializeComponent(); lodingClinet = new MainUIWS.MainUIServicesClient(); lodingClinet.SystemLoginCompleted += new System.EventHandler <MainUIWS.SystemLoginCompletedEventArgs>(lodingClinet_SystemLoginCompleted); _toolsClient = new PermissionWS.PermissionServiceClient(); _toolsClient.SysUserInfoUpdateByUserIdandUsernameCompleted += new System.EventHandler <PermissionWS.SysUserInfoUpdateByUserIdandUsernameCompletedEventArgs>(_toolsClient_SysUserInfoUpdateByUserIdandUsernameCompleted); if (App.AppSettings.Contains("USERNAME")) { txbUserName.Text = App.AppSettings["USERNAME"].ToString(); } }