void server_newConnectionEvent(object sender, ConnectionChangedEventArgs args) { SetTextboxMsg("Client " + args.ClientInfo.ID + " is connecting.", textBoxMsg); }
void server_clientDisconnectedEvent(object sender, ConnectionChangedEventArgs args) { Remove(args.ClientInfo, listBoxClientList); SetTextboxMsg(args.ClientInfo.Name + " disconnected", textBoxMsg); }