Exemplo n.º 1
0
        private void ChangeRadioStationByString(string stationString)
        {
            int stationIndex = int.Parse(stationString);

            // -1 means no default, so don't change the current station
            if (stationIndex != -1)
            {
                Trainer.ChangeCurrentRadioStation(stationIndex);
            }
        }