private void CarregaCategoria() { listaDll = new ListagemDLL(); try { dgvCategoria.DataSource = listaDll.ExibirCategoria(); } catch (Exception e) { MessageBox.Show("Não foi possível carregar as categorias! " + e); } }