private void TournamentGameModeList_SelectionChanged(object sender, SelectionChangedEventArgs e) { var item = TournamentGameModeList.SelectedItem as ITournamentGameModel; if (item != null && item is ITournamentGameModel) { TableSideInformationControl.SetTournamentModeNote(TournamentGameModeList.SelectedItem as ITournamentGameModel); } }
private void NormalGameModeList_SelectionChanged(object sender, SelectionChangedEventArgs e) { var item = NormalGameModeList.SelectedItem as NormalGameModel; if (item != null && item is NormalGameModel) { TableSideInformationControl.SetNormalModeNote(NormalGameModeList.SelectedItem as NormalGameModel); } }