Exemple #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            webView = new CefSharp.WinForms.WebView("http://play.spotify.com", new CefSharp.BrowserSettings());
            this.Controls.Add(webView);
            webView.Dock = DockStyle.Fill;
            webView.Address = "http://play.spotify.com";
            SPHeader p = new SPHeader();
            this.Controls.Add(p);
            p.Dock = DockStyle.Top;

            p.MouseMove += p_MouseMove;
            p.MouseDoubleClick += p_MouseDoubleClick;

            SPFooter footer = new SPFooter();
            this.Controls.Add(footer);
            footer.Dock = DockStyle.Bottom;
        }
Exemple #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            webView = new CefSharp.WinForms.WebView("http://play.spotify.com", new CefSharp.BrowserSettings());
            this.Controls.Add(webView);
            webView.Dock    = DockStyle.Fill;
            webView.Address = "http://play.spotify.com";
            SPHeader p = new SPHeader();

            this.Controls.Add(p);
            p.Dock = DockStyle.Top;

            p.MouseMove        += p_MouseMove;
            p.MouseDoubleClick += p_MouseDoubleClick;

            SPFooter footer = new SPFooter();

            this.Controls.Add(footer);
            footer.Dock = DockStyle.Bottom;
        }