Exemplo n.º 1
0
 private void Button_Click_1(object sender, RoutedEventArgs e) //Ik wil de lobby verlaten.
 {
     GiveSpelerID(ref tellerSpelerID);
     ServiceReference1.Service1Client client = new ServiceReference1.Service1Client();
     client.LeaveLobbyCompleted += client_LeaveLobbyCompleted; //Verlaat de lobby.
     client.LeaveLobbyAsync(tellerLobbyID, tellerSpelerID);
 }