I am running server/client communication.
Now i want to write something on the server textBox and show it on the client textBox so I am sending a message from the server to the client which takes it using a static method:
static void Client_MessageReceived(object sender, MessageEventArgs e)
{
//Client only accepts text messages
var message = e.Message as ScsTextMessage;
if (message == null)
{
return;
}
}
Now I just want to append the message to the client textBox from this static method. I guess that I will need some kind of invoke but I don't know how to do it, and I cant find anything useful on Google.