private void DGV_ConsultaConsultas_CellContentClick(object sender, DataGridViewCellEventArgs e) { frmCons = new FRM_Consulta(DGV_ConsultaConsultas.CurrentRow.Cells[0].Value.ToString(), DGV_ConsultaConsultas.CurrentRow.Cells[1].Value.ToString(), DGV_ConsultaConsultas.CurrentRow.Cells[2].Value.ToString(), DGV_ConsultaConsultas.CurrentRow.Cells[3].Value.ToString(), DGV_ConsultaConsultas.CurrentRow.Cells[4].Value.ToString(), DGV_ConsultaConsultas.CurrentRow.Cells[5].Value.ToString(), DGV_ConsultaConsultas.CurrentRow.Cells[6].Value.ToString()); frmCons.Show(); this.Close(); }
private void BTConsulta_Click(object sender, EventArgs e) { frmConsulta = new FRM_Consulta(); frmConsulta.Show(); this.Close(); }
private void PBVoltar_Click(object sender, EventArgs e) { frmCons = new FRM_Consulta(); frmCons.Show(); this.Close(); }