diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-06-17 22:25:33 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-06-17 22:25:33 +0100 |
| commit | 2f9031e0ace7ddadec9c441551ccfecf80b6df28 (patch) | |
| tree | 552cfd401bdcacd216a82c8e61864ba32dd2708a /TimeHACK.Main/OS/Win95/Win95.cs | |
| parent | 17d94fdc1dd6d03e8a5f732f2fd5a632075cffe1 (diff) | |
| download | histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.tar.gz histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.tar.bz2 histacom2-2f9031e0ace7ddadec9c441551ccfecf80b6df28.zip | |
A LOT of tweaks - more to come
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.cs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 8b272ec..bd706cb 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -109,12 +109,7 @@ namespace TimeHACK.OS.Win95 // Shutdown button
private void ShutdownToolStripMenuItem_Click(object sender, EventArgs e)
{
- startsound.Stop();
- Stream audio = Properties.Resources.tada;
- stopsound = new SoundPlayer(audio);
- stopsound.Play();
- System.Threading.Thread.Sleep(1500);
- Application.Exit();
+ Program.ShutdownApplication(Properties.Resources.tada);
}
#endregion //Region
@@ -343,12 +338,18 @@ namespace TimeHACK.OS.Win95 private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e)
{
- Win95Apps.Story.Hack1 story = new Win95Apps.Story.Hack1();
- story.startObjective();
+ Hack1.startObjective();
}
private void temp_for_std(object sender, EventArgs e)
{
+ System.Threading.Thread thread = new System.Threading.Thread(StartSurviveTheDay);
+
+ thread.Start();
+ }
+
+ void StartSurviveTheDay()
+ {
Win2K.Win2KApps.SurviveTheDay std = new Win2K.Win2KApps.SurviveTheDay();
WinClassic app = wm.startWin95(std, "Survive The Day", null, false, false);
AddTaskBarItem(app, app.Tag.ToString(), "Survive The Day", null);
|
