Example #1
0
        public MainWindowVM(ITenantDBsDir tenantDBsDir, bool clickRefresh = true) : base(tenantDBsDir)
        {
            DateRange      = new DateRangePickerVM(this);
            BankAcctPicker = new BankAccountPickerVM(this, clickRefresh);
            VoucherReqs    = new VoucherReqsTabVM(this);
            DcdrReport     = new DcdrTabVM(this);
            Journals       = new JournalsTabVM(this);
            AllChkVouchers = new AllVoucherRequestsVM(this);
            AdHocJobs      = new AdHocJobCmdsVM(this);

            PrintCmd.SetLabel("Print “Pending Checks” List");
        }
Example #2
0
 public PassbookRowsVM(MainWindowVM main) : base(null, main.AppArgs, false)
 {
     _rnge = main.DateRange;
 }
Example #3
0
 public JournalsListVM(MainWindowVM main) : base(null, main.AppArgs, false)
 {
     Crud = new JournalsCrudVM(AppArgs);
     Crud.SaveCompleted += (s, e) => main.ClickRefresh();
     _rnge = main.DateRange;
 }