Exemplo n.º 1
0
        private void CarregarDados()
        {
            operacao = Operacao.visualizarRegistro;
            Tipo_PagController ModelController = new Tipo_PagController();

            bSource.DataSource = ModelController.ListarTudo();
            QtdDados           = bSource.Count;
        }
Exemplo n.º 2
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;
        }