public ProductoGrid(productoHandler productHandler) { InitializeComponent(); this.ProductoHandler = productHandler; UpdateProductList(); InitCategoryCombo(); }
public MainWindow() { InitializeComponent(); myNavigationFrame = myFrame; usersHandler = new UsersHandler(); ProductoHandler = new productoHandler(); }
public ProductShow(productoHandler productoHandler) { InitializeComponent(); this.ProductoHandler = productoHandler; comboProduct.DataContext = productoHandler; pos = comboProduct.SelectedIndex; buttonsPanel.Visibility = Visibility.Hidden; }
//constructor de modificar public ProductNewOrModify(string title, productoHandler productoHandler, Producto producto) { InitializeComponent(); Combo(); productoNM.Text = title; this.productoHandler = productoHandler; this.producto = producto; this.productGrid.DataContext = producto; this.verify = true; }
} //validacion //constructor de nuevo public ProductNewOrModify(string title, productoHandler productoHandler) { InitializeComponent(); Combo(); productoNM.Text = title; this.productoHandler = productoHandler; this.verify = false; producto = new Producto(); this.productGrid.DataContext = producto; }
public ProductNewOrModify(productoHandler productoHandler) { this.productoHandler = productoHandler; }