diff options
| author | Alee <Alee14498@gmail.com> | 2019-02-10 10:50:16 -0500 |
|---|---|---|
| committer | Alee <Alee14498@gmail.com> | 2019-02-10 10:50:16 -0500 |
| commit | 79188a22cf4a3490ee24d904143fef7de604c1ba (patch) | |
| tree | fce13d84c74c244d0e22cfe0156b9c800ab97d50 /BSODPrank/Form1.cs | |
| parent | 009d3dc2ad22453702076dcdfda964c150995b8c (diff) | |
| download | BSODPrank-79188a22cf4a3490ee24d904143fef7de604c1ba.tar.gz BSODPrank-79188a22cf4a3490ee24d904143fef7de604c1ba.tar.bz2 BSODPrank-79188a22cf4a3490ee24d904143fef7de604c1ba.zip | |
Added the bsod picture and added a debug exit button
Diffstat (limited to 'BSODPrank/Form1.cs')
| -rw-r--r-- | BSODPrank/Form1.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/BSODPrank/Form1.cs b/BSODPrank/Form1.cs index 283b63e..9ef6b14 100644 --- a/BSODPrank/Form1.cs +++ b/BSODPrank/Form1.cs @@ -19,12 +19,23 @@ namespace BSODPrank private void Form1_Load(object sender, EventArgs e) { - + #if DEBUG + MessageBox.Show("Debug mode is on."); + btnExitDebug.Visible = true; + #endif + //System.Media.SoundPlayer player = new System.Media.SoundPlayer(); + //player.SoundLocation = "Bleep-SoundBible.com-1927126940.wav"; + //player.Play(); } private void Form1_KeyDown(object sender, KeyEventArgs e) { } + + private void btnExitDebug_Click(object sender, EventArgs e) + { + this.Close(); + } } } |
