From 5506026df25872d30b0b351e2a1833d75dce9046 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Wed, 10 May 2017 14:08:17 -0400 Subject: New Project! --- YouTube TV/Form1.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'YouTube TV/Form1.cs') diff --git a/YouTube TV/Form1.cs b/YouTube TV/Form1.cs index f57d76c..a27692c 100644 --- a/YouTube TV/Form1.cs +++ b/YouTube TV/Form1.cs @@ -7,6 +7,9 @@ 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 { @@ -16,5 +19,20 @@ namespace YouTube_TV { InitializeComponent(); } + + public CefSharp.WinForms.ChromiumWebBrowser browser; + + private void Form1_Load(object sender, EventArgs e) + { + MessageBox.Show("This project was created by AleeCorp! To exit press Alt+F4. This will take some time please wait..."); + + 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