From 316b7739bd1f2e19ba67d7fd6302b8ec0c8fa75a Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sat, 10 Jun 2017 12:22:50 +0100 Subject: Done ALOT of tweaks and Save troubleshooter There is now a save troubleshooter that checks your save files if they can't load! Also, it checks what OS to load on startup of the game! --- .../OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs | 1 + TimeHACK.Main/OS/Win98/Win98.Designer.cs | 17 ++++++++++------- TimeHACK.Main/OS/Win98/Win98.cs | 4 ++-- TimeHACK.Main/OS/Win98/Win98.resx | 3 --- 4 files changed, 13 insertions(+), 12 deletions(-) (limited to 'TimeHACK.Main/OS') diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs index 578a114..44002fd 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs @@ -429,6 +429,7 @@ namespace TimeHACK.OS.Win95.Win95Apps // IsFileDialog = False //End Sub void WinClassicWindowsExplorer_Load(object sender, EventArgs e) { + //icons.Images.Add(Properties.Resources.WinClassicFolder); //icons.Images.Add(Properties.Resources.WinClassicComputer); program.BringToFront(); diff --git a/TimeHACK.Main/OS/Win98/Win98.Designer.cs b/TimeHACK.Main/OS/Win98/Win98.Designer.cs index 484c931..255a97a 100644 --- a/TimeHACK.Main/OS/Win98/Win98.Designer.cs +++ b/TimeHACK.Main/OS/Win98/Win98.Designer.cs @@ -1,6 +1,6 @@ namespace TimeHACK.OS.Win98 { - partial class Win98 + partial class Windows98 { /// /// Required designer variable. @@ -28,7 +28,7 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Win98)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows98)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("My Computer", 0); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Network Neighborhood", 5); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("Inbox", 3); @@ -116,9 +116,9 @@ // this.taskbar.BackColor = System.Drawing.Color.Silver; this.taskbar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("taskbar.BackgroundImage"))); + this.taskbar.Controls.Add(this.startbutton); this.taskbar.Controls.Add(this.clockPanel); this.taskbar.Controls.Add(this.taskbarItems); - this.taskbar.Controls.Add(this.startbutton); this.taskbar.Dock = System.Windows.Forms.DockStyle.Bottom; this.taskbar.Location = new System.Drawing.Point(0, 452); this.taskbar.Name = "taskbar"; @@ -148,11 +148,14 @@ // // taskbarItems // + this.taskbarItems.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); this.taskbarItems.BackColor = System.Drawing.Color.Transparent; this.taskbarItems.Cursor = System.Windows.Forms.Cursors.Default; - this.taskbarItems.Location = new System.Drawing.Point(63, 4); + this.taskbarItems.Location = new System.Drawing.Point(69, 4); this.taskbarItems.Name = "taskbarItems"; - this.taskbarItems.Size = new System.Drawing.Size(3648, 22); + this.taskbarItems.Size = new System.Drawing.Size(500, 22); this.taskbarItems.TabIndex = 5; // // startbutton @@ -909,7 +912,7 @@ this.desktopicons.TabIndex = 7; this.desktopicons.UseCompatibleStateImageBehavior = false; // - // Win98 + // Windows98 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; @@ -919,7 +922,7 @@ this.Controls.Add(this.startmenu); this.Controls.Add(this.desktopicons); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "Win98"; + this.Name = "Windows98"; this.Text = "Win98"; this.taskbar.ResumeLayout(false); this.clockPanel.ResumeLayout(false); diff --git a/TimeHACK.Main/OS/Win98/Win98.cs b/TimeHACK.Main/OS/Win98/Win98.cs index b3b5f99..f4f78de 100644 --- a/TimeHACK.Main/OS/Win98/Win98.cs +++ b/TimeHACK.Main/OS/Win98/Win98.cs @@ -10,9 +10,9 @@ using System.Windows.Forms; namespace TimeHACK.OS.Win98 { - public partial class Win98 : Form + public partial class Windows98 : Form { - public Win98() + public Windows98() { InitializeComponent(); } diff --git a/TimeHACK.Main/OS/Win98/Win98.resx b/TimeHACK.Main/OS/Win98/Win98.resx index 10f3284..ae0c3b7 100644 --- a/TimeHACK.Main/OS/Win98/Win98.resx +++ b/TimeHACK.Main/OS/Win98/Win98.resx @@ -138,9 +138,6 @@ 17, 17 - - 17, 17 - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N -- cgit v1.2.3