private void Button_Documentation_Clicked(object sender, EventArgs e) { if (ButtonIsBusy) { return; } ButtonIsBusy = true; Navigation.PushAsync(DocumentationPage ?? (DocumentationPage = new DocumentationPage())); }
private void Button_Appointments_Clicked(object sender, EventArgs e) { if (ButtonIsBusy) { return; } ButtonIsBusy = true; Navigation.PushAsync(AppointmentsPage ?? (AppointmentsPage = new AppointmentsPage())); if (DocumentationPage == null) { DocumentationPage = new DocumentationPage(); } }