// Constructor public MainPage() { InitializeComponent(); //if (AppConfig.isFirstRun) //{ //} panoramaMain.Visibility = Visibility.Collapsed; //animation.Stop(); helper = new Radiohelper(); (Application.Current as App).PlayList = helper.GetRadioList(); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); this.Loaded += MainPage_Loaded; BackgroundAudioPlayer.Instance.PlayStateChanged += Instance_PlayStateChanged; }