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); } }
public FilteredVM(HomePageVM parent) { Parent = parent; }
public ShoppingCartVM(HomePageVM parent) { Parent = parent; }