private void BTMedico_Click(object sender, EventArgs e) { FRM_Medico frmMed = new FRM_Medico(); frmMed.Show(); this.Hide(); }
private void DGV_ConsultaMedico_CellContentClick(object sender, DataGridViewCellEventArgs e) { frmMed = new FRM_Medico(DGV_ConsultaMedico.CurrentRow.Cells[0].Value.ToString(), DGV_ConsultaMedico.CurrentRow.Cells[1].Value.ToString(), DGV_ConsultaMedico.CurrentRow.Cells[2].Value.ToString(), double.Parse(DGV_ConsultaMedico.CurrentRow.Cells[3].Value.ToString()), DGV_ConsultaMedico.CurrentRow.Cells[4].Value.ToString(), DGV_ConsultaMedico.CurrentRow.Cells[5].Value.ToString(), int.Parse(DGV_ConsultaMedico.CurrentRow.Cells[6].Value.ToString()), DGV_ConsultaMedico.CurrentRow.Cells[7].Value.ToString(), DGV_ConsultaMedico.CurrentRow.Cells[8].Value.ToString()); frmMed.Show(); this.Close(); }
private void PBVoltar_Click(object sender, EventArgs e) { frmMed = new FRM_Medico(); frmMed.Show(); this.Close(); }