private void CarregarDados() { operacao = Operacao.visualizarRegistro; Metodo_PagController ModelController = new Metodo_PagController(); bSource.DataSource = ModelController.ListarTudo(); QtdDados = bSource.Count; }
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; }