public ProductoGrid(ProductoHandler productHandler) { InitializeComponent(); this.ProductoHandler = productHandler; UpdateProductList(); InitCategoryCombo(); }
public ProductoShow(ProductoHandler productoHandler) { InitializeComponent(); this.ProductoHandler = productoHandler; comboProduct.DataContext = productoHandler; pos = comboProduct.SelectedIndex; buttonsPanel.Visibility = Visibility.Hidden; }
public Facturas(ProductoHandler productoHandler) { InitializeComponent(); cliente = new Cliente(); this.datosCliente.DataContext = cliente; this.productoHandler = productoHandler; this.comboProductos.ItemsSource = productoHandler.ProductList; listaproductosF = new ObservableCollection <Producto>(); tablaProductos.ItemsSource = listaproductosF; }
public NewOrModifyProducto(string title, ProductoHandler productoHandler) { InitializeComponent(); Combo(); productoNM.Text = title; this.productoHandler = productoHandler; this.verify = false; producto = new Producto(); this.productGrid.DataContext = producto; myImage.Source = imagenHandler.LoadDefaultImage(); }
// modificar public NewOrModifyProducto(string title, ProductoHandler productoHandler, Producto producto) { InitializeComponent(); Combo(); myImage.Source = imagenHandler.GetImage(producto.Referencia); productoNM.Text = title; this.productoHandler = productoHandler; this.producto = producto; this.productGrid.DataContext = producto; this.verify = true; tReferencia.IsEnabled = false; }
public Informe(ProductoHandler productoHandler) { InitializeComponent(); this.productoHandler = productoHandler; }
public MainWindow() { InitializeComponent(); myNavigationFrame = myFrame; productoHandler = new ProductoHandler(); }
public NewOrModifyProducto(ProductoHandler productoHandler) { this.productoHandler = productoHandler; }