예제 #1
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();
 }
예제 #2
0
 private void WaitingUpdate()
 {
     Task.Run(() =>
     {
         while (editUserViewModel.Condition == "Visible")
         {
             ;
         }
         FullName = usersLogic.GetFullName();
     });
 }