diff options
Diffstat (limited to 'Histacom2/OS/Win98/Win98.cs')
| -rw-r--r-- | Histacom2/OS/Win98/Win98.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Histacom2/OS/Win98/Win98.cs b/Histacom2/OS/Win98/Win98.cs index 742b19a..e10904e 100644 --- a/Histacom2/OS/Win98/Win98.cs +++ b/Histacom2/OS/Win98/Win98.cs @@ -23,6 +23,7 @@ namespace Histacom2.OS.Win98 public List<WinClassic> nonimportantapps = new List<WinClassic>(); public WebChat1999 webchat; public WinClassic ie; + public WinClassic welcome; public TaskBarController tb = new TaskBarController(); @@ -114,6 +115,22 @@ namespace Histacom2.OS.Win98 // Bring to this the front this.BringToFront(); + //Check if it is the first time + if (CurrentSave.FTime98 == false) + { + CurrentSave.FTime98 = true; + SaveGame(); + welcome = wm.Init(new Win98Welcome(), "Welcome", null, false, false, resize: false); + AddTaskBarItem(welcome, welcome.Tag.ToString(), "Welcome", null); + + nonimportantapps.Add(welcome); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + welcome.BringToFront(); + welcome.Activate(); + } + // Update the desktop Icons! DesktopController.RefreshDesktopIcons(new ListViewItem[] { new System.Windows.Forms.ListViewItem("My Computer", 0), |
