private void ConsultarCargo(object o, EventArgs e)
 {
     Cadastrar.FrmCargo fcu = new Cadastrar.FrmCargo();
     fcu.txtCodCargo.Text       = Convert.ToString(dataGridView1.CurrentRow.Cells[0].Value);
     fcu.txtCargo.Text          = Convert.ToString(dataGridView1.CurrentRow.Cells[1].Value);
     fcu.txtAbreviacao.Text     = Convert.ToString(dataGridView1.CurrentRow.Cells[2].Value);
     fcu.txtDescricao.Text      = Convert.ToString(dataGridView1.CurrentRow.Cells[3].Value);
     fcu.txtCargo.ReadOnly      = true;
     fcu.txtAbreviacao.ReadOnly = true;
     fcu.txtDescricao.ReadOnly  = true;
     fcu.label5.Text            = "Consultando Cargo";
     fcu.btnCadastrar.Visible   = false;
     fcu.ShowDialog();
 }
 private void NovoCargo(object o, EventArgs e)
 {
     Telas.Cadastrar.FrmCargo f = new Cadastrar.FrmCargo();
     f.ShowDialog();
     Close();
 }
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     Cadastrar.FrmCargo c = new Cadastrar.FrmCargo();
     c.ShowDialog();
 }