private async void TapGestureRecognizer_Tapped(object sender, EventArgs e) // Atm and Banking
        {
            await sm.ExecuteGetSearchCommand(atmLabel.Text);

            await Navigation.PushAsync(new BusinessListPage(atmLabel.Text));
        }
Beispiel #2
0
        //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));
        }
Beispiel #3
0
        private async void TapGestureRecognizer_Tapped(object sender, EventArgs e) // travel agency
        {
            await sm.ExecuteGetSearchCommand(bakeLabel.Text);

            await Navigation.PushAsync(new BusinessListPage(bakeLabel.Text));
        }