Esempio n. 1
0
 void btnConnection_Click(object sender, RoutedEventArgs e)
 {
     if (null != client && client.State == CommunicationState.Opened)
     {
         LogonName = CtrlPlatformCommandInfo.GetGlobalVariable(ConstantCollection.GlobalVariable_LogonName).Value;
         client.LogonAsync(LogonName);
     }
     this.btnConnection.IsEnabled    = false;
     this.btnDisConnection.IsEnabled = true;
 }
Esempio n. 2
0
 public static void Logon(string user)
 {
     client.LogonAsync(user);
 }