示例#1
0
 /// <summary>
 /// Logon action.
 /// </summary>
 private void Logon()
 {
     Framework.WcfClient.AuthenticationServiceAsynClient _AuthenticationServiceAsynClient = new Framework.WcfClient.AuthenticationServiceAsynClient();
     _AuthenticationServiceAsynClient.LoginCompleted += new System.EventHandler<Framework.WcfClient.LoginCompletedEventArgs>(_AuthenticationServiceAsynClient_LoginCompleted);
     _AuthenticationServiceAsynClient.LoginAsync(this.m_LogOnModel.UserName, this.m_LogOnModel.Password, null, false);
     
 }
 /// <summary>
 /// Logon action.
 /// </summary>
 private void Logon()
 {
     Framework.WcfClient.AuthenticationServiceAsynClient _AuthenticationServiceAsynClient = new Framework.WcfClient.AuthenticationServiceAsynClient();
     _AuthenticationServiceAsynClient.LoginCompleted += new System.EventHandler <Framework.WcfClient.LoginCompletedEventArgs>(_AuthenticationServiceAsynClient_LoginCompleted);
     _AuthenticationServiceAsynClient.LoginAsync(this.m_LogOnModel.UserName, this.m_LogOnModel.Password, null, false);
 }