Esempio n. 1
0
        void ToDecidePage(object sender, EventArgs args)
        {
            DecidePage decidePage = new DecidePage(CurrentAlarm);

            decidePage.OnCancelDone += TurnOff;
            decidePage.OnRepeatDone += Hide;
            Navigation.PushModalAsync(decidePage);
        }
Esempio n. 2
0
        public void Button_Cvp(object sender, EventArgs e)
        {
            if (Sorular[txtSorular.Text] == cevapEntry.Text)
            {
                DisplayAlert("Alarm", "Doğru cevap alarm sustur", "Tamam");

                var decidePage = new DecidePage();
                Navigation.PushModalAsync(decidePage);
            }

            else
            {
                DisplayAlert("Alarm", "Yanlış Cevap", "Tamam");
            }
        }