Пример #1
0
        private void Add_Shows_Btn_Click(object sender, RoutedEventArgs e)
        {
            AddShowWindow addShowWindow = new AddShowWindow();

            addShowWindow.Show();
            addShowWindow.Closed += (s, eventarg) =>
            {
                Shows = CircusInformation.GetShows();
                Shows_ListView.ItemsSource = Shows;
            };
        }
Пример #2
0
        public OrderTicketsWindow()
        {
            InitializeComponent();
            List <Show> shows = CircusInformation.GetShows();

            Shows_ListView.ItemsSource = shows;


            List <int> quantity = new List <int> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            };



            //Quantity_ComboBox.ItemsSource = quantity;
            //Quantity_ComboBox.SelectionChanged += new SelectionChangedEventHandler(Quantity_ComboBox_SelectionChanged);
        }
Пример #3
0
 public ShowsWindow()
 {
     InitializeComponent();
     Shows = CircusInformation.GetShows();
     Shows_ListView.ItemsSource = Shows;
 }