diff options
| author | lempamo <[email protected]> | 2017-07-05 14:41:29 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-05 14:41:29 -0400 |
| commit | 525f7fce5a4c96fafba64271b8163a934b208992 (patch) | |
| tree | a7be87335f709954ce3b7b1525f9a80931d8e05c /TimeHACK.Main/OS/Win95/Win95.cs | |
| parent | 038e1edf03e8ea802c70f9f5f60c4b420fbb9dd8 (diff) | |
| parent | 9a972102202c5105e783c74c501cdb5dabdf22b7 (diff) | |
| download | histacom2-525f7fce5a4c96fafba64271b8163a934b208992.tar.gz histacom2-525f7fce5a4c96fafba64271b8163a934b208992.tar.bz2 histacom2-525f7fce5a4c96fafba64271b8163a934b208992.zip | |
Merge branch 'master' of https://github.com/TimeHACKDevs/TimeHACK.git
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95.cs | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 3bd63b5..a24932d 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -10,7 +10,7 @@ using TimeHACK.Engine.Template.Taskbars; using TimeHACK.OS.Win95.Win95Apps; using TimeHACK.WinClassicForms; using TimeHACK.OS.Win95.Win95Apps.Story; - +using static TimeHACK.Engine.SaveSystem; namespace TimeHACK.OS.Win95 { @@ -96,6 +96,23 @@ namespace TimeHACK.OS.Win95 // Bring to this the front this.BringToFront(); + + //Check if it is the first time + if (CurrentSave.FTime95 == false) + { + CurrentSave.FTime95 = true; + SaveSystem.SaveGame(); + WinClassicWelcome welcome = new WinClassicWelcome(); + WinClassic app = wm.StartWin95(welcome, "Welcome", null, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Welcome", null); + + nonimportantapps.Add(app); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + app.BringToFront(); + + } } private void fontLoad() |
