Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add README.md and add Exclamation sound to DrunkPopupThread->MessageBox #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Codegasm

This is the **official** repository of **Codegasm**.


# index

* test app 1 - **Codegasm**
* test app 2 - **Demo**
* test app 3 - **Jarvis**
* test app 4 - **Drunk Pc**
* test app 5 - **simple web Browser**
* test app 6 - **Hard Drive Led**
Binary file added Test App 4 - Drunk PC/DrunkPC.v12.suo
Binary file not shown.
4 changes: 4 additions & 0 deletions Test App 4 - Drunk PC/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,17 @@ public static void DrunkPopupThread()
switch(_random.Next(2))
{
case 0:
SystemSounds.Exclamation.Play();

MessageBox.Show(
"Internet explorer has stopped working",
"Internet Explorer",
MessageBoxButtons.OK,
MessageBoxIcon.Error);
break;
case 1:
SystemSounds.Exclamation.Play();

MessageBox.Show(
"Your system is running low on resources",
"Microsoft Windows",
Expand Down