Пример #1
0
        private void TournirLabel_Click(object sender, MouseButtonEventArgs e)
        {
            Label           Tournir     = sender as Label;
            InputPage       page        = new InputPage();
            string          iname       = Tournir.Content.ToString();
            CompetitorsList competitors = DataWorker.Load_Competitors(iname);

            foreach (Competitor c in competitors.List)
            {
                page.listTextBox.AppendText(c.name);
            }

            page.sizeComboBox.SelectedIndex = 0;
            page.tNameTextBox.Text          = Tournir.Content.ToString();
            page.button.IsEnabled           = true;
            NavigationService.Navigate(page);
        }
Пример #2
0
        private void InputPage_Click(object sender, RoutedEventArgs e)
        {
            InputPage next = new InputPage();

            NavigationService.Navigate(next);
        }