private void DgvOrdenesProduccion_DoubleClick(object sender, EventArgs e) { int currentRow = this.dgvOrdenesProduccion.CurrentRow.Index; this.dataRow = this.dataTable.Rows[currentRow]; this.idOrdenProduccion = Convert.ToInt32(this.dataRow["idOrdenProduccion"]); OrdenesProduccionCaptura captura = new OrdenesProduccionCaptura(this.conexion, this.usuarioActivo, idOrdenProduccion); captura.Show(); }
private void TxtNuevo_Click(object sender, EventArgs e) { OrdenesProduccionCaptura captura = new OrdenesProduccionCaptura(this.conexion, this.usuarioActivo); captura.Show(); }