コード例 #1
0
ファイル: MainForm.cs プロジェクト: houbysoft/soundbounce
        private void CreateBrowser()
        {
            browser = new SpotifyEnabledBrowser {Parent = this, Dock = DockStyle.Fill};
            browser.BringToFront();

            Controls.Add(browser);
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: phaufe/soundbounce
        public MainForm()
        {
            InitializeComponent();

            SpotifyEnabledBrowser.Init();

            CreateBrowser();
        }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: phaufe/soundbounce
        private void CreateBrowser()
        {
            browser = new SpotifyEnabledBrowser {
                Parent = this, Dock = DockStyle.Fill
            };
            browser.BringToFront();

            Controls.Add(browser);
        }
コード例 #4
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;
        }
コード例 #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;
        }