예제 #1
0
 private async void lsvVolunteer_ItemTapped(object sender, ItemTappedEventArgs e)
 {
     VolunteerDetails volunteerDetails = new VolunteerDetails()
     {
         BindingContext = e.Item as Volunteer,
         Title          = "Update Volunteer"
     };
     await Navigation.PushAsync(volunteerDetails);
 }
예제 #2
0
        private async void btnAddVolunteer_Clicked(object sender, EventArgs e)
        {
            Volunteer        volunteer        = new Volunteer();
            VolunteerDetails volunteerDetails = new VolunteerDetails()
            {
                BindingContext = volunteer,
                Title          = "Add Volunteer"
            };

            await Navigation.PushAsync(volunteerDetails);
        }
예제 #3
0
        private void btnSignUp_Clicked(object sender, EventArgs e)
        {
            Volunteer        volunteer = new Volunteer();
            VolunteerDetails vd        = new VolunteerDetails()
            {
                BindingContext = volunteer,
                Title          = "Sign up"
            };

            Navigation.PushAsync(vd);
        }