public void SetServerMessage(string msg) { SharedUIupdate.SetServerMessage(serverListBox, msg); }
//Updates the UI list with players public void UpdatePlayerList() { SharedUIupdate.UpdatePlayerList(playerListBox, controller); }
//Send a message to the server when the ENTER is pressed private void ChatTextBox_KeyPress(object sender, KeyPressEventArgs e) { SharedUIupdate.ChatTextBox_KeyPress(e, chatTextBox, controller); }
//Puts a message in the UI chatbox public void AddChat(string msg) { SharedUIupdate.AddChatMessage(msg, chatListBox, controller); }
//Load the older messages in the new Form private void SetMessages() { SharedUIupdate.SetMessages(chatListBox, controller); }