aboutsummaryrefslogtreecommitdiff
path: root/BSODPrank/Boot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BSODPrank/Boot.cs')
-rw-r--r--BSODPrank/Boot.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/BSODPrank/Boot.cs b/BSODPrank/Boot.cs
new file mode 100644
index 0000000..a42bcff
--- /dev/null
+++ b/BSODPrank/Boot.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace BSODPrank
+{
+ public partial class Boot : Form
+ {
+ public Boot()
+ {
+ InitializeComponent();
+ }
+
+ private async void Boot_Load(object sender, EventArgs e)
+ {
+ await Task.Delay(5000);
+ txtBoot.AppendText("[SYSTEM ERROR] BIOS Cannot Display." + Environment.NewLine);
+ }
+
+ private void Boot_KeyDown(object sender, KeyEventArgs e)
+ {
+ System.IO.Stream str = Properties.Resources.bleep;
+ System.Media.SoundPlayer snd = new System.Media.SoundPlayer(str);
+ snd.Play();
+ }
+
+ private void txtBoot_KeyDown(object sender, KeyEventArgs e)
+ {
+ System.IO.Stream str = Properties.Resources.bleep;
+ System.Media.SoundPlayer snd = new System.Media.SoundPlayer(str);
+ snd.Play();
+ }
+ }
+}