private void dropdown_SelectedIndexChanged(object sender, EventArgs e) { var info = (ScoreInfo)dropdown.SelectedItem; if (info.Type == "Tablature") { SetNotation(_song.GetTablature(info.Track), _song.GetNotationData(info.TrackName, info.Type), info.Track); } else { SetNotation(_song.GetNotation(info.Track), _song.GetNotationData(info.TrackName, info.Type), info.Track); } }