private bool ShowDialogConfigEspecificJet40() { bool bRetorno = false; frmFDataBaseConfigJet40 formFConfigDataBaseJet40 = new frmFDataBaseConfigJet40(ref m_cls_ter_TratadorErro, m_strDataBaseAccessJet40Path, m_strDataBaseAccessJet40User, m_strDataBaseAccessJet40Password); vInitializeEventsFormConfigDataBaseJet40(ref formFConfigDataBaseJet40); formFConfigDataBaseJet40.ShowDialog(); bRetorno = formFConfigDataBaseJet40.m_bModificado; formFConfigDataBaseJet40 = null; return(bRetorno); }
private void vInitializeEventsFormConfigDataBaseJet40(ref frmFDataBaseConfigJet40 formFConfigDataBaseJet40) { // Cores formFConfigDataBaseJet40.eCallCarregaCor += new mdlDataBaseConfig.frmFDataBaseConfigJet40.delCallCarregaCor(formFConfigDataBaseJet40_eCallCarregaCor); // Backup formFConfigDataBaseJet40.eCallConfigBackup += new mdlDataBaseConfig.frmFDataBaseConfigJet40.delCallConfigBackup(vDataBaseConfigBackup); // Restore formFConfigDataBaseJet40.eCallConfigRestore += new mdlDataBaseConfig.frmFDataBaseConfigJet40.delCallConfigRestore(vDataBaseConfigRestore); // SalvaDados formFConfigDataBaseJet40.eCallSalvaDados += new mdlDataBaseConfig.frmFDataBaseConfigJet40.delCallSalvaDados(formFConfigDataBaseJet40_eCallSalvaDados); // Configurated Right formFConfigDataBaseJet40.eCallConfiguratedRight += new mdlDataBaseConfig.frmFDataBaseConfigJet40.delCallConfiguratedRight(formFConfigDataBaseJet40_eCallConfiguratedRight); }