I\'m building a chat client and am not 100% sure on how to use the dispatcher. So the question is I have a method as such:
dispatcher
public void LostConne
Something like this (off the top of my head) should work:
public void LostConnection() { myGUI.Invoke ((MethodInvoker)delegate { myGUI.chatBox.AppendText("Lost connection to room: "+ myGUI.UsernameText.ToString() + "\r\n"); }); }