private void actualizarPrecioDeVentasToolStripMenuItem_Click(object sender, EventArgs e) { PrecioVentas form = new PrecioVentas(); form.vForm = this.Name; form.vArticuloID = Convert.ToInt32(GRD.CurrentRow.Cells[0].Value); form.ShowDialog(); FillGrid(); }
private void toolStripMenuItem1_Click(object sender, EventArgs e) { PrecioVentas form = new PrecioVentas(); form.vForm = this.Name; form.vArticuloID = Convert.ToInt32(grdArticulos.CurrentRow.Cells[0].Value); form.ShowDialog(); dtArticulodetalle = C.SQL("Articulos_L " + vArticulos + ",NULL,1"); grdArticulos.DataSource = dtArticulodetalle; }