public void Activity(string information) { if (guiActivity.InvokeRequired) { UpdateActivityBox del = new UpdateActivityBox(Activity); this.guiActivity.Invoke(del, new object[] { information }); } else { this.guiActivity.AppendText(information + " \n"); } }
public void ChatBox(string information) { if (ingameChat.InvokeRequired) { UpdateActivityBox del = new UpdateActivityBox(ChatBox); this.ingameChat.Invoke(del, new object[] { information }); } else { this.ingameChat.AppendText(information + " \n"); } }