Exemplo n.º 1
0
 private async void AstroTop_Clicked(object sender, EventArgs e)
 {
     if (sender.GetType() == typeof(Grid))
     {
         string classid = string.Empty;
         Grid   grid    = sender as Grid;
         classid = grid.ClassId;
         await Navigation.PushAsync(new Horoscope(classid), true);
     }
     else
     {
         var stack           = sender as StackLayout;
         AstrologerEntity ae = ((HomePageViewModel)BindingContext).Astrologers.FirstOrDefault(x => x.Id == Convert.ToInt64(((TappedEventArgs)e).Parameter));
         await Navigation.PushAsync(new AstrologerProfile(ae), true);
     }
 }
Exemplo n.º 2
0
 public AstrologerProfile(AstrologerEntity astroinfo)
 {
     InitializeComponent();
     Astrologer = astroinfo;
 }
Exemplo n.º 3
0
 public AstrologerReview(AstrologerEntity astro)
 {
     InitializeComponent();
     Astrologer = astro;
 }