private void ListaDados() { try { using (var ctx = new AlunoRepositorio()) { lista.DataSource = ctx.ListarTodos(); } } catch (Exception e) { MessageBox.Show(e.Message); } }