private void btnConfirma_Click(object sender, EventArgs e) { BUSINESS.rDepartamento regraDep = new TelasDesenvolvedor.BUSINESS.rDepartamento(); try { regraDep.CadastraDepartamento(this.PegaDadosTela()); } catch (Exception ex) { throw ex; } }
private void btnConfirma_Click(object sender, EventArgs e) { BUSINESS.rDepartamento regraDep = new TelasDesenvolvedor.BUSINESS.rDepartamento(); try { regraDep.CadastraDepartamento(this.PegaDadosTela()); } catch (Exception ex) { throw ex; } }