public void Choose(ProductViewModel product)
 {
     var e = new ChoosedEventArgs()
     {
         Product = product
     };
     OnChoosed(e);
     if (!e.Handled)
     {
         Navigator.GoToProductEditing(product.Id);
     }
 }
Ejemplo n.º 2
0
 private void ProductListing_Choosed(object sender, ChoosedEventArgs e)
 {
     AddMealItemWithProduct(e.Product);
     e.Handled = true;
 }
 protected void OnChoosed(ChoosedEventArgs e)
 {
     if (Choosed != null)
     {
         Choosed(this, e);
     }
 }