Exemple #1
0
        public RadioPageViewModel()
        {
            #region Init
            UpdateStationInfo = new DispatcherTimer();
            fill = new StationFill();
            st   = new StationToPlay();
            bh   = MainWindowViewModel.GetBassNetHelper();
            log  = MainWindowViewModel.GetLogVM();
            #endregion

            InitCategories();

            CurrentStation = (new PlayingStation
            {
                RadioLogo = new BitmapImage(new Uri("pack://application:,,,/Resources/Radio/custom.jpg")),
                RadioName = "No selected radio"
            });
            CategoryIndex = 0;
        }