aboutsummaryrefslogtreecommitdiff
path: root/Project Ports/Boot.cs
blob: 4aa938093421319fcc1278d1354f225d79310830 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Project_Ports
{
    public partial class Boot : Form
    {
        public Boot()
        {
            InitializeComponent();
        }

        private void Boot_Load(object sender, EventArgs e)
        {
            this.BringToFront();
            Thread.Sleep(2000);
            txtBoot.AppendText("PortOS is now booting...");
            Thread.Sleep(2000);
            txtBoot.AppendText("PortOS is now booting..." + Environment.NewLine);
            Thread.Sleep(2000);
            txtBoot.AppendText("GUI Driver has been found!" + Environment.NewLine);
            Thread.Sleep(2000);
            txtBoot.AppendText("Starting Desktop..." + Environment.NewLine);
            Thread.Sleep(3000);

            Desktop desktop = new Desktop();
            desktop.Show();
            this.Close();
        }
    }
}