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); }
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); } }