private void HomeButton_Click(object sender, RoutedEventArgs e) { ShowList showList = new ShowList(); Shop.Children.Clear(); Shop.Children.Add(showList); }
private void Logout_Button_Click(object sender, RoutedEventArgs e) { UserSingleton.Dispose(); DisplayLogin(); ShowList showList = new ShowList(); Shop.Children.Clear(); Shop.Children.Add(showList); }
private void BackToShows_Click(object sender, RoutedEventArgs e) { UIElement shopElement = TreeUI.GetElementByName("Shop"); Grid shopGrid = (Grid)shopElement; shopGrid.Children.Clear(); ShowList showList = new ShowList(); shopGrid.Children.Add(showList); }