Example #1
0
        private void CarregarDados()
        {
            operacao = Operacao.visualizarRegistro;
            //Chaves estrangeiras
            beneficiarioBindingSource.DataSource = beneficiarioController.ListarTudo();
            formaPagBindingSource.DataSource     = forma_PagController.ListarTudo();
            metodoPagBindingSource.DataSource    = metodo_PagController.ListarTudo();
            pagadorBindingSource.DataSource      = pagadorController.ListarTudo();
            tipoPagBindingSource.DataSource      = tipo_PagController.ListarTudo();

            bSource.DataSource = ModelController.ListarTudo();
            QtdDados           = bSource.Count;
        }