コード例 #1
0
        public HomePage()
        {
            HomePageVM homepage = new HomePageVM();

            InitializeComponent();
            welcome.Text += LoginPage.Loggedin_User.Name;
            DataContext   = homepage;
        }
コード例 #2
0
        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);
            }
        }
コード例 #3
0
 public FilteredVM(HomePageVM parent)
 {
     Parent = parent;
 }
コード例 #4
0
 public ShoppingCartVM(HomePageVM parent)
 {
     Parent = parent;
 }