private async void TapGestureRecognizer_Tapped(object sender, EventArgs e) // Atm and Banking { await sm.ExecuteGetSearchCommand(atmLabel.Text); await Navigation.PushAsync(new BusinessListPage(atmLabel.Text)); }
//This is the click method that does the search command using the name of the button private async void TapGestureRecognizer_Tapped(object sender, EventArgs e) // Auto Shop { autoShopLabel.SetBinding(Label.TextProperty, binder); // USE LABELS autoShopLabel.Text = "Auto Shop"; //This method does the search command with Auto Shop as an text await sm.ExecuteGetSearchCommand(autoShopLabel.Text); await Navigation.PushAsync(new BusinessListPage(autoShopLabel.Text)); }
private async void TapGestureRecognizer_Tapped(object sender, EventArgs e) // travel agency { await sm.ExecuteGetSearchCommand(bakeLabel.Text); await Navigation.PushAsync(new BusinessListPage(bakeLabel.Text)); }