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"); }
public PassbookRowsVM(MainWindowVM main) : base(null, main.AppArgs, false) { _rnge = main.DateRange; }
public JournalsListVM(MainWindowVM main) : base(null, main.AppArgs, false) { Crud = new JournalsCrudVM(AppArgs); Crud.SaveCompleted += (s, e) => main.ClickRefresh(); _rnge = main.DateRange; }