private void CarregaCombustivel() { listaDll = new ListagemDLL(); try { dgvCombustivel.DataSource = listaDll.ExibirCombustivel(); } catch (Exception e) { MessageBox.Show("Não foi possível carregar os combustíveis! " + e); } }
private void CarregaCombustivel() { listaDll = new ListagemDLL(); try { dgvCombustivel.DataSource = listaDll.ExibirCombustivel(); } catch (Exception e) { MessageBox.Show("Não foi possível carregar os combustíveis! " + e); } }