private void dataGridProductos_CellContentClick(object sender, DataGridViewCellEventArgs e) { var EntradaInv = new Entrada_Inventario(); EntradaInv.txtCodigoD.Text = dataGridProductos.Rows[e.RowIndex].Cells["Referencia"].Value.ToString(); EntradaInv.txtDescripcionD.Text = dataGridProductos.Rows[e.RowIndex].Cells["Descripcion"].Value.ToString(); EntradaInv.nudCantidad.Value = 1; EntradaInv.Show(); }
private void realizarEntradaAlInventarioToolStripMenuItem_Click(object sender, EventArgs e) { var EntradaInv = new Entrada_Inventario(); EntradaInv.ShowDialog(); }