private void newFormCad(int formType, int heightForm) { FormCad cad = new FormCad(formType, heightForm, isAdmin, logedUser); if (cad.ShowDialog() == DialogResult.OK) { AtualizaPreencheInicial(); } }
public void newFormCad(int form, int heightForm) { FormCad cad = new FormCad(form, heightForm, isAdmin, logedUser); if (cad.ShowDialog() == DialogResult.OK) { common.PreencheCombos_Pessoa(cmbRAJ, cmbCJ, cmbCidade, cmbCargo, cmbSetor, cmbCapacitacao); } }