本文整理汇总了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));
}
示例2: CloseCurrentFinancialYearModel
public CloseCurrentFinancialYearModel()
{
_projectManager = BLLCoreFactory.GetProjectManager();
_parameterManager = BLLCoreFactory.GetParameterManager();
_openingBalanceManager = BLLCoreFactory.GetOpeningBalanceManager();
_currentYearBalancesDataGrid = new List<CurrentYearDatagridRow>();
AllProjects = _projectManager.GetProjects(false);
}
示例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 { }
}
示例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);
}
示例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
{ }
}
示例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
{ }
}
示例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);
}
示例8: FixedAssetManagementModel
public FixedAssetManagementModel()
{
_projectManager = BLLCoreFactory.GetProjectManager();
AllProjects = _projectManager.GetProjects(false);
}