I have read quite a bit on this topic and am pretty sure that the correct method would be to use invoke, but I can't wrap my mind around how to call it (been working with c# for about a week).
I have a HandleCommand method in the MainForm class that will be passed a string telling the method what to update.
Around line 230 in the ChatServer class, I want to tell my gui to update and add a new user to the textbox by calling HandleCommand around line 250 in the MainForm class. A string must be passed as a parameter to HandleCommand; any string will do for now. How can I do this?