private void DGV_ConsultaSecretaria_CellContentClick(object sender, DataGridViewCellEventArgs e) { frmSec = new FRM_Secretaria(DGV_ConsultaSecretaria.CurrentRow.Cells[0].Value.ToString(), DGV_ConsultaSecretaria.CurrentRow.Cells[1].Value.ToString(), DGV_ConsultaSecretaria.CurrentRow.Cells[2].Value.ToString(), double.Parse(DGV_ConsultaSecretaria.CurrentRow.Cells[3].Value.ToString()), DGV_ConsultaSecretaria.CurrentRow.Cells[4].Value.ToString(), DGV_ConsultaSecretaria.CurrentRow.Cells[5].Value.ToString(), int.Parse(DGV_ConsultaSecretaria.CurrentRow.Cells[6].Value.ToString()), DGV_ConsultaSecretaria.CurrentRow.Cells[7].Value.ToString(), DGV_ConsultaSecretaria.CurrentRow.Cells[8].Value.ToString()); frmSec.Show(); this.Close(); }
private void PBVoltar_Click(object sender, EventArgs e) { frmSec = new FRM_Secretaria(); frmSec.Show(); this.Close(); }