From b56050694f6473b13807a10d39881591e0f0f469 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 27 Jul 2017 00:25:37 -0400 Subject: the files thing, will fix in morning --- .../GlobalPrograms/WinClassicDownloader.cs | 4 +- TimeHACK.Main/OS/Win95/Win95.Designer.cs | 8 ++-- TimeHACK.Main/OS/Win95/Win95.cs | 2 +- .../OS/Win95/Win95Apps/Win95WindowsExplorer.cs | 4 +- .../Win98/Win98Apps/WinClassicWindowsExplorer.cs | 4 +- TimeHACK.Main/Properties/Resources.Designer.cs | 42 +++++++++++++++------ TimeHACK.Main/Properties/Resources.resx | 12 ++++-- TimeHACK.Main/Resources/WinClassic/Win95File.png | Bin 0 -> 236 bytes .../Resources/WinClassic/WinClassicApp.png | Bin 0 -> 148 bytes .../Resources/WinClassic/WinClassicMinesweeper.png | Bin 0 -> 309 bytes TimeHACK.Main/TimeHACK.Main.csproj | 3 ++ 11 files changed, 54 insertions(+), 25 deletions(-) create mode 100644 TimeHACK.Main/Resources/WinClassic/Win95File.png create mode 100644 TimeHACK.Main/Resources/WinClassic/WinClassicApp.png create mode 100644 TimeHACK.Main/Resources/WinClassic/WinClassicMinesweeper.png (limited to 'TimeHACK.Main') diff --git a/TimeHACK.Main/GlobalPrograms/WinClassicDownloader.cs b/TimeHACK.Main/GlobalPrograms/WinClassicDownloader.cs index ce71b40..0237fac 100644 --- a/TimeHACK.Main/GlobalPrograms/WinClassicDownloader.cs +++ b/TimeHACK.Main/GlobalPrograms/WinClassicDownloader.cs @@ -38,10 +38,10 @@ namespace TimeHACK.OS.Win95.Win95Apps switch (appName.Text) { case "Downloading: FTP Client": - CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "FTP Client setup.exe"), "ftp client setup"); + CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "FTP Client Setup.exe", "ftp client setup"); break; case "Downloading: Web Chat 1998": - CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop", "Web Chat Setup.exe"), "web chat setup"); + CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Web Chat Setup.exe", "web chat setup"); break; } /* if (appName.Text == "Downloading: Guess The Number") diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index df05e65..49bfba6 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -434,7 +434,7 @@ namespace TimeHACK.OS.Win95 this.MinsweeperToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.MinsweeperToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.MinsweeperToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.MinsweeperToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.minsweeper_logo; + this.MinsweeperToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicMinesweeper; this.MinsweeperToolStripMenuItem.Name = "MinsweeperToolStripMenuItem"; this.MinsweeperToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.MinsweeperToolStripMenuItem.Text = "Minesweeper"; @@ -963,9 +963,9 @@ namespace TimeHACK.OS.Win95 this.desktopImages.Images.SetKeyName(5, "WinClassicNetworking.png"); this.desktopImages.Images.SetKeyName(6, "WinClassicOutlook.png"); this.desktopImages.Images.SetKeyName(7, "WinClassicRecycle.png"); - this.desktopImages.Images.SetKeyName(8, "WinClassicSetup.png"); - this.desktopImages.Images.SetKeyName(9, "WinClassicSetup.png"); - this.desktopImages.Images.SetKeyName(10, "WinClassicSetup.png"); + this.desktopImages.Images.SetKeyName(8, "Win95File.png"); + this.desktopImages.Images.SetKeyName(9, "WinClassicFolder.png"); + this.desktopImages.Images.SetKeyName(10, "WinClassicApp.png"); this.desktopImages.Images.SetKeyName(11, "WinClassicSetup.png"); this.desktopImages.Images.SetKeyName(12, "blank-file-Windows95Icon.gif"); // diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index caef618..3279967 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -574,7 +574,7 @@ namespace TimeHACK.OS.Win95 private void MinsweeperToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartWin95(new WinClassicMinesweeper(), "Minesweeper", Properties.Resources.minsweeper_logo, false, false); + WinClassic app = wm.StartWin95(new WinClassicMinesweeper(), "Minesweeper", Properties.Resources.WinClassicMinesweeper, false, false); AddTaskBarItem(app, app.Tag.ToString(), "Calculator", Properties.Resources.WinClassicCalc); nonimportantapps.Add(app); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs index 4b0157e..7c999c8 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95WindowsExplorer.cs @@ -93,14 +93,14 @@ namespace TimeHACK.OS.Win95.Win95Apps if (returnYesIfProtected == true) { - if (toRead.Isprotected == true) + if (toRead.IsProtected == true) { return "yes"; } } else { - return toRead.label; + return toRead.Label; } return Val; } diff --git a/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs b/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs index ef28bca..290d2f2 100644 --- a/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs +++ b/TimeHACK.Main/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs @@ -110,14 +110,14 @@ namespace TimeHACK.OS.Win95.Win95Apps if (returnYesIfProtected == true) { - if (toRead.Isprotected == true) + if (toRead.IsProtected == true) { return "yes"; } } else { - return toRead.label; + return toRead.Label; } return Val; } diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs index c4e9524..4abab30 100644 --- a/TimeHACK.Main/Properties/Resources.Designer.cs +++ b/TimeHACK.Main/Properties/Resources.Designer.cs @@ -375,16 +375,6 @@ namespace TimeHACK.Properties { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap minsweeper_logo { - get { - object obj = ResourceManager.GetObject("minsweeper logo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -400,7 +390,7 @@ namespace TimeHACK.Properties { /// internal static System.Drawing.Bitmap minsweeper_smile { get { - object obj = ResourceManager.GetObject("minsweeper smile", resourceCulture); + object obj = ResourceManager.GetObject("minsweeper_smile", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -784,6 +774,16 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Win95File { + get { + object obj = ResourceManager.GetObject("Win95File", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -1021,6 +1021,16 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicApp { + get { + object obj = ResourceManager.GetObject("WinClassicApp", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -1201,6 +1211,16 @@ namespace TimeHACK.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap WinClassicMinesweeper { + get { + object obj = ResourceManager.GetObject("WinClassicMinesweeper", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index 779be5c..7a96a19 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -148,7 +148,7 @@ ..\Resources\WinClassic\WinClassicNew.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - + ..\Resources\minsweeper smile.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -681,7 +681,13 @@ ..\Resources\ie4_mail.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\minsweeper logo.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\WinClassic\Win95File.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinClassic\WinClassicApp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\WinClassic\WinClassicMinesweeper.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/TimeHACK.Main/Resources/WinClassic/Win95File.png b/TimeHACK.Main/Resources/WinClassic/Win95File.png new file mode 100644 index 0000000..ada2ccd Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/Win95File.png differ diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicApp.png b/TimeHACK.Main/Resources/WinClassic/WinClassicApp.png new file mode 100644 index 0000000..5d954ac Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/WinClassicApp.png differ diff --git a/TimeHACK.Main/Resources/WinClassic/WinClassicMinesweeper.png b/TimeHACK.Main/Resources/WinClassic/WinClassicMinesweeper.png new file mode 100644 index 0000000..c528175 Binary files /dev/null and b/TimeHACK.Main/Resources/WinClassic/WinClassicMinesweeper.png differ diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 77192ec..c6433e0 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -572,6 +572,7 @@ + @@ -582,6 +583,7 @@ + @@ -599,6 +601,7 @@ + -- cgit v1.2.3