private void sendmessage_handler1_Request(SimpleChat2.Buffer.Server.sendmessage_handler.sendmessage_response e) { // this is how we get messages this.Delay( delegate { this.textBox1.AppendText( e.myname + " - " + DateTime.Now + " : " + e.message + Environment.NewLine ); // update gui } ); }
private void findname_handler1_Request_1(SimpleChat2.Buffer.Server.findname_handler.findname_response e) { e.Content = "hi!"; }