private void SeeListPerformance(object sender, RoutedEventArgs e)
        {
            var             button          = sender as Button;
            var             show            = button.CommandParameter as Show;
            PerformanceList performanceList = new PerformanceList(show);

            this.Content = performanceList;
        }
Beispiel #2
0
        private void BackToPerformance_Click(object sender, RoutedEventArgs e)
        {
            UIElement shopElement = TreeUI.GetElementByName("Shop");

            Grid shopGrid = (Grid)shopElement;

            shopGrid.Children.Clear();
            PerformanceList performanceList = new PerformanceList(_performance.GetShow());

            shopGrid.Children.Add(performanceList);
        }