Ejemplo n.º 1
0
        private void Button_Click_2(object sender, RoutedEventArgs e)            //Join lobby
        {
            GiveSpelerAndLobbyID(sender, out tellerLobbyID, out tellerSpelerID); //Spreekt voor zich...

            ServiceReference1.Service1Client client = new ServiceReference1.Service1Client();
            client.JoinLobbyCompleted += client_JoinLobbyCompleted; //Join lobby
            client.JoinLobbyAsync(tellerLobbyID, tellerSpelerID);
        }