void lstCategorias_SelectionChanged(object sender, SelectionChangedEventArgs e) { var categoria = lstCategorias.SelectedItem as Category; Informacion inf = new Informacion(categoria, this); inf.Show(); this.Hide(); }
public DetalleProducto(Product producto1, Informacion informacion) { this.producto1 = producto1; this.informacion = informacion; InitializeComponent(); this.Loaded += DetalleProducto_Loaded; btnMateriales.Click += btnMateriales_Click; btnIncio.Click += btnIncio_Click; btnCarrito.Click += btnCarrito_Click; btnPedido.Click += btnPedido_Click; }