Exemplo n.º 1
0
        public MainWindowViewModel()
        {
            CloseNewWindowCommand = new RouteCommand(CloseNewWindow);
            OpenNewWindowCommand  = new RouteCommand(OpenNewWindow);
            Bills = new ObservableCollection <BillViewModel>();
            MainLogic ml = new MainLogic();

            CurrentBill   = ml.GetDataFromDataBase();
            CurrentDollar = 58.9;
        }
Exemplo n.º 2
0
 public NewWindowViewModel()
 {
     CloseNewWindowCommand = new RouteCommand(CloseNewWindow);
     Bills       = new ObservableCollection <BillViewModel>();
     _canExecute = true;
 }