public MainWindowViewModel() { CloseNewWindowCommand = new RouteCommand(CloseNewWindow); OpenNewWindowCommand = new RouteCommand(OpenNewWindow); Bills = new ObservableCollection <BillViewModel>(); MainLogic ml = new MainLogic(); CurrentBill = ml.GetDataFromDataBase(); CurrentDollar = 58.9; }
public NewWindowViewModel() { CloseNewWindowCommand = new RouteCommand(CloseNewWindow); Bills = new ObservableCollection <BillViewModel>(); _canExecute = true; }