there is a method
public static void GetMessages() { string Message = "12345" ChatBox.AppendText(Message + Environment.NewLine); ChatBox.SelectionStart = form.ChatBox.TextLength; ChatBox.ScrollToCaret(); }
which runs in a separate thread. An error occurs when attempting to access richTextBox (ChatBox). How do I change the chatbox from this method?