private void btn_more_detail_Click(object sender, EventArgs e) { if (dgv_post_service.CurrentRow == null) { MessageBox.Show("No ha seleccionado ningun service"); } else { int pv = Convert.ToInt32(dgv_post_service.CurrentRow.Cells["id_service"].Value.ToString()); Form aux = new frm_detalle_pv(pv, unidadSeleccionada); } }
private void dgv_pv_interno_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { Form aux = new frm_detalle_pv(Convert.ToInt32(dgv_pv_interno.CurrentRow.Cells[0].Value.ToString()), unidadSeleccionada); aux.ShowDialog(); }
private void btn_mas_detalles_Click(object sender, EventArgs e) { Form aux = new frm_detalle_pv(Convert.ToInt32(dgv_pv_interno.CurrentRow.Cells[0].Value.ToString()), unidadSeleccionada); aux.ShowDialog(); }