Esempio n. 1
0
 void OnPostRender()
 {
     foreach (var GLs in GLDraws)
     {
         GLs.GLDraw();
     }
 }
Esempio n. 2
0
 public TLListViewModel(ISystemAccountingSettingsService systemAccountingSettingsService, ICompanyInformationsService companyInformationsService)
 {
     _companyInformationsService      = companyInformationsService;
     CompanyInformationModel          = _companyInformationsService.GetCompanyInformationModel();
     _systemAccountingSettingsService = systemAccountingSettingsService;
     AddTLCommand             = new RelayCommand(OnAddTL);
     GLsDropDownOpenedCommand = new RelayCommand(OnGLsDropDownOpened, () => GLs != null && GLs.Any());
     TL             = new TL();
     _accessUtility = SmObjectFactory.Container.GetInstance <AccessUtility>();
 }
Esempio n. 3
0
 public AddTLTreeItemWindowViewModel(ITLsService tLsService, IGLsService gLsService, ISystemAccountingSettingsService systemAccountingSettingsService)
 {
     _tLsService = tLsService;
     _gLsService = gLsService;
     //   CancelCommand = new RelayCommand(OnCancel);
     SaveCommand = new RelayCommand(OnSave, CanSave);
     GLsDropDownOpenedCommand         = new RelayCommand(OnGLsDropDownOpened, () => GLs != null && GLs.Any());
     _systemAccountingSettingsService = systemAccountingSettingsService;
     //TL = new TL();
 }