Example #1
0
        private void CreateBrowser()
        {
            browser = new SpotifyEnabledBrowser {Parent = this, Dock = DockStyle.Fill};
            browser.BringToFront();

            Controls.Add(browser);
        }
Example #2
0
        public MainForm()
        {
            InitializeComponent();

            SpotifyEnabledBrowser.Init();

            CreateBrowser();
        }
Example #3
0
        private void CreateBrowser()
        {
            browser = new SpotifyEnabledBrowser {
                Parent = this, Dock = DockStyle.Fill
            };
            browser.BringToFront();

            Controls.Add(browser);
        }
        // default to spotify login screen
        public SpotifyEnabledBrowser()
            : base(BaseURL + "login.html")
        {
            Singleton = this;
            Spotify.Initialize();

            Session.OnLoggedIn += SessionOnOnLoggedIn;
            Session.OnPlayTokenLost += PlayTokenLost;
            HandleCreated += SpotifyEnabledBrowser_HandleCreated;
            ConsoleMessage += SpotifyEnabledBrowser_ConsoleMessage;
            Disposed += SpotifyEnabledBrowser_Disposed;
            IsLoadingChanged += SpotifyEnabledBrowser_IsLoadingChanged;
        }
Example #5
0
        // default to spotify login screen
        public SpotifyEnabledBrowser()
            : base(BaseURL + "login.html")
        {
            Singleton = this;
            Spotify.Initialize();

            Session.OnLoggedIn      += SessionOnOnLoggedIn;
            Session.OnPlayTokenLost += PlayTokenLost;
            HandleCreated           += SpotifyEnabledBrowser_HandleCreated;
            ConsoleMessage          += SpotifyEnabledBrowser_ConsoleMessage;
            Disposed         += SpotifyEnabledBrowser_Disposed;
            IsLoadingChanged += SpotifyEnabledBrowser_IsLoadingChanged;
        }