void client_onMessageReceived(object sender, ClientEventArgs e) { this.textBoxLog.AppendTextThreadSafe(e.Message); }
void client_onDisconnected(object sender, ClientEventArgs e) { }
void client_onConnected(object sender, ClientEventArgs e) { }
void client_onStopped(object sender, ClientEventArgs e) { if (sender is Client) clients.Remove((Client)sender); }
void client_onMessageSent(object sender, ClientEventArgs e) { //this.textBoxLog.AppendTextThreadSafe(e.Message); }