Example #1
0
 private void ConnectedCheck_Click(object sender, EventArgs e)
 {
     if (Globals.Network.Connected == false)
     {
         // Globals.Network.Setup();
         MMessageBus.LobbyLoadRequest(this, new ChangeDetailsEvent(true, "Getting Lobby"));
     }
     else
     {
         Globals.Network.Disconnect();
     }
 }