Esempio n. 1
0
 private void MenuButton_Click(object sender, EventArgs e)
 {
     ClientSocketHandler.Disconnect();
     ClientSocketHandler.Dispose();
     Program.NextMenuID = 97;
     this.Close();
 }
Esempio n. 2
0
        }//MultiplayerGameMenu

        static void MenuID97()
        {
            SocketHandle.Disconnect();
            SocketHandle.Dispose();
            NextMenuID = 0;
        }//Disconnect