private void FighterSelect1_SelectionChanged(object sender, SelectionChangedEventArgs e) { FighterClass feathers1 = FighterSelect1.SelectedItem as FighterClass; FighterInfoBox1.Text = "Wins " + Convert.ToString(feathers1.Win) + " Loss " + Convert.ToString(feathers1.Loss); FinishBox1.Text = " KOs " + Convert.ToString(feathers1.Knockouts) + " Subs " + Convert.ToString(feathers1.Submissions); RankBox1.Text = Convert.ToString(feathers1.Rank); ScoreBox1.Text = Convert.ToString(feathers1.FightScore); }
private void FighterSelect_SelectionChanged(object sender, SelectionChangedEventArgs e) { FighterClass lights = FighterSelect.SelectedItem as FighterClass; FighterInfoBox.Text = "Wins " + Convert.ToString(lights.Win) + " Loss " + Convert.ToString(lights.Loss); FinishBox.Text = "KOs " + Convert.ToString(lights.Knockouts) + "Subs " + Convert.ToString(lights.Submissions); RankBox.Text = Convert.ToString(lights.Rank); ScoreBox.Text = Convert.ToString(lights.FightScore); }