Esempio n. 1
0
        private void cmbLangs_SelectedIndexChanged(object sender, EventArgs e)
        {
            long id = ((ComboboxItem)cmbLangs.SelectedItem).Value;

            foreach (TrackInfo tkinfo in tracksParser[TrackType.AUDIO])
            {
                if (tkinfo.ID == id)
                {
                    player.API.SetPropertyLong("aid", tkinfo.ID);
                    player.RestartAsync();
                    break;
                }
            }
        }