From 4ab4aa2f2d91eb117bdd54bc42bb2091f2f380fb Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sun, 22 Oct 2017 22:11:46 -0400 Subject: added first combobox validation --- .../Win95Apps/WinClassicThemePanel.Designer.cs | 33 +++++++++++++++++++++- .../OS/Win95/Win95Apps/WinClassicThemePanel.cs | 31 ++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) (limited to 'Histacom2') diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs index 6b92d11..5caf02f 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs @@ -53,8 +53,18 @@ this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "Default", + "Windows 95 Default Plus", "Dangerous Creatures", - "Inside Your Computer"}); + "Inside Your Computer", + "Leonardo da Vinci", + "More Windows", + "Mystery", + "Nature", + "Science", + "Sports", + "The 60\'s USA", + "The Golden Era", + "Travel"}); this.comboBox1.Location = new System.Drawing.Point(15, 201); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(269, 21); @@ -73,6 +83,13 @@ // // applyButton // + this.applyButton.AdaptBackColorWithTheme = true; + this.applyButton.AdaptFontWithTheme = true; + this.applyButton.AdaptForeColorWithTheme = true; + this.applyButton.BackColor = System.Drawing.Color.Silver; + this.applyButton.DialogResult = System.Windows.Forms.DialogResult.None; + this.applyButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.applyButton.ForeColor = System.Drawing.Color.Black; this.applyButton.Location = new System.Drawing.Point(209, 245); this.applyButton.Name = "applyButton"; this.applyButton.Size = new System.Drawing.Size(75, 23); @@ -82,6 +99,13 @@ // // cancelButton // + this.cancelButton.AdaptBackColorWithTheme = true; + this.cancelButton.AdaptFontWithTheme = true; + this.cancelButton.AdaptForeColorWithTheme = true; + this.cancelButton.BackColor = System.Drawing.Color.Silver; + this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.None; + this.cancelButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.cancelButton.ForeColor = System.Drawing.Color.Black; this.cancelButton.Location = new System.Drawing.Point(128, 245); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); @@ -91,6 +115,13 @@ // // okButton // + this.okButton.AdaptBackColorWithTheme = true; + this.okButton.AdaptFontWithTheme = true; + this.okButton.AdaptForeColorWithTheme = true; + this.okButton.BackColor = System.Drawing.Color.Silver; + this.okButton.DialogResult = System.Windows.Forms.DialogResult.None; + this.okButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.okButton.ForeColor = System.Drawing.Color.Black; this.okButton.Location = new System.Drawing.Point(47, 245); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 23); diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs index 2529e10..5634000 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -51,6 +51,37 @@ namespace Histacom2.OS.Win95.Win95Apps case "insidepc": comboBox1.SelectedItem = "Inside Your Computer"; break; + case "default95plus": + comboBox1.SelectedItem = "Windows 95 Default Plus"; + break; + case "goldenera": + comboBox1.SelectedItem = "The Golden Era"; + break; + case "Leo": + comboBox1.SelectedItem = "Leonardo da Vinci"; + break; + case "Mystery": + comboBox1.SelectedItem = "Mystery"; + break; + case "Nature": + comboBox1.SelectedItem = "Nature"; + break; + case "Science": + comboBox1.SelectedItem = "Science"; + break; + case "Sports": + comboBox1.SelectedItem = "Sports"; + break; + case "The60": + comboBox1.SelectedItem = "The 60's USA"; + break; + case "Travel": + comboBox1.SelectedItem = "Travel"; + break; + case "MoreWin": + comboBox1.SelectedItem = "More Windows"; + break; + } } -- cgit v1.2.3 From ab826cd4494b36c1292fc20624348b95f4d16bed Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sun, 22 Oct 2017 22:19:00 -0400 Subject: Imported wallpapers and finsihed previewing --- Histacom2/Histacom2.csproj | 11 +++ .../OS/Win95/Win95Apps/WinClassicThemePanel.cs | 30 ++++++ Histacom2/Properties/Resources.resx | 33 +++++++ Histacom2/Properties/Resources1.Designer.cs | 110 +++++++++++++++++++++ .../win95plusdangerouscreatureswallpaper.jpg | Bin 0 -> 99357 bytes Histacom2/Resources/win95plusdefaultwallpaper.jpg | Bin 0 -> 42497 bytes .../Resources/win95plusgoldenerawallpaper.jpg | Bin 0 -> 45220 bytes Histacom2/Resources/win95plusleowallpaper.jpg | Bin 0 -> 91336 bytes Histacom2/Resources/win95plusmorewin.jpg | Bin 0 -> 32034 bytes Histacom2/Resources/win95plusmysterywallpaper.jpg | Bin 0 -> 80213 bytes Histacom2/Resources/win95plusnaturewallpaper.jpg | Bin 0 -> 57803 bytes Histacom2/Resources/win95plussciencewallpaper.jpg | Bin 0 -> 107669 bytes Histacom2/Resources/win95plussportswallpaper.jpg | Bin 0 -> 90714 bytes Histacom2/Resources/win95plusthe60wallpaper.jpg | Bin 0 -> 94322 bytes Histacom2/Resources/win95plustravelwallpaper.jpg | Bin 0 -> 48791 bytes 15 files changed, 184 insertions(+) create mode 100644 Histacom2/Resources/win95plusdangerouscreatureswallpaper.jpg create mode 100644 Histacom2/Resources/win95plusdefaultwallpaper.jpg create mode 100644 Histacom2/Resources/win95plusgoldenerawallpaper.jpg create mode 100644 Histacom2/Resources/win95plusleowallpaper.jpg create mode 100644 Histacom2/Resources/win95plusmorewin.jpg create mode 100644 Histacom2/Resources/win95plusmysterywallpaper.jpg create mode 100644 Histacom2/Resources/win95plusnaturewallpaper.jpg create mode 100644 Histacom2/Resources/win95plussciencewallpaper.jpg create mode 100644 Histacom2/Resources/win95plussportswallpaper.jpg create mode 100644 Histacom2/Resources/win95plusthe60wallpaper.jpg create mode 100644 Histacom2/Resources/win95plustravelwallpaper.jpg (limited to 'Histacom2') diff --git a/Histacom2/Histacom2.csproj b/Histacom2/Histacom2.csproj index 616c442..30c22ed 100644 --- a/Histacom2/Histacom2.csproj +++ b/Histacom2/Histacom2.csproj @@ -822,6 +822,17 @@ + + + + + + + + + + + diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs index 5634000..ca23b2b 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -35,6 +35,36 @@ namespace Histacom2.OS.Win95.Win95Apps case "Inside Your Computer": pictureBox2.BackgroundImage = Properties.Resources.ICTheme_BG; break; + case "Windows 95 Default Plus": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusDefaultWallpaper; + break; + case "The Golden Era": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusGoldenEraWallpaper; + break; + case "Leonardo da Vinci": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusLeoWallpaper; + break; + case "Mystery": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusMysteryWallpaper; + break; + case "Nature": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusNatureWallpaper; + break; + case "Science": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusScienceWallpaper; + break; + case "Sports": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusSportsWallpaper; + break; + case "The 60's USA": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusThe60Wallpaper; + break; + case "Travel": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusTravelWallpaper; + break; + case "More Windows": + pictureBox2.BackgroundImage = Properties.Resources.Win95PlusMoreWin; + break; } } diff --git a/Histacom2/Properties/Resources.resx b/Histacom2/Properties/Resources.resx index b436cc8..782693e 100644 --- a/Histacom2/Properties/Resources.resx +++ b/Histacom2/Properties/Resources.resx @@ -2062,4 +2062,37 @@ ..\Resources\WinClassic\WinXPTour.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\win95plusdangerouscreatureswallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plusdefaultwallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plusgoldenerawallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plusleowallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plusmorewin.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plusmysterywallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plusnaturewallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plussciencewallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plussportswallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plusthe60wallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\win95plustravelwallpaper.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Histacom2/Properties/Resources1.Designer.cs b/Histacom2/Properties/Resources1.Designer.cs index 5e0a54b..07a3730 100644 --- a/Histacom2/Properties/Resources1.Designer.cs +++ b/Histacom2/Properties/Resources1.Designer.cs @@ -1326,6 +1326,116 @@ namespace Histacom2.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusDangerousCreaturesWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusDangerousCreaturesWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusDefaultWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusDefaultWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusGoldenEraWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusGoldenEraWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusLeoWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusLeoWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusMoreWin { + get { + object obj = ResourceManager.GetObject("Win95PlusMoreWin", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusMysteryWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusMysteryWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusNatureWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusNatureWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusScienceWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusScienceWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusSportsWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusSportsWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusThe60Wallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusThe60Wallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + public static System.Drawing.Bitmap Win95PlusTravelWallpaper { + get { + object obj = ResourceManager.GetObject("Win95PlusTravelWallpaper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/Histacom2/Resources/win95plusdangerouscreatureswallpaper.jpg b/Histacom2/Resources/win95plusdangerouscreatureswallpaper.jpg new file mode 100644 index 0000000..eb31a05 Binary files /dev/null and b/Histacom2/Resources/win95plusdangerouscreatureswallpaper.jpg differ diff --git a/Histacom2/Resources/win95plusdefaultwallpaper.jpg b/Histacom2/Resources/win95plusdefaultwallpaper.jpg new file mode 100644 index 0000000..9b1e6cc Binary files /dev/null and b/Histacom2/Resources/win95plusdefaultwallpaper.jpg differ diff --git a/Histacom2/Resources/win95plusgoldenerawallpaper.jpg b/Histacom2/Resources/win95plusgoldenerawallpaper.jpg new file mode 100644 index 0000000..fa7cdb2 Binary files /dev/null and b/Histacom2/Resources/win95plusgoldenerawallpaper.jpg differ diff --git a/Histacom2/Resources/win95plusleowallpaper.jpg b/Histacom2/Resources/win95plusleowallpaper.jpg new file mode 100644 index 0000000..e0350fa Binary files /dev/null and b/Histacom2/Resources/win95plusleowallpaper.jpg differ diff --git a/Histacom2/Resources/win95plusmorewin.jpg b/Histacom2/Resources/win95plusmorewin.jpg new file mode 100644 index 0000000..d8e3439 Binary files /dev/null and b/Histacom2/Resources/win95plusmorewin.jpg differ diff --git a/Histacom2/Resources/win95plusmysterywallpaper.jpg b/Histacom2/Resources/win95plusmysterywallpaper.jpg new file mode 100644 index 0000000..7691936 Binary files /dev/null and b/Histacom2/Resources/win95plusmysterywallpaper.jpg differ diff --git a/Histacom2/Resources/win95plusnaturewallpaper.jpg b/Histacom2/Resources/win95plusnaturewallpaper.jpg new file mode 100644 index 0000000..1d9e237 Binary files /dev/null and b/Histacom2/Resources/win95plusnaturewallpaper.jpg differ diff --git a/Histacom2/Resources/win95plussciencewallpaper.jpg b/Histacom2/Resources/win95plussciencewallpaper.jpg new file mode 100644 index 0000000..a0d9080 Binary files /dev/null and b/Histacom2/Resources/win95plussciencewallpaper.jpg differ diff --git a/Histacom2/Resources/win95plussportswallpaper.jpg b/Histacom2/Resources/win95plussportswallpaper.jpg new file mode 100644 index 0000000..4425f1a Binary files /dev/null and b/Histacom2/Resources/win95plussportswallpaper.jpg differ diff --git a/Histacom2/Resources/win95plusthe60wallpaper.jpg b/Histacom2/Resources/win95plusthe60wallpaper.jpg new file mode 100644 index 0000000..e23fe40 Binary files /dev/null and b/Histacom2/Resources/win95plusthe60wallpaper.jpg differ diff --git a/Histacom2/Resources/win95plustravelwallpaper.jpg b/Histacom2/Resources/win95plustravelwallpaper.jpg new file mode 100644 index 0000000..ef346da Binary files /dev/null and b/Histacom2/Resources/win95plustravelwallpaper.jpg differ -- cgit v1.2.3 From c2c493e1f39897daadc4b035d5371faf0bf1cb45 Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sun, 22 Oct 2017 22:23:33 -0400 Subject: added in the validating for the themes --- Histacom2.Engine/Theme.cs | 40 ++++++++--------- .../OS/Win95/Win95Apps/WinClassicThemePanel.cs | 50 ++++++++++++++++++++++ 2 files changed, 70 insertions(+), 20 deletions(-) (limited to 'Histacom2') diff --git a/Histacom2.Engine/Theme.cs b/Histacom2.Engine/Theme.cs index defe419..c6bba98 100644 --- a/Histacom2.Engine/Theme.cs +++ b/Histacom2.Engine/Theme.cs @@ -171,9 +171,9 @@ namespace Histacom2.Engine } } - public class Default95Plus : Theme + public class Default95PlusTheme : Theme { - public Default95Plus() + public Default95PlusTheme() { startSound = Properties.Resources.Win95PlusDefaultStop; stopSound = Properties.Resources.Win95PlusDefaultStop; @@ -204,9 +204,9 @@ namespace Histacom2.Engine } } - public class GoldenEra : Theme + public class GoldenEraTheme : Theme { - public GoldenEra() + public GoldenEraTheme() { startSound = Properties.Resources.Win95PlusGoldenEraStop; stopSound = Properties.Resources.Win95PlusGoldenEraStop; @@ -238,9 +238,9 @@ namespace Histacom2.Engine } - public class Leo : Theme + public class LeoTheme : Theme { - public Leo() + public LeoTheme() { startSound = Properties.Resources.Win95PlusLeoStart; stopSound = Properties.Resources.Win95PlusLeoStart; @@ -271,9 +271,9 @@ namespace Histacom2.Engine } } - public class Mystery : Theme + public class MysteryTheme : Theme { - public Mystery() + public MysteryTheme() { startSound = Properties.Resources.Win95PlusMysteryStart; stopSound = Properties.Resources.Win95PlusMysteryStop; @@ -304,9 +304,9 @@ namespace Histacom2.Engine } } - public class Nature : Theme + public class NatureTheme : Theme { - public Nature() + public NatureTheme() { startSound = Properties.Resources.Win95PlusNatureStart; stopSound = Properties.Resources.Win95PlusNatureStop; @@ -337,9 +337,9 @@ namespace Histacom2.Engine } } - public class Science : Theme + public class ScienceTheme : Theme { - public Science() + public ScienceTheme() { startSound = Properties.Resources.Win95PlusScienceStart; stopSound = Properties.Resources.Win95PlusScienceStop; @@ -370,9 +370,9 @@ namespace Histacom2.Engine } } - public class Sports : Theme + public class SportsTheme : Theme { - public Sports() + public SportsTheme() { startSound = Properties.Resources.Win95PlusSportsStart; stopSound = Properties.Resources.Win95PlusSportsStop; @@ -403,9 +403,9 @@ namespace Histacom2.Engine } } - public class The60 : Theme + public class The60Theme : Theme { - public The60() + public The60Theme() { startSound = Properties.Resources.Win95PlusThe60Start; stopSound = Properties.Resources.Win95PlusThe60Stop; @@ -436,9 +436,9 @@ namespace Histacom2.Engine } } - public class Travel : Theme + public class TravelTheme : Theme { - public Travel() + public TravelTheme() { startSound = Properties.Resources.Win95PlusTravelStart; stopSound = Properties.Resources.Win95PlusTravelStop; @@ -469,9 +469,9 @@ namespace Histacom2.Engine } } - public class MoreWin : Default95Plus + public class MoreWinTheme : Default95PlusTheme { - public MoreWin() + public MoreWinTheme() { defaultWallpaper = Properties.Resources.Win95PlusMoreWin; themeName = "MoreWin"; diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs index ca23b2b..a086f51 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -150,6 +150,56 @@ namespace Histacom2.OS.Win95.Win95Apps SaveSystem.currentTheme = new InsideComputerTheme(); TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; + case "Windows 95 Default Plus": + SaveSystem.CurrentSave.ThemeName = "default95plus"; + SaveSystem.currentTheme = new Default95PlusTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "The Golden Era": + SaveSystem.CurrentSave.ThemeName = "goldenera"; + SaveSystem.currentTheme = new GoldenEraTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Leonardo da Vinci": + SaveSystem.CurrentSave.ThemeName = "Leo"; + SaveSystem.currentTheme = new LeoTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Mystery": + SaveSystem.CurrentSave.ThemeName = "Mystery"; + SaveSystem.currentTheme = new MysteryTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Nature": + SaveSystem.CurrentSave.ThemeName = "Nature"; + SaveSystem.currentTheme = new NatureTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Science": + SaveSystem.CurrentSave.ThemeName = "Science"; + SaveSystem.currentTheme = new ScienceTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Sports": + SaveSystem.CurrentSave.ThemeName = "Sports"; + SaveSystem.currentTheme = new SportsTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "The 60's USA": + SaveSystem.CurrentSave.ThemeName = "The60"; + SaveSystem.currentTheme = new The60Theme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "Travel": + SaveSystem.CurrentSave.ThemeName = "Travel"; + SaveSystem.currentTheme = new TravelTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; + case "More Windows": + SaveSystem.CurrentSave.ThemeName = "MoreWin"; + SaveSystem.currentTheme = new MoreWinTheme(); + TitleScreen.frm95.desktopicons.BackgroundImage = null; + break; } foreach (Form f in Application.OpenForms) { -- cgit v1.2.3 From 850384944dd47955969134f5b0dc04836b5c92b1 Mon Sep 17 00:00:00 2001 From: jtsshieh Date: Sun, 22 Oct 2017 22:31:12 -0400 Subject: actually got the validating :stuck_out_tongue: --- Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Histacom2') diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs index a086f51..cac1bb1 100644 --- a/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/Histacom2/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -153,52 +153,52 @@ namespace Histacom2.OS.Win95.Win95Apps case "Windows 95 Default Plus": SaveSystem.CurrentSave.ThemeName = "default95plus"; SaveSystem.currentTheme = new Default95PlusTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusDefaultWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "The Golden Era": SaveSystem.CurrentSave.ThemeName = "goldenera"; SaveSystem.currentTheme = new GoldenEraTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusGoldenEraWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Leonardo da Vinci": SaveSystem.CurrentSave.ThemeName = "Leo"; SaveSystem.currentTheme = new LeoTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusLeoWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Mystery": SaveSystem.CurrentSave.ThemeName = "Mystery"; SaveSystem.currentTheme = new MysteryTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusMysteryWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Nature": SaveSystem.CurrentSave.ThemeName = "Nature"; SaveSystem.currentTheme = new NatureTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusNatureWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Science": SaveSystem.CurrentSave.ThemeName = "Science"; SaveSystem.currentTheme = new ScienceTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusScienceWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Sports": SaveSystem.CurrentSave.ThemeName = "Sports"; SaveSystem.currentTheme = new SportsTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusSportsWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "The 60's USA": SaveSystem.CurrentSave.ThemeName = "The60"; SaveSystem.currentTheme = new The60Theme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusThe60Wallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Travel": SaveSystem.CurrentSave.ThemeName = "Travel"; SaveSystem.currentTheme = new TravelTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusTravelWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "More Windows": SaveSystem.CurrentSave.ThemeName = "MoreWin"; SaveSystem.currentTheme = new MoreWinTheme(); - TitleScreen.frm95.desktopicons.BackgroundImage = null; + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.Win95PlusMoreWin, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; } foreach (Form f in Application.OpenForms) -- cgit v1.2.3