Пример #1
0
        private void SetupPages()
        {
            _searchPage = new Search(_player);
            transitionControl.AddPage(_searchPage);

            _settingsPage = new Settings(_player, _config, _keyHost);
            transitionControl.AddPage(_settingsPage);

            _restartPage = new RestartPage();
            transitionControl.AddPage(_restartPage);

            _aboutPage = new About();
            transitionControl.AddPage(_aboutPage);

            _stationPage = new StationList(_player);
            transitionControl.AddPage(_stationPage);

            _quickMixPage = new QuickMixPage(_player);
            transitionControl.AddPage(_quickMixPage);

            _loginPage = new LoginPage(_player, _config);
            transitionControl.AddPage(_loginPage);

            _playlistPage = new PlaylistPage(_player);
            transitionControl.AddPage(_playlistPage);

            _lastFMPage = new LastFMAuthPage();
            transitionControl.AddPage(_lastFMPage);
        }
Пример #2
0
        private void SetupPages()
        {
            _searchPage = new Search(_player);
            transitionControl.AddPage(_searchPage);

            _settingsPage = new Settings(_player, _config, _keyHost);
            transitionControl.AddPage(_settingsPage);

            _restartPage = new RestartPage();
            transitionControl.AddPage(_restartPage);

            _aboutPage = new About();
            transitionControl.AddPage(_aboutPage);

            _stationPage = new StationList(_player);
            transitionControl.AddPage(_stationPage);

            _quickMixPage = new QuickMixPage(_player);
            transitionControl.AddPage(_quickMixPage);

            _loginPage = new LoginPage(_player, _config);
            transitionControl.AddPage(_loginPage);

            _playlistPage = new PlaylistPage(_player);
            transitionControl.AddPage(_playlistPage);

            _lastFMPage = new LastFMAuthPage();
            transitionControl.AddPage(_lastFMPage);
        }