From ec552fb640dce9bb7ef46d143edffaaa585f219e Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sun, 2 Jul 2017 19:45:52 -0400 Subject: New update --- YouTube TV/Form2.cs | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 YouTube TV/Form2.cs (limited to 'YouTube TV/Form2.cs') diff --git a/YouTube TV/Form2.cs b/YouTube TV/Form2.cs new file mode 100644 index 0000000..6a7bd5a --- /dev/null +++ b/YouTube TV/Form2.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using CefSharp; +using CefSharp.WinForms; +using CefSharp.WinForms.Internals; + +namespace YouTube_TV +{ + public partial class Form2 : Form + { + public Form2() + { + InitializeComponent(); + } + + public CefSharp.WinForms.ChromiumWebBrowser browser; + + private void Form1_Load(object sender, EventArgs e) + { + + + + browser = new CefSharp.WinForms.ChromiumWebBrowser("www.youtube.com/tv"); + { + Dock = DockStyle.Fill; + Size = new Size(514, 421); + Location = new Point(0, 0); + } + this.panel1.Controls.Add(browser); + } + } +} -- cgit v1.2.3