Пример #1
0
 public void SetServerMessage(string msg)
 {
     SharedUIupdate.SetServerMessage(serverListBox, msg);
 }
Пример #2
0
 //Updates the UI list with players
 public void UpdatePlayerList()
 {
     SharedUIupdate.UpdatePlayerList(playerListBox, controller);
 }
Пример #3
0
 //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);
 }
Пример #4
0
 //Puts a message in the UI chatbox
 public void AddChat(string msg)
 {
     SharedUIupdate.AddChatMessage(msg, chatListBox, controller);
 }
Пример #5
0
 //Load the older messages in the new Form
 private void SetMessages()
 {
     SharedUIupdate.SetMessages(chatListBox, controller);
 }