private void btnEditarProducto_Click(object sender, EventArgs e) { //editar int?id = getid(); if (id != null) { Gestion.gProductos gProductos = new Gestion.gProductos(); gProductos.ShowDialog(); refrescar(); } }
private void btnAgregarProducto_Click(object sender, EventArgs e) { //agregar Gestion.gProductos gProductos = new Gestion.gProductos(); gProductos.ShowDialog(); }