示例#1
0
 private void WaitingOrder()
 {
     Task.Run(() =>
     {
         while (orderViewModel.Condition == "Visible")
         {
             ;
         }
         Checks = new ObservableCollection <Check>(historiesLogic.GetChecks(UsersLogic.GetId()));
     });
 }
示例#2
0
 public MarketPageUserViewModel()
 {
     usersLogic     = UsersLogic.GetInstance();
     historiesLogic = HistoriesLogic.GetInstance();
     Condition      = "Visible";
     FullName       = usersLogic.GetFullName();
     Checks         = new ObservableCollection <Check>(historiesLogic.GetChecks(UsersLogic.GetId()));
     SeeCheck       = new RelayCommand <int>(ThisCheck);
     ProductsLogic.GetInstance();
 }