void AddTopic(object sender, RoutedEventArgs e) { FinalRounder newTopic = new FinalRounder(0, "New topic"); finalRoundList.Add(newTopic); newTopic.IsSelected = true; topic.SelectAll(); topic.Focus(); }
void SelectFinalQuestion(FinalRounder question) { selectedTopic = question; topicId.Text = question.ID.ToString(); topic.Text = question.Text; }