Exemple #1
0
        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();

        }
Exemple #2
0
        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();
            }
        }