diff options
Diffstat (limited to 'YouTube TV/Form1.cs')
| -rw-r--r-- | YouTube TV/Form1.cs | 18 |
1 files changed, 18 insertions, 0 deletions
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); + } } } |
