diff options
| author | Andrew <alee14498@gmail.com> | 2018-08-28 14:22:58 -0400 |
|---|---|---|
| committer | Andrew <alee14498@gmail.com> | 2018-08-28 14:22:58 -0400 |
| commit | 90e14a0932b63679c356e8bc1d42e657d7c612ad (patch) | |
| tree | f7c6e6600e17dc3c3a6b8868c3e3e52c88dc6e1b /Project Ports/Crash.cs | |
| parent | 88bd278b428e85b54441342d8d94fc7c6e3c9029 (diff) | |
| download | Project-Silicon-90e14a0932b63679c356e8bc1d42e657d7c612ad.tar.gz Project-Silicon-90e14a0932b63679c356e8bc1d42e657d7c612ad.tar.bz2 Project-Silicon-90e14a0932b63679c356e8bc1d42e657d7c612ad.zip | |
Changed crashing and added booting
Diffstat (limited to 'Project Ports/Crash.cs')
| -rw-r--r-- | Project Ports/Crash.cs | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/Project Ports/Crash.cs b/Project Ports/Crash.cs index a5273d3..0bfb955 100644 --- a/Project Ports/Crash.cs +++ b/Project Ports/Crash.cs @@ -5,6 +5,7 @@ using System.Data; using System.Drawing; using System.Linq; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using PortEngine; @@ -18,12 +19,25 @@ namespace Project_Ports InitializeComponent(); } - private void btnStartOver_Click(object sender, EventArgs e) + private void Crash_Load(object sender, EventArgs e) { - Properties.Settings.Default.hijacked = true; - Properties.Settings.Default.chatterStoryline = true; - this.Close(); - + this.BringToFront(); + Thread.Sleep(2000); + txtCrash.AppendText("PortOS.GUI has crashed..." + Environment.NewLine); + Thread.Sleep(2000); + txtCrash.AppendText("SYSTEM ERROR: Crashed" + Environment.NewLine); + Thread.Sleep(2000); + txtCrash.AppendText("Rebooting PortOS..." + Environment.NewLine); + if (Properties.Settings.Default.hijacked2 == true) + { + MessageBox.Show("Coming soon!"); + } + else + { + Boot boot = new Boot(); + boot.Show(); + this.Close(); + } } } } |
