Esempio n. 1
0
        private async void Edit_Clicked(object sender, EventArgs e)
        {
            Catch         _catch        = (sender as MenuItem)?.CommandParameter as Catch;
            CatchFormPage catchFormPage = await CatchFormPage.CreateAsync(this, FishingTrip, _catch);

            await Navigation.PushAsync(catchFormPage);
        }
Esempio n. 2
0
        private async void CatchesListView_OnItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            if (e.SelectedItem == null)
            {
                return;
            }

            Catch         _catch        = e.SelectedItem as Catch;
            CatchFormPage catchFormPage = await CatchFormPage.CreateAsync(this, FishingTrip, _catch);

            await Navigation.PushAsync(catchFormPage);

            CatchesListView.SelectedItem = null;
        }
Esempio n. 3
0
        private async void BtnAddCatch_OnClicked(object sender, EventArgs e)
        {
            CatchFormPage catchFormPage = await CatchFormPage.CreateAsync(this, FishingTrip);

            await Navigation.PushAsync(catchFormPage);
        }