public void botResponse(object sender, StringEventArgs e) { System.Diagnostics.Trace.WriteLine("Bot Message Back: " + e.Message); MessageReceived(this, new StringEventArgs(this, e.Message)); }
void DisplayMessageSent(object sender, StringEventArgs e) { AddToTerminalHistory(e.Message); }
void DisplayMessageReceived(object sender, StringEventArgs e) { AddToTerminalHistory("Received : " + e.Message); }
void connection_MessageReceived(object sender, StringEventArgs e) { ReceiveMessage(e.Message); }