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(); }
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(); }