コード例 #1
0
        private void cboTeam_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            var comboBox   = sender as ComboBox;
            var choiceItem = comboBox.SelectedItem as string;

            if (choiceItem != null)
            {
                TeamInfo.Clear();
                PrintTeamInfoTo(choiceItem, TeamInfo);
            }
        }
コード例 #2
0
 private void BeforeLoadLeague()
 {
     BusyIndicator.Visibility = Visibility.Visible;
     cboTeam.IsEnabled        = false;
     TeamInfo.Clear();
 }