Beispiel #1
0
 private void Reconnect(string newConnectionName)
 {
     this.connection.Disconnect();
     this.connection = new PipeConnection(newConnectionName);
     this.connection.StartConnection();
     try
     {
     }
     catch (Exception)
     {
         StartChatting();
     }
 }
Beispiel #2
0
 public Client()
 {
     connection      = new PipeConnection(mainPipeName);
     phraseGenerator = new PhraseGenerator();
 }