Пример #1
0
        private async void BtnStopWaiting_Clicked(object sender, EventArgs e)
        {
            BGMusics.Clicking_Sound().Play();

            lblMessages.Text = "Stopping waiting...";
            await SignalRService.MultiplayerStopWaiting(me);;

            LoadingBit.IsVisible = false;
            Fetch.IsRunning      = false;
            Btn_Find.IsVisible   = false;
        }
Пример #2
0
        private async void BtnStopWaiting_Clicked(object sender, EventArgs e)
        {
            lblStatus.Text           = "Stopping waiting...";
            waitingSpinner.IsVisible = true;
            waitingSpinner.IsRunning = true;

            //Clear the waiting list
            await SignalRService.MultiplayerStopWaiting(me);

            lblStatus.Text = "Click below to start a game:";

            waitingSpinner.IsVisible = false;
            waitingSpinner.IsRunning = false;
            btnStopWaiting.IsEnabled = false;
            btnStopWaiting.IsVisible = false;
            btnSetup.IsEnabled       = true;
            btnSetup.IsVisible       = true;
        }