private void inicializar() { PrincipalBLL principalBLL = new PrincipalBLL(); try { principalBLL.TestarConexaoBD(); } catch (Exception ex) { MessageBox.Show("Erro! " + Environment.NewLine + ex.Message); this.Close(); } preencherRodape(); }
private void inicializar() { PrincipalBLL principalBLL = new PrincipalBLL(); try { principalBLL.TestarConexaoBD(); } catch (Exception ex) { MessageBox.Show("Erro! " + Environment.NewLine + ex.Message); this.Close(); } preencherRodape(); }