示例#1
0
        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);
            }
        }