//NUEVO PRODUCTO private void button3_Click(object sender, EventArgs e) { VentanaProducto vpr = new VentanaProducto(); vpr.referenciaPadre(this); vpr.Show(); }
public void referenciaPadre(VentanaProducto padre) { this.padre = padre; }
private void productoToolStripMenuItem_Click(object sender, EventArgs e) { VentanaProducto np = new VentanaProducto(); np.Show(); }
private void button4_Click(object sender, EventArgs e) { VentanaProducto np = new VentanaProducto(); np.Show(); }