Example #1
0
 protected void cadastraBanco()
 {
     try
     {
         m_formFBancoImportadorCadEdit = new frmFBancoImportadorCadEdit(ref m_cls_ter_tratadorErro, m_strEnderecoExecutavel, ref m_formFBancoImportador, true);
         InitializeEventsFormBancoImportadorCadEdit();
         m_formFBancoImportadorCadEdit.setTextoGroupBox("Cadastro");
         m_formFBancoImportadorCadEdit.ShowDialog();
         m_formFBancoImportadorCadEdit.Dispose();
     }
     catch (Exception err)
     {
         Object erro = err;
         m_cls_ter_tratadorErro.trataErro(ref erro);
     }
 }
Example #2
0
 public void ShowDialogCadEdit()
 {
     try
     {
         m_formFBancoImportadorCadEdit = new frmFBancoImportadorCadEdit(ref m_cls_ter_tratadorErro, m_strEnderecoExecutavel, ref m_formFBancoImportador);
         InitializeEventsFormBancoImportadorCadEdit();
         m_formFBancoImportadorCadEdit.ShowDialog();
         m_bModificado = m_formFBancoImportadorCadEdit.m_bModificado;
         m_formFBancoImportadorCadEdit.Dispose();
     }
     catch (Exception erro)
     {
         Object err = (Object)erro;
         m_cls_ter_tratadorErro.trataErro(ref err);
     }
 }