예제 #1
0
        private void HomeButton_Click(object sender, RoutedEventArgs e)
        {
            ShowList showList = new ShowList();

            Shop.Children.Clear();
            Shop.Children.Add(showList);
        }
예제 #2
0
        private void Logout_Button_Click(object sender, RoutedEventArgs e)
        {
            UserSingleton.Dispose();
            DisplayLogin();
            ShowList showList = new ShowList();

            Shop.Children.Clear();
            Shop.Children.Add(showList);
        }
예제 #3
0
        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);
        }