public FormEditarProducto(Producto producto, MantenedorProducto mantendorProducto) { InitializeComponent(); this.producto = producto; this.mantendorProducto = mantendorProducto; Icon icon = new Icon(System.AppDomain.CurrentDomain.BaseDirectory + @"..\..\Resources\MiniMarketLogo.ico"); this.Icon = icon; }
private void registarNuevoProductoToolStripMenuItem_Click(object sender, EventArgs e) { MantenedorProducto mantendorProductos = new MantenedorProducto(); mantendorProductos.Show(); }