Пример #1
0
        private void vInitializeEvents(ref frmFDataConfiguracao formFDataConfiguracao)
        {
            // Load Interface
            formFDataConfiguracao.eCallLoadInterface += new mdlData.frmFDataConfiguracao.delCallLoadInterface(vReturnConfigurationsUser);

            // Load Date
            formFDataConfiguracao.eCallLoadDate += new mdlData.frmFDataConfiguracao.delCallLoadDate(bReturnDate);

            // Save Interface
            formFDataConfiguracao.eCallSaveInterface += new mdlData.frmFDataConfiguracao.delCallSaveInterface(formFDataConfiguracao_eCallSaveInterface);
        }
Пример #2
0
 public bool ShowDialogConfiguracao()
 {
     try
     {
         frmFDataConfiguracao formFDataConfiguracao = new frmFDataConfiguracao(ref m_cls_ter_tratadorErro, m_strEnderecoExecutavel);
         vInitializeEvents(ref formFDataConfiguracao);
         formFDataConfiguracao.ShowDialog();
         this.m_bModificado = formFDataConfiguracao.m_bModificado;
         return(formFDataConfiguracao.m_bModificado);
     }
     catch (Exception err)
     {
         Object erro = err;
         m_cls_ter_tratadorErro.trataErro(ref erro);
         return(false);
     }
 }