Ejemplo n.º 1
0
        public frmFEmailConfiguracao(ref mdlTratamentoErro.clsTratamentoErro tratadorErro, string EnderecoExecutavel, ref frmFEmailInterface formFEmailInterface, bool configInicial)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            m_cls_ter_tratadorErro  = tratadorErro;
            m_strEnderecoExecutavel = EnderecoExecutavel;
            m_formFEmailInterface   = formFEmailInterface;
            m_bConfiguracaoInicial  = configInicial;
        }
Ejemplo n.º 2
0
 public void ShowDialog()
 {
     try
     {
         if (m_bConfiguracaoInicial)
         {
             ShowDialogConfiguracao();
         }
         m_formFEmailInterface = new frmFEmailInterface(ref m_cls_ter_tratadorErro, m_strEnderecoExecutavel, !m_bConfiguracaoInicial, m_bVerificarConfiguracao, m_bMostrarBaloes);
         InitializeEventsFormEmailInterface();
         setaCamposEMail();
         m_formFEmailInterface.ShowDialog();
         m_formFEmailInterface = null;
     }
     catch (Exception err)
     {
         Object erro = err;
         return;
     }
 }