diff options
| author | Alee14 <alee14498@gmail.com> | 2017-07-02 19:45:52 -0400 |
|---|---|---|
| committer | Alee14 <alee14498@gmail.com> | 2017-07-02 20:07:29 -0400 |
| commit | ec552fb640dce9bb7ef46d143edffaaa585f219e (patch) | |
| tree | a32fb47ffe0820ea60a2bb0f4486512a08f0dc95 /YouTube TV/Form1.cs | |
| parent | 591f24fe8a4facbcedc794819b3063e778345c14 (diff) | |
| download | YouTube-TV-ec552fb640dce9bb7ef46d143edffaaa585f219e.tar.gz YouTube-TV-ec552fb640dce9bb7ef46d143edffaaa585f219e.tar.bz2 YouTube-TV-ec552fb640dce9bb7ef46d143edffaaa585f219e.zip | |
New update
Diffstat (limited to 'YouTube TV/Form1.cs')
| -rw-r--r-- | YouTube TV/Form1.cs | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/YouTube TV/Form1.cs b/YouTube TV/Form1.cs index a27692c..bfdbe52 100644 --- a/YouTube TV/Form1.cs +++ b/YouTube TV/Form1.cs @@ -6,10 +6,8 @@ using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; +using System.Threading; using System.Windows.Forms; -using CefSharp; -using CefSharp.WinForms; -using CefSharp.WinForms.Internals; namespace YouTube_TV { @@ -17,22 +15,40 @@ namespace YouTube_TV { public Form1() { + Thread t = new Thread(new ThreadStart(SplashStart)); + t.Start(); InitializeComponent(); + } - public CefSharp.WinForms.ChromiumWebBrowser browser; + public void SplashStart() - 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); + Application.Run(new Form2()); + } + + private void Form2_Load(object sender, EventArgs e) + { + this.timer1.Start(); + + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + + } + + private void progressBar1_Click(object sender, EventArgs e) + { + + } + + private void timer1_Tick(object sender, EventArgs e) + { + // this.progressBar1.Increment(1); + // Form2 frm = new Form2(); + //frm.Show(); + //this.Close(); } } } |
