Exemple #1
0
        public HomePage()
        {
            HomePageVM homepage = new HomePageVM();

            InitializeComponent();
            welcome.Text += LoginPage.Loggedin_User.Name;
            DataContext   = homepage;
        }
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            HomePageVM home = new HomePageVM();

            foreach (var item in new ObservableCollection <object>(home._FilteredList))
            {
                home._FilteredList.Remove(item);
            }
        }
Exemple #3
0
 public FilteredVM(HomePageVM parent)
 {
     Parent = parent;
 }
 public ShoppingCartVM(HomePageVM parent)
 {
     Parent = parent;
 }