From 776ec1a39831bc476caf389c7941188e4890585f Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 10 Feb 2019 12:55:48 -0500 Subject: Added a bunch of things and testing TravisCI --- BSODPrank/Boot.cs | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 BSODPrank/Boot.cs (limited to 'BSODPrank/Boot.cs') 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(); + } + } +} -- cgit v1.2.3