public CashBankTransactionVM()
 {
     NewEntryVM = new CashBankTransactionNewEntryVM(this);
     _fromDate = UtilityMethods.GetCurrentDate().Date;
     _toDate = UtilityMethods.GetCurrentDate().Date;
     Banks = new ObservableCollection<LedgerAccountVM>();
     DisplayLines = new ObservableCollection<LedgerTransactionLineVM>();
     DisplayLines.CollectionChanged += OnCollectionChanged;
     UpdateBanks();
 }
示例#2
0
 public CashBankTransactionVM()
 {
     NewEntryVM   = new CashBankTransactionNewEntryVM(this);
     _fromDate    = UtilityMethods.GetCurrentDate().Date;
     _toDate      = UtilityMethods.GetCurrentDate().Date;
     Banks        = new ObservableCollection <LedgerAccountVM>();
     DisplayLines = new ObservableCollection <LedgerTransactionLineVM>();
     DisplayLines.CollectionChanged += OnCollectionChanged;
     UpdateBanks();
 }