void ToDecidePage(object sender, EventArgs args) { DecidePage decidePage = new DecidePage(CurrentAlarm); decidePage.OnCancelDone += TurnOff; decidePage.OnRepeatDone += Hide; Navigation.PushModalAsync(decidePage); }
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"); } }