当前位置: 首页>>代码示例>>C#>>正文


C# IProjectManager.GetProjects方法代码示例

本文整理汇总了C#中IProjectManager.GetProjects方法的典型用法代码示例。如果您正苦于以下问题:C# IProjectManager.GetProjects方法的具体用法?C# IProjectManager.GetProjects怎么用?C# IProjectManager.GetProjects使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IProjectManager的用法示例。


在下文中一共展示了IProjectManager.GetProjects方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ProjectHeadManagementModel

        public ProjectHeadManagementModel()
        {
            _projectManager = BLLCoreFactory.GetProjectManager();
            _headManager = BLLCoreFactory.GetHeadManager();
            _allHeads = _headManager.GetHeads(false, false);

            AllProjectItems = new ObservableCollection<Project>(_projectManager.GetProjects(false));
        }
开发者ID:nhrobin,项目名称:SmartAccount,代码行数:8,代码来源:ProjectHeadManagementModel.cs

示例2: CloseCurrentFinancialYearModel

        public CloseCurrentFinancialYearModel()
        {
            _projectManager = BLLCoreFactory.GetProjectManager();
            _parameterManager = BLLCoreFactory.GetParameterManager();
            _openingBalanceManager = BLLCoreFactory.GetOpeningBalanceManager();

            _currentYearBalancesDataGrid = new List<CurrentYearDatagridRow>();
            AllProjects = _projectManager.GetProjects(false);
        }
开发者ID:jakaria42,项目名称:SmartAccount,代码行数:9,代码来源:CloseCurrentFinancialYearModel.cs

示例3: VoucherViewModel

        public VoucherViewModel()
        {
            try
            {
                _projectManager = BLLCoreFactory.GetProjectManager();
                _voucherManager = BLLCoreFactory.GetVoucherManager();
                _parameterManager = BLLCoreFactory.GetParameterManager(); // TODO: Do we need this?

                AllProjects = _projectManager.GetProjects();
                SelectedVoucherType = VoucherTypes[0];
                VoucherStartDate = DateTime.Today;
                VoucherEndDate = DateTime.Today;
            }
            catch { }
        }
开发者ID:jakaria42,项目名称:SmartAccount,代码行数:15,代码来源:VoucherViewModel.cs

示例4: LedgerViewModel

        public LedgerViewModel()
        {
            IRepository<Record> ledgerRepository = GKSFactory.GetRepository<Record>();

            _ledgerManager = BLLCoreFactory.GetLedgerManager();
            _headManager = BLLCoreFactory.GetHeadManager();
            _projectManager = BLLCoreFactory.GetProjectManager();

            AllProjects = _projectManager.GetProjects();

            IsAllHeadsEnabled = true;
            ShowAllAdvance = false;
            LedgerEndDate = DateTime.Now;
            //LedgerViewButtonClicked = new ViewLedger(this, ledgerRepository);
        }
开发者ID:nhrobin,项目名称:SmartAccount,代码行数:15,代码来源:LedgerViewModel.cs

示例5: OpeningBalanceSetupModel

        public OpeningBalanceSetupModel()
        {
            try
            {
                _projectManager = BLLCoreFactory.GetProjectManager();
                _headManager = BLLCoreFactory.GetHeadManager();
                _openingBalanceManager = BLLCoreFactory.GetOpeningBalanceManager();
                _parameterManager = BLLCoreFactory.GetParameterManager();

                //NotifyOpeningBalanceDataGrid();
                OpeningBalanceAmount = 0;

                AllProjects = _projectManager.GetProjects(false);
            }
            catch
            { }
        }
开发者ID:jakaria42,项目名称:SmartAccount,代码行数:17,代码来源:OpeningBalanceSetupModel.cs

示例6: BudgetSetupModel

        public BudgetSetupModel()
        {
            try
            {
                _projectManager = BLLCoreFactory.GetProjectManager();
                _headManager = BLLCoreFactory.GetHeadManager();
                _budgetManager = BLLCoreFactory.GetBudgetManager();
            //<<<<<<< HEAD

            //                _budgetDataGrid = new List<BudgetGridRow>();
            //=======
            //>>>>>>> githubJakaria42/master

                AllProjects = _projectManager.GetProjects();

                LoadBudgetYears();
                SelectedBudgetYear = DateTime.Now.Year;
                //NotifyBudgetDataGrid();
            }
            catch
            { }
        }
开发者ID:jakaria42,项目名称:SmartAccount,代码行数:22,代码来源:BudgetSetupModel.cs

示例7: VoucherViewModel

        public VoucherViewModel()
        {
            _projectManager = BLLCoreFactory.GetProjectManager();
            _ledgerManager = BLLCoreFactory.GetLedgerManager();
            _parameterManager = BLLCoreFactory.GetParameterManager();

            AllProjects = _projectManager.GetProjects();
            SelectedVoucherType = VoucherTypes[0];
            //VoucherStartDate = _parameterManager.GetFinancialYearStartDate(); // TODO: Should be first day of current finanical year.
            VoucherStartDate = DateTime.Today;
            VoucherEndDate = DateTime.Today;

            VoucherDetailsButtonClicked = new ViewVoucherDetails(this);
        }
开发者ID:nhrobin,项目名称:SmartAccount,代码行数:14,代码来源:VoucherViewModel.cs

示例8: FixedAssetManagementModel

 public FixedAssetManagementModel()
 {
     _projectManager = BLLCoreFactory.GetProjectManager();
     AllProjects = _projectManager.GetProjects(false);
 }
开发者ID:jakaria42,项目名称:SmartAccount,代码行数:5,代码来源:FixedAssetManagementModel.cs


注:本文中的IProjectManager.GetProjects方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。