diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-21 13:24:28 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-21 13:24:28 +0100 |
| commit | 75c05d35535267096b0c46e143be7a55bb21c9c4 (patch) | |
| tree | b9f175812ff8fde1f982ee0667a3853572ec8259 /TimeHACK.Main/OS | |
| parent | fee528f280640948216f41f0569c79a6552e61c7 (diff) | |
| parent | a42b7b8d3219f5df18721afdf88bddb8dd11d463 (diff) | |
| download | histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.tar.gz histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.tar.bz2 histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.zip | |
Update My Fork PART 2!!!
Diffstat (limited to 'TimeHACK.Main/OS')
49 files changed, 3966 insertions, 642 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index 46485ee..15f4feb 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -88,11 +88,12 @@ namespace TimeHACK.OS.Win95 this.SkindowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.WebChatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.TimeDistorterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FTPClientToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.DocumentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.windowManagerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.downloaderTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.installerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.storyTest1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.iE4TestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ControlPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.PrintersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -130,7 +131,6 @@ namespace TimeHACK.OS.Win95 this.BitmapImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MicrosoftDataLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.PropertiesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.FTPClientToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); this.taskbar.SuspendLayout(); this.clockPanel.SuspendLayout(); @@ -457,6 +457,7 @@ namespace TimeHACK.OS.Win95 this.CalculatorToolStripMenuItem.Name = "CalculatorToolStripMenuItem"; this.CalculatorToolStripMenuItem.Size = new System.Drawing.Size(181, 28); this.CalculatorToolStripMenuItem.Text = "Calculator"; + this.CalculatorToolStripMenuItem.Click += new System.EventHandler(this.CalculatorToolStripMenuItem_Click); // // HyperTerminalToolStripMenuItem // @@ -716,6 +717,7 @@ namespace TimeHACK.OS.Win95 this.WebChatToolStripMenuItem.Size = new System.Drawing.Size(181, 28); this.WebChatToolStripMenuItem.Text = "Web Chat"; this.WebChatToolStripMenuItem.Visible = false; + this.WebChatToolStripMenuItem.Click += new System.EventHandler(this.WebChatToolStripMenuItem_Click); // // TimeDistorterToolStripMenuItem // @@ -743,10 +745,10 @@ namespace TimeHACK.OS.Win95 this.DocumentsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.DocumentsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.DocumentsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.windowManagerTestToolStripMenuItem, this.downloaderTestToolStripMenuItem, this.installerTestToolStripMenuItem, - this.storyTest1ToolStripMenuItem}); + this.storyTest1ToolStripMenuItem, + this.iE4TestToolStripMenuItem}); this.DocumentsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicDocuments; this.DocumentsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.DocumentsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -755,21 +757,12 @@ namespace TimeHACK.OS.Win95 this.DocumentsToolStripMenuItem.Size = new System.Drawing.Size(138, 36); this.DocumentsToolStripMenuItem.Text = "Documents"; // - // windowManagerTestToolStripMenuItem - // - this.windowManagerTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.windowManagerTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("windowManagerTestToolStripMenuItem.BackgroundImage"))); - this.windowManagerTestToolStripMenuItem.Name = "windowManagerTestToolStripMenuItem"; - this.windowManagerTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); - this.windowManagerTestToolStripMenuItem.Text = "WindowManagerTest"; - this.windowManagerTestToolStripMenuItem.Click += new System.EventHandler(this.windowManagerTestToolStripMenuItem_Click); - // // downloaderTestToolStripMenuItem // this.downloaderTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.downloaderTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("downloaderTestToolStripMenuItem.BackgroundImage"))); this.downloaderTestToolStripMenuItem.Name = "downloaderTestToolStripMenuItem"; - this.downloaderTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.downloaderTestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.downloaderTestToolStripMenuItem.Text = "DownloaderTest"; this.downloaderTestToolStripMenuItem.Click += new System.EventHandler(this.downloaderTestToolStripMenuItem_Click); // @@ -778,7 +771,7 @@ namespace TimeHACK.OS.Win95 this.installerTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.installerTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("installerTestToolStripMenuItem.BackgroundImage"))); this.installerTestToolStripMenuItem.Name = "installerTestToolStripMenuItem"; - this.installerTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.installerTestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.installerTestToolStripMenuItem.Text = "InstallerTest"; this.installerTestToolStripMenuItem.Click += new System.EventHandler(this.installerTestToolStripMenuItem_Click); // @@ -786,10 +779,19 @@ namespace TimeHACK.OS.Win95 // this.storyTest1ToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.storyTest1ToolStripMenuItem.Name = "storyTest1ToolStripMenuItem"; - this.storyTest1ToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.storyTest1ToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.storyTest1ToolStripMenuItem.Text = "StoryTest1"; this.storyTest1ToolStripMenuItem.Click += new System.EventHandler(this.storyTest1ToolStripMenuItem_Click); // + // iE4TestToolStripMenuItem + // + this.iE4TestToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control; + this.iE4TestToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.iE4TestToolStripMenuItem.Name = "iE4TestToolStripMenuItem"; + this.iE4TestToolStripMenuItem.Size = new System.Drawing.Size(159, 22); + this.iE4TestToolStripMenuItem.Text = "IE4Test"; + this.iE4TestToolStripMenuItem.Click += new System.EventHandler(this.iE4TestToolStripMenuItem_Click); + // // SettingsToolStripMenuItem // this.SettingsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; @@ -1275,11 +1277,11 @@ namespace TimeHACK.OS.Win95 internal System.Windows.Forms.ToolStripMenuItem MicrosoftDataLinkToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem PropertiesToolStripMenuItem1; internal System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95)); - private System.Windows.Forms.ToolStripMenuItem windowManagerTestToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem downloaderTestToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem installerTestToolStripMenuItem; private System.Windows.Forms.Panel taskbarItems; private System.Windows.Forms.ToolStripMenuItem storyTest1ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem FTPClientToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem iE4TestToolStripMenuItem; } }
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index f60273d..d968dd4 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -8,13 +8,10 @@ using TimeHACK.Engine; using TimeHACK.Engine.Template; 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 { - - public partial class Windows95 : Form { private SoundPlayer startsound; @@ -23,6 +20,7 @@ namespace TimeHACK.OS.Win95 public List<WinClassic> nonimportantapps = new List<WinClassic>(); public WinClassic webchat; public WinClassic ie; + public WinClassicTimeDistorter distort; public TaskBarController tb = new TaskBarController(); public int currentappcount = 0; @@ -73,7 +71,7 @@ namespace TimeHACK.OS.Win95 // When New Game is clicked in TitleScreen.cs private void Desktop_Load(object sender, EventArgs e) { - if (currentTheme.defaultWallpaper != null) desktopicons.BackgroundImage = new Bitmap(currentTheme.defaultWallpaper, desktopicons.Width, desktopicons.Height); + if (currentTheme.defaultWallpaper != null) desktopicons.BackgroundImage = new Bitmap(currentTheme.defaultWallpaper, Width, Height); //Start Menu Color - Commented until it works reliably //startmenuitems.Renderer = new MyRenderer(); //ProgramsToolStripMenuItem.DropDown.Renderer = new MyRenderer(); @@ -216,15 +214,6 @@ namespace TimeHACK.OS.Win95 app.BringToFront(); startmenu.Hide(); } - private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e) - { - TestApp test = new TestApp(); - WinClassic app = wm.StartWin95(test, "TestApp", null, true, true); - AddTaskBarItem(app, app.Tag.ToString(), "TestApp", null); - app.BringToFront(); - startmenu.Hide(); - } - private void downloaderTestToolStripMenuItem_Click(object sender, EventArgs e) { WinClassicDownloader opendownload = new WinClassicDownloader(); @@ -289,7 +278,7 @@ namespace TimeHACK.OS.Win95 else if (objListViewItem.Text == "FTP Client Setup") { Win95Installer inst = new Win95Installer("FTP Client"); - inst.InstallCompleted += (sendr, args) => WebChatToolStripMenuItem.Visible = true; + inst.InstallCompleted += (sendr, args) => FTPClientToolStripMenuItem.Visible = true; WinClassic app = wm.StartWin95(inst, "FTP Client Setup", null, true, true); AddTaskBarItem(app, app.Tag.ToString(), "FTP Client Setup", null); app.BringToFront(); @@ -301,7 +290,7 @@ namespace TimeHACK.OS.Win95 private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info); + WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(string title, string text, Image erroricon)!", Properties.Resources.Win95Info); app.BringToFront(); startmenu.Hide(); @@ -396,18 +385,11 @@ namespace TimeHACK.OS.Win95 private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e) { - Hack1.startObjective(); + Hack1.StartObjective(); } private void temp_for_std(object sender, EventArgs e) { - System.Threading.Thread thread = new System.Threading.Thread(StartSurviveTheDay); - - thread.Start(); - } - - void StartSurviveTheDay() - { Win2K.Win2KApps.SurviveTheDay std = new Win2K.Win2KApps.SurviveTheDay(); WinClassic app = wm.StartWin95(std, "Survive The Day", null, false, false); AddTaskBarItem(app, app.Tag.ToString(), "Survive The Day", null); @@ -442,8 +424,8 @@ namespace TimeHACK.OS.Win95 private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartWin95(new WinClassicTimeDistorter("2017", "20XX", 10), "Time Distorter", null, false, true); - + distort = new WinClassicTimeDistorter("1998", "1999", 150, Hack2.StartObjective); + WinClassic app = wm.StartWin95(distort, "Time Distorter", null, false, true); AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); app.BringToFront(); startmenu.Hide(); @@ -456,6 +438,26 @@ namespace TimeHACK.OS.Win95 app.BringToFront(); startmenu.Hide(); } + + private void iE4TestToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.StartWin95(new TempIE4(), "IE4", null, true, true); + app.BringToFront(); + startmenu.Hide(); + } + + private void CalculatorToolStripMenuItem_Click(object sender, EventArgs e) + { + WinClassic app = wm.StartWin95(new WinClassicCalculator(), "Calculator", Properties.Resources.WinClassicCalc, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Calculator", Properties.Resources.WinClassicCalc); + + nonimportantapps.Add(app); + nonimportantapps[nonimportantapps.Count - 1].BringToFront(); + nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing); + + app.BringToFront(); + startmenu.Hide(); + } } public class MyRenderer : ToolStripProfessionalRenderer { diff --git a/TimeHACK.Main/OS/Win95/Win95.resx b/TimeHACK.Main/OS/Win95/Win95.resx index 8285d12..ba695aa 100644 --- a/TimeHACK.Main/OS/Win95/Win95.resx +++ b/TimeHACK.Main/OS/Win95/Win95.resx @@ -121,6 +121,48 @@ <value>17, 17</value> </metadata> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> + <data name="InternetExplorerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ + 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME + Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu + QmCC +</value> + </data> + <data name="MSDOSPromptToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAALtJREFUOE91TwESBCEI6un9vBPRYqljhtEIyUZhzTkXKo8J1ZI4P3xjlAjsqpoN + upcBf0zA6+7r8QAxA9170IEPm6l7PWu9A1CLwNaVpSfWNEKLWCECDnkvAdFtMgBDLeHFaNaXEpQu22B9 + NsFA96i2yQlo00wejQG9VfuSCQ0IXAFAVAb468AVwJB3AHpsBFKn2uYkemh9hllezf4KcDKwtqkBpX5j + Dyj5DRIeDDh3wD3c5AYkh2QwOMYPtAJqglssjE8AAAAASUVORK5CYII= +</value> + </data> + <data name="OutlookExpressToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAJVJREFUOE+VkIESgCAIQ/10/pwasJrlkb27nUZsoqPHPbWNlYHCN9gKMTc7O31I + gIa0PM2EE32ErE9WNQEw1y6azbZGvkFAhnBcKMmwrQnCVI0MofA+a6UniIDYqKTx7JhBDeVaQd5fVT9m + M4JvowbwzjNlu4C5DVBgVyll4Zo8AzrK0gfo6ZBSFq7J6g0+ePWj8EPDD0i7RXV30HOWAAAAAElFTkSu + QmCC +</value> + </data> + <data name="WindowsExplorerToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wwAADsMBx2+oZAAAAJJJREFUOE+tkYEOgCAIRP10/tzk4FISZ7ZuuzDwnq4KJSL1aR/txc21llBfQVbh + EZJZZ5C+nEoEcIN0QDyxLVGzm6WAsMYTvRSSAqaw2jRBloApbJUBhLVub4ABqwMY1poCuEYzhPWjRkgK + 6EP7A+obqOc2EzIBeELmtqNFDECI9R3gYmPhCPH+qX6HfAJAQ7iUCwlxft5LSoDNAAAAAElFTkSuQmCC +</value> + </data> + <data name="FindToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> <data name="InternetConnectionWizardToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N @@ -266,48 +308,6 @@ aQNok1HVambm9gBAYeI/oBSQZwAAAABJRU5ErkJggg== </value> </data> - <data name="InternetExplorerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ - 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME - Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu - QmCC -</value> - </data> - <data name="MSDOSPromptToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAALtJREFUOE91TwESBCEI6un9vBPRYqljhtEIyUZhzTkXKo8J1ZI4P3xjlAjsqpoN - upcBf0zA6+7r8QAxA9170IEPm6l7PWu9A1CLwNaVpSfWNEKLWCECDnkvAdFtMgBDLeHFaNaXEpQu22B9 - NsFA96i2yQlo00wejQG9VfuSCQ0IXAFAVAb468AVwJB3AHpsBFKn2uYkemh9hllezf4KcDKwtqkBpX5j - Dyj5DRIeDDh3wD3c5AYkh2QwOMYPtAJqglssjE8AAAAASUVORK5CYII= -</value> - </data> - <data name="OutlookExpressToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAJVJREFUOE+VkIESgCAIQ/10/pwasJrlkb27nUZsoqPHPbWNlYHCN9gKMTc7O31I - gIa0PM2EE32ErE9WNQEw1y6azbZGvkFAhnBcKMmwrQnCVI0MofA+a6UniIDYqKTx7JhBDeVaQd5fVT9m - M4JvowbwzjNlu4C5DVBgVyll4Zo8AzrK0gfo6ZBSFq7J6g0+ePWj8EPDD0i7RXV30HOWAAAAAElFTkSu - QmCC -</value> - </data> - <data name="WindowsExplorerToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAAJJJREFUOE+tkYEOgCAIRP10/tzk4FISZ7ZuuzDwnq4KJSL1aR/txc21llBfQVbh - EZJZZ5C+nEoEcIN0QDyxLVGzm6WAsMYTvRSSAqaw2jRBloApbJUBhLVub4ABqwMY1poCuEYzhPWjRkgK - 6EP7A+obqOc2EzIBeELmtqNFDECI9R3gYmPhCPH+qX6HfAJAQ7iUCwlxft5LSoDNAAAAAElFTkSuQmCC -</value> - </data> - <data name="windowManagerTestToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw - 4AAABIQCQUtXaBsAAAAASUVORK5CYII= -</value> - </data> <data name="downloaderTestToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO @@ -343,13 +343,6 @@ 4AAABIQCQUtXaBsAAAAASUVORK5CYII= </value> </data> - <data name="FindToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw - 4AAABIQCQUtXaBsAAAAASUVORK5CYII= -</value> - </data> <data name="FilesOrFoldersToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO @@ -389,7 +382,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq - ggAAAk1TRnQBSQFMAgEBDAEAAYgBAQGIAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA + ggAAAk1TRnQBSQFMAgEBDAEAAbABAQGwAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA AwABgAMAAQEBAAEgBwABAf8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AXAAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/x8AAf8DAAH/ diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs index fe75e83..482d54c 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs @@ -57,7 +57,7 @@ namespace TimeHACK.OS.Win95.Win95Apps txtLast.Text = toSet.LastName; if (toSet.Emails != null) { - foreach (String email in toSet.Emails) + foreach (string email in toSet.Emails) { emails.Items.Add(email); } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs index 24404bf..95ee509 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs @@ -282,12 +282,12 @@ namespace TimeHACK.OS.Win95.Win95Apps public string FirstName; public string MiddleName; public string LastName; - public List<String> Emails = new List<String>(); + public List<string> Emails = new List<string>(); } public class AddressBookContactList { - public String AttachedNode; + public string AttachedNode; public List<AddressBookContact> Contacts = new List<AddressBookContact>(); } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.Designer.cs new file mode 100644 index 0000000..e842be5 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.Designer.cs @@ -0,0 +1,90 @@ +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + partial class GoogleHome + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Times New Roman", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label1.Location = new System.Drawing.Point(4, 4); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(277, 36); + this.label1.TabIndex = 0; + this.label1.Text = "Welcome to Google"; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel1.Location = new System.Drawing.Point(7, 60); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(199, 17); + this.linkLabel1.TabIndex = 1; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "Google Search Engine Prototype"; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // + // linkLabel2 + // + this.linkLabel2.AutoSize = true; + this.linkLabel2.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel2.Location = new System.Drawing.Point(7, 83); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(418, 17); + this.linkLabel2.TabIndex = 2; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = "Might-work-some-of-the-time-prototype that is much more up to date."; + // + // GoogleHome + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.linkLabel2); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.label1); + this.Name = "GoogleHome"; + this.Size = new System.Drawing.Size(959, 483); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.LinkLabel linkLabel2; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs new file mode 100644 index 0000000..d71c171 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class GoogleHome : UserControl + { + public GoogleHome() + { + InitializeComponent(); + } + + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + TempIE4.GoToPage("www.google.stanford.edu"); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.resx index 1af7de1..1af7de1 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GoogleHome.resx diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.Designer.cs new file mode 100644 index 0000000..98e3aa7 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.Designer.cs @@ -0,0 +1,277 @@ +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + partial class GooglePrototype + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.panel1 = new System.Windows.Forms.Panel(); + this.label3 = new System.Windows.Forms.Label(); + this.panel2 = new System.Windows.Forms.Panel(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.button2 = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + this.label4 = new System.Windows.Forms.Label(); + this.button3 = new System.Windows.Forms.Button(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.linkLabel3 = new System.Windows.Forms.LinkLabel(); + this.linkLabel4 = new System.Windows.Forms.LinkLabel(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.panel1.SuspendLayout(); + this.panel2.SuspendLayout(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.google; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.pictureBox1.Location = new System.Drawing.Point(274, 3); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(380, 131); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.SystemColors.Control; + this.panel1.Controls.Add(this.linkLabel3); + this.panel1.Controls.Add(this.label3); + this.panel1.Controls.Add(this.button3); + this.panel1.Controls.Add(this.textBox2); + this.panel1.Location = new System.Drawing.Point(196, 302); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(535, 55); + this.panel1.TabIndex = 1; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(193, 6); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(147, 13); + this.label3.TabIndex = 0; + this.label3.Text = "Get Google! updates monthly!"; + // + // panel2 + // + this.panel2.BackColor = System.Drawing.SystemColors.Control; + this.panel2.Controls.Add(this.comboBox1); + this.panel2.Controls.Add(this.button2); + this.panel2.Controls.Add(this.button1); + this.panel2.Controls.Add(this.textBox1); + this.panel2.Controls.Add(this.label2); + this.panel2.Controls.Add(this.label1); + this.panel2.Location = new System.Drawing.Point(196, 136); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(535, 92); + this.panel2.TabIndex = 1; + // + // comboBox1 + // + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Items.AddRange(new object[] { + "10 results", + "30 results", + "100 results"}); + this.comboBox1.Location = new System.Drawing.Point(118, 44); + this.comboBox1.Name = "comboBox1"; + this.comboBox1.Size = new System.Drawing.Size(76, 21); + this.comboBox1.TabIndex = 4; + this.comboBox1.Text = "10 results"; + // + // button2 + // + this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.button2.Location = new System.Drawing.Point(307, 43); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(113, 26); + this.button2.TabIndex = 3; + this.button2.Text = "I\'m feeling lucky"; + this.button2.UseVisualStyleBackColor = true; + // + // button1 + // + this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.button1.Location = new System.Drawing.Point(194, 43); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(114, 26); + this.button1.TabIndex = 2; + this.button1.Text = "Google Search"; + this.button1.UseVisualStyleBackColor = true; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(144, 23); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(245, 20); + this.textBox1.TabIndex = 1; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label2.Location = new System.Drawing.Point(115, 71); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(328, 15); + this.label2.TabIndex = 0; + this.label2.Text = "Index contains ~25 million pages (soon to be much bigger)"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.label1.Location = new System.Drawing.Point(176, 3); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(184, 17); + this.label1.TabIndex = 0; + this.label1.Text = "Search the web using Google!"; + // + // linkLabel1 + // + this.linkLabel1.AutoSize = true; + this.linkLabel1.Font = new System.Drawing.Font("Times New Roman", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel1.Location = new System.Drawing.Point(395, 231); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(141, 24); + this.linkLabel1.TabIndex = 2; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = "About Google!"; + // + // linkLabel2 + // + this.linkLabel2.AutoSize = true; + this.linkLabel2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel2.Location = new System.Drawing.Point(368, 280); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(107, 19); + this.linkLabel2.TabIndex = 2; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = "Stanford Search"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(369, 360); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(191, 13); + this.label4.TabIndex = 0; + this.label4.Text = "Copyright © 1997-8 Stanford University"; + // + // button3 + // + this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.button3.Location = new System.Drawing.Point(274, 26); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(86, 25); + this.button3.TabIndex = 3; + this.button3.Text = "Subscribe"; + this.button3.UseVisualStyleBackColor = true; + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(144, 30); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(127, 20); + this.textBox2.TabIndex = 1; + this.textBox2.Text = "your e-mail"; + // + // linkLabel3 + // + this.linkLabel3.AutoSize = true; + this.linkLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel3.Location = new System.Drawing.Point(362, 34); + this.linkLabel3.Name = "linkLabel3"; + this.linkLabel3.Size = new System.Drawing.Size(50, 15); + this.linkLabel3.TabIndex = 4; + this.linkLabel3.TabStop = true; + this.linkLabel3.Text = "Archive"; + // + // linkLabel4 + // + this.linkLabel4.AutoSize = true; + this.linkLabel4.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.linkLabel4.Location = new System.Drawing.Point(472, 280); + this.linkLabel4.Name = "linkLabel4"; + this.linkLabel4.Size = new System.Drawing.Size(88, 19); + this.linkLabel4.TabIndex = 3; + this.linkLabel4.TabStop = true; + this.linkLabel4.Text = "Linux Search"; + // + // GooglePrototype + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.linkLabel4); + this.Controls.Add(this.label4); + this.Controls.Add(this.linkLabel2); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.panel2); + this.Controls.Add(this.panel1); + this.Controls.Add(this.pictureBox1); + this.Name = "GooglePrototype"; + this.Size = new System.Drawing.Size(959, 483); + this.Load += new System.EventHandler(this.GooglePrototype_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.LinkLabel linkLabel2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.LinkLabel linkLabel3; + private System.Windows.Forms.LinkLabel linkLabel4; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs new file mode 100644 index 0000000..ad76e6b --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class GooglePrototype : UserControl + { + public GooglePrototype() + { + InitializeComponent(); + } + + private void GooglePrototype_Load(object sender, EventArgs e) + { + button1.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); + button2.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); + button3.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/GooglePrototype.resx @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.Designer.cs index 2e9742b..dd931aa 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.Designer.cs @@ -1,6 +1,6 @@ -namespace TimeHACK.WinClassicForms +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites { - partial class TestApp + partial class IE4NoPage { /// <summary> /// Required designer variable. @@ -28,34 +28,34 @@ /// </summary> private void InitializeComponent() { - this.label1 = new System.Windows.Forms.Label(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // - // label1 + // pictureBox1 // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(24, 91); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(237, 65); - this.label1.TabIndex = 0; - this.label1.Text = "If you are reading this, you are reading a window\r\nwith borders that are being re" + - "ndered by the\r\nWindowManager. All you need is 3 lines of code.\r\n\r\nTHIS IS AWESOM" + - "E!"; + this.pictureBox1.Image = global::TimeHACK.Properties.Resources.nopage; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(406, 538); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; // - // TestApp + // IE4NoPage // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.label1); - this.Name = "TestApp"; - this.Size = new System.Drawing.Size(292, 274); + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.pictureBox1); + this.Name = "IE4NoPage"; + this.Size = new System.Drawing.Size(959, 541); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); - this.PerformLayout(); } #endregion - private System.Windows.Forms.Label label1; + private System.Windows.Forms.PictureBox pictureBox1; } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs new file mode 100644 index 0000000..894aaf5 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class IE4NoPage : UserControl + { + public IE4NoPage() + { + InitializeComponent(); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.resx index fb1f692..a167a19 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4NoPage.resx @@ -117,12 +117,7 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <data name="TextBox1.Text" xml:space="preserve"> - <value>This Program is a hacking tool which is able to view hidden content on websites. - -To view hidden content just type the name of the website in the box below and this will enable you to see all the hidden features on a website. - -WARNING: This only displays hidden content which can not be accessed in anyway without this software. -</value> + <data name="String1" xml:space="preserve"> + <value>testy</value> </data> </root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs new file mode 100644 index 0000000..80ffe36 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.Designer.cs @@ -0,0 +1,94 @@ +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + partial class IE4Start + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); + this.linkLabel2 = new System.Windows.Forms.LinkLabel(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // pictureBox1 + // + this.pictureBox1.Image = global::TimeHACK.Properties.Resources.start; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(640, 480); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // linkLabel1 + // + this.linkLabel1.Cursor = System.Windows.Forms.Cursors.Hand; + this.linkLabel1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.linkLabel1.Image = global::TimeHACK.Properties.Resources.start_googlink; + this.linkLabel1.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(65)))), ((int)(((byte)(145))))); + this.linkLabel1.Location = new System.Drawing.Point(10, 269); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.Size = new System.Drawing.Size(95, 14); + this.linkLabel1.TabIndex = 1; + this.linkLabel1.TabStop = true; + this.linkLabel1.Text = " "; + this.linkLabel1.Click += new System.EventHandler(this.linkLabel1_Click); + // + // linkLabel2 + // + this.linkLabel2.Cursor = System.Windows.Forms.Cursors.Hand; + this.linkLabel2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.linkLabel2.Image = global::TimeHACK.Properties.Resources.start_padamslink; + this.linkLabel2.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(65)))), ((int)(((byte)(145))))); + this.linkLabel2.Location = new System.Drawing.Point(10, 283); + this.linkLabel2.Name = "linkLabel2"; + this.linkLabel2.Size = new System.Drawing.Size(116, 14); + this.linkLabel2.TabIndex = 2; + this.linkLabel2.TabStop = true; + this.linkLabel2.Text = " "; + // + // IE4Start + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.White; + this.Controls.Add(this.linkLabel2); + this.Controls.Add(this.linkLabel1); + this.Controls.Add(this.pictureBox1); + this.Name = "IE4Start"; + this.Size = new System.Drawing.Size(959, 483); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.LinkLabel linkLabel1; + private System.Windows.Forms.LinkLabel linkLabel2; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.cs b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.cs new file mode 100644 index 0000000..ee21b0f --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps.IE4Sites +{ + public partial class IE4Start : UserControl + { + public IE4Start() + { + InitializeComponent(); + } + + private void linkLabel1_Click(object sender, EventArgs e) + { + TempIE4.GoToPage("www.google.com"); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/IE4Sites/IE4Start.resx @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs index 85b14f5..293d4bb 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs @@ -21,25 +21,15 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story static bool devMode = true; // This is the very first story script! - public static void startObjective() + public static void StartObjective() { System.Windows.Forms.Timer tmr = new System.Windows.Forms.Timer(); - - WinClassicTerminal Console = new WinClassicTerminal(true); - WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); - - Console.WriteLine("telnet> 104.27.135.159 Connecting..."); - tmr.Interval = 1; tmr.Tick += new EventHandler(CheckIfSoundFinished); if (devMode == true) { - Thread contObjective = new Thread(continueObjective); - - app.Close(); - - contObjective.Start(); + ContinueObjective(); } else { @@ -48,40 +38,39 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story } } - public static void continueObjective() + public static async void ContinueObjective() { WinClassicTerminal Console = new WinClassicTerminal(true); - wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); - - Application.DoEvents(); + WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); + Console.WriteLine("telnet> 104.27.135.159 Connecting..."); + await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 Connected."); - Thread.Sleep(2500); + await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); - Thread.Sleep(2500); + await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> I see you have access to 12padams.com."); - Thread.Sleep(4500); + await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> Though it doesn't seem obvious, only a very limited amount of people can access the site."); - Thread.Sleep(6000); + await Task.Delay(6000); Console.WriteLine("TheHiddenHacker> 12padams has a secret, and I need you to help me find it."); - Thread.Sleep(3500); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> I was snooping around his website, when he blacklisted my IP address."); - Thread.Sleep(4000); - Console.WriteLine("TheHiddenHacker> While I was serching, I noticed a file that I didn't have permission to download. I need you to get it for me."); - Thread.Sleep(6500); - Console.WriteLine("TheHiddenHacker> First, I'll need you to download an FTP client, avalible under the software section of 12padams' website."); - Thread.Sleep(5000); + await Task.Delay(4000); + Console.WriteLine("TheHiddenHacker> While I was searching, I noticed a file that I didn't have permission to download. I need you to get it for me."); + await Task.Delay(6500); + Console.WriteLine("TheHiddenHacker> First, I'll need you to download an FTP client, available under the software section of 12padams' website."); + await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> Once that's downloaded, You'll need to type in a Hostname, Username, and Password."); - Thread.Sleep(4500); + await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> The hostname is 172.68.119.42, and the username is most likely 12padams. I'm not too sure what the password is, however."); - Thread.Sleep(3500); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> You'll need to figure out where you can get the password. Try looking for any odd text on the website."); - Thread.Sleep(3500); + await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> I don't have much time to talk - I'd quickly copy down those details into Notepad before this Terminal gets closed."); - Application.DoEvents(); - - Thread.Sleep(36000); + await Task.Delay(36000); + app.Close(); } public static void CheckIfSoundFinished(Object sender, EventArgs e) @@ -91,7 +80,7 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story // Continue from where we were System.Windows.Forms.Timer trm = sender as System.Windows.Forms.Timer; - continueObjective(); + ContinueObjective(); trm.Stop(); } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs new file mode 100644 index 0000000..7d05dba --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack2.cs @@ -0,0 +1,109 @@ +using System; +using System.Threading.Tasks; +using TimeHACK.Engine; +using TimeHACK.Engine.Template; + +namespace TimeHACK.OS.Win95.Win95Apps.Story +{ + public class Hack2 : object + { + static WindowManager wm = new WindowManager(); + + public static async void StartObjective() + { + WinClassicTerminal Console = new WinClassicTerminal(true); + WinClassic app = wm.StartWin95(Console, "MS-DOS Prompt", null, true, true); + + Console.WriteLine("telnet> 185.152.46.51 Connecting..."); + await Task.Delay(2500); + Console.WriteLine("telnet> 185.152.46.51 Connected."); + await Task.Delay(2500); + Console.WriteLine("telnet> 185.152.46.51 set hostname to '12padams'."); + await Task.Delay(2000); + Console.WriteLine("12padams> WHAT DO YOU THINK YOU'RE DOING??"); + await Task.Delay(3000); + Console.WriteLine("12padams> First you hack my FTP server.."); + await Task.Delay(4500); + Console.WriteLine("12padams> Then you download my secret Time Distorter program?"); + await Task.Delay(4000); + Console.WriteLine("12padams> Oh, and I know you activated it."); + await Task.Delay(4000); + Console.WriteLine("12padams> I can see your screen right now.."); + await Task.Delay(5000); + Console.WriteLine("12padams> Now, in about 2 minutes you think you're going to be able to travel to 1999."); + await Task.Delay(3500); + Console.WriteLine("12padams> Well, I am sorry but I just can't let you do that."); + await Task.Delay(5000); + Console.WriteLine("12padams> You see, I have LOTS of power over your computer."); + await Task.Delay(3400); + Console.WriteLine("12padams> Okay, let me show you how easy this is."); + await Task.Delay(1500); + Console.WriteLine("Command> Hide Start Button"); + TitleScreen.frm95.startbutton.Hide(); + await Task.Delay(3500); + Console.WriteLine("12padams> See how easy that was?"); + await Task.Delay(3700); + Console.WriteLine("12padams> Now watch this.."); + await Task.Delay(3000); + TitleScreen.frm95.desktopicons.BackgroundImage = Properties.Resources.Win95Error; + TitleScreen.frm95.BackgroundImage = null; + await Task.Delay(3000); + Console.WriteLine("12padams> Hahaha, having a few errors are we?"); + await Task.Delay(2500); + Console.WriteLine("telnet> 104.27.135.159 Connecting..."); + await Task.Delay(2500); + Console.WriteLine("telnet> 104.27.135.159 Connected."); + await Task.Delay(2500); + Console.WriteLine("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); + await Task.Delay(3000); + Console.WriteLine("The Hidden Hacker> Great, you found the software."); + await Task.Delay(3700); + Console.WriteLine("12padams> How dare you.."); + await Task.Delay(3500); + Console.WriteLine($"The Hidden Hacker> Don't worry {SaveSystem.ProfileName}."); + await Task.Delay(4500); + Console.WriteLine("The Hidden Hacker> I have to say, good job for getting the Time Distorter."); + await Task.Delay(4000); + Console.WriteLine("12padams> The Hidden Hacker.. I thought my first punishment was enough to keep you away."); + await Task.Delay(4500); + Console.WriteLine("The Hidden Hacker> Well, now that I have uncovered your secret, I'm not just gonna go away."); + await Task.Delay(3600); + Console.WriteLine("12padams> If you don't go, I'll make you go!"); + await Task.Delay(3700); + Console.WriteLine($"The Hidden Hacker> Hey {SaveSystem.ProfileName}, don't worry about 12padams. You're about to get away from all this."); + await Task.Delay(3500); + Console.WriteLine("The Hidden Hacker> Let me fix this.."); + await Task.Delay(2500); + Console.WriteLine("Command> Show Start Button"); + TitleScreen.frm95.startbutton.Show(); + await Task.Delay(2900); + Console.WriteLine("12padams> OKAY, NOW YOU'VE DONE IT!"); + await Task.Delay(2500); + Console.WriteLine("Command> Stop Timer"); + TitleScreen.frm95.distort.lblCountDown.Hide(); + await Task.Delay(3000); + Console.WriteLine("12padams> I bet you didn't see that one coming.."); + await Task.Delay(3700); + Console.WriteLine("The Hidden Hacker> Oh but I did.."); + await Task.Delay(5000); + Console.WriteLine("The Hidden Hacker> I converted the stop function to the hide function when I logged on.."); + await Task.Delay(4200); + Console.WriteLine("12padams> NO! That's impossible!"); + await Task.Delay(3000); + Console.WriteLine("The Hidden Hacker> Oh, is it? Well, watch this!"); + await Task.Delay(2500); + Console.WriteLine("Command> Show Timer"); + TitleScreen.frm95.distort.lblCountDown.Show(); + await Task.Delay(3000); + Console.WriteLine("The Hidden Hacker> And here's one more command for you to learn."); + await Task.Delay(1700); + Console.WriteLine("Command> Disconnect 12padams"); + await Task.Delay(2000); + Console.WriteLine("telnet> 12padams Disconnected."); + await Task.Delay(3000); + Console.WriteLine($"The Hidden Hacker> Good luck {SaveSystem.ProfileName}! I'll see you in the future!"); + await Task.Delay(3500); + app.Close(); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs new file mode 100644 index 0000000..521d623 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs @@ -0,0 +1,1463 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class TempIE4 + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.Panel14 = new System.Windows.Forms.Panel(); + this.pictureBox3 = new System.Windows.Forms.PictureBox(); + this.GoButton = new System.Windows.Forms.Button(); + this._addressbar = new System.Windows.Forms.ComboBox(); + this.Label1 = new System.Windows.Forms.Label(); + this.Button30 = new System.Windows.Forms.Button(); + this.Button29 = new System.Windows.Forms.Button(); + this.Button27 = new System.Windows.Forms.Button(); + this.Button7 = new System.Windows.Forms.Button(); + this.Button6 = new System.Windows.Forms.Button(); + this.HomeButton = new System.Windows.Forms.Button(); + this.Button4 = new System.Windows.Forms.Button(); + this.Button3 = new System.Windows.Forms.Button(); + this.ForwardButton = new System.Windows.Forms.Button(); + this.BackButton = new System.Windows.Forms.Button(); + this.Panel1 = new System.Windows.Forms.Panel(); + this.pictureBox8 = new System.Windows.Forms.PictureBox(); + this.pictureBox6 = new System.Windows.Forms.PictureBox(); + this.pictureBox5 = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.MenuStrip3 = new System.Windows.Forms.MenuStrip(); + this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem9 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem10 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem11 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem13 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem14 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem15 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem16 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem17 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem18 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem19 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem20 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem21 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem22 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem23 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem24 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem25 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem26 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem27 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem28 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem29 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem30 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem31 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem32 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem33 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem34 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem35 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem36 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem37 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem38 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem39 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem40 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem41 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem42 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem43 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem44 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem45 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem46 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem47 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem48 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem49 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem50 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem51 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem52 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem53 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem54 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem55 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem56 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem57 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem58 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem59 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem60 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem61 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem62 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem63 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem64 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem65 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem66 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem67 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem68 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem69 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem70 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem71 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem72 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem78 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem79 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem80 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem81 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem82 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem83 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem84 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem85 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem86 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem87 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem73 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem74 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem75 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem76 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem77 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem88 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem89 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem90 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem91 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem92 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem93 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem94 = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItem95 = new System.Windows.Forms.ToolStripMenuItem(); + this._browsingArea = new System.Windows.Forms.Panel(); + this.pictureBox4 = new System.Windows.Forms.PictureBox(); + this.pictureBox7 = new System.Windows.Forms.PictureBox(); + this.pictureBox9 = new System.Windows.Forms.PictureBox(); + this.label2 = new System.Windows.Forms.Label(); + this.pictureBox10 = new System.Windows.Forms.PictureBox(); + this.Panel14.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); + this.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.MenuStrip3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit(); + this.SuspendLayout(); + // + // Panel14 + // + this.Panel14.BackColor = System.Drawing.Color.Silver; + this.Panel14.Controls.Add(this.pictureBox10); + this.Panel14.Controls.Add(this.label2); + this.Panel14.Controls.Add(this.pictureBox9); + this.Panel14.Controls.Add(this.pictureBox3); + this.Panel14.Controls.Add(this.GoButton); + this.Panel14.Controls.Add(this._addressbar); + this.Panel14.Controls.Add(this.Label1); + this.Panel14.Dock = System.Windows.Forms.DockStyle.Top; + this.Panel14.Location = new System.Drawing.Point(0, 71); + this.Panel14.Name = "Panel14"; + this.Panel14.Size = new System.Drawing.Size(959, 31); + this.Panel14.TabIndex = 16; + // + // pictureBox3 + // + this.pictureBox3.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter2; + this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox3.Location = new System.Drawing.Point(2, 3); + this.pictureBox3.Name = "pictureBox3"; + this.pictureBox3.Size = new System.Drawing.Size(3, 21); + this.pictureBox3.TabIndex = 2; + this.pictureBox3.TabStop = false; + // + // GoButton + // + this.GoButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.GoButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.GoButton.Image = global::TimeHACK.Properties.Resources.ie4_go; + this.GoButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.GoButton.Location = new System.Drawing.Point(872, 2); + this.GoButton.Name = "GoButton"; + this.GoButton.Size = new System.Drawing.Size(44, 23); + this.GoButton.TabIndex = 0; + this.GoButton.Text = "Go"; + this.GoButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.GoButton.UseVisualStyleBackColor = true; + this.GoButton.Click += new System.EventHandler(this.GoButton_Click); + // + // _addressbar + // + this._addressbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this._addressbar.FormattingEnabled = true; + this._addressbar.Location = new System.Drawing.Point(58, 2); + this._addressbar.Name = "_addressbar"; + this._addressbar.Size = new System.Drawing.Size(812, 21); + this._addressbar.TabIndex = 1; + this._addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; + this._addressbar.KeyDown += new System.Windows.Forms.KeyEventHandler(this._addressbar_KeyDown); + // + // Label1 + // + this.Label1.AutoSize = true; + this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.Label1.Location = new System.Drawing.Point(12, 7); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(45, 13); + this.Label1.TabIndex = 0; + this.Label1.Text = "Address"; + // + // Button30 + // + this.Button30.Dock = System.Windows.Forms.DockStyle.Left; + this.Button30.FlatAppearance.BorderSize = 0; + this.Button30.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button30.Image = global::TimeHACK.Properties.Resources.ie4_print; + this.Button30.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button30.Location = new System.Drawing.Point(591, 0); + this.Button30.Name = "Button30"; + this.Button30.Size = new System.Drawing.Size(49, 47); + this.Button30.TabIndex = 10; + this.Button30.Text = "Print"; + this.Button30.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button30.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button30.UseVisualStyleBackColor = true; + // + // Button29 + // + this.Button29.Dock = System.Windows.Forms.DockStyle.Left; + this.Button29.FlatAppearance.BorderSize = 0; + this.Button29.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button29.Image = global::TimeHACK.Properties.Resources.ie4_mail; + this.Button29.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button29.Location = new System.Drawing.Point(528, 0); + this.Button29.Name = "Button29"; + this.Button29.Size = new System.Drawing.Size(63, 47); + this.Button29.TabIndex = 9; + this.Button29.Text = "Mail"; + this.Button29.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button29.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button29.UseVisualStyleBackColor = true; + // + // Button27 + // + this.Button27.Dock = System.Windows.Forms.DockStyle.Left; + this.Button27.FlatAppearance.BorderSize = 0; + this.Button27.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button27.Image = global::TimeHACK.Properties.Resources.ie4_history; + this.Button27.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button27.Location = new System.Drawing.Point(465, 0); + this.Button27.Name = "Button27"; + this.Button27.Size = new System.Drawing.Size(63, 47); + this.Button27.TabIndex = 7; + this.Button27.Text = "History"; + this.Button27.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button27.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button27.UseVisualStyleBackColor = true; + // + // Button7 + // + this.Button7.Dock = System.Windows.Forms.DockStyle.Left; + this.Button7.FlatAppearance.BorderSize = 0; + this.Button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button7.Image = global::TimeHACK.Properties.Resources.ie4_favorites; + this.Button7.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button7.Location = new System.Drawing.Point(402, 0); + this.Button7.Name = "Button7"; + this.Button7.Size = new System.Drawing.Size(63, 47); + this.Button7.TabIndex = 6; + this.Button7.Text = "Favorites"; + this.Button7.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button7.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button7.UseVisualStyleBackColor = true; + // + // Button6 + // + this.Button6.Dock = System.Windows.Forms.DockStyle.Left; + this.Button6.FlatAppearance.BorderSize = 0; + this.Button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button6.Image = global::TimeHACK.Properties.Resources.ie4_search; + this.Button6.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button6.Location = new System.Drawing.Point(339, 0); + this.Button6.Name = "Button6"; + this.Button6.Size = new System.Drawing.Size(63, 47); + this.Button6.TabIndex = 5; + this.Button6.Text = "Search"; + this.Button6.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button6.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button6.UseVisualStyleBackColor = true; + // + // HomeButton + // + this.HomeButton.Dock = System.Windows.Forms.DockStyle.Left; + this.HomeButton.FlatAppearance.BorderSize = 0; + this.HomeButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.HomeButton.Image = global::TimeHACK.Properties.Resources.ie4_home; + this.HomeButton.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.HomeButton.Location = new System.Drawing.Point(276, 0); + this.HomeButton.Name = "HomeButton"; + this.HomeButton.Size = new System.Drawing.Size(63, 47); + this.HomeButton.TabIndex = 4; + this.HomeButton.Text = "Home"; + this.HomeButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.HomeButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.HomeButton.UseVisualStyleBackColor = true; + // + // Button4 + // + this.Button4.Dock = System.Windows.Forms.DockStyle.Left; + this.Button4.FlatAppearance.BorderSize = 0; + this.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button4.Image = global::TimeHACK.Properties.Resources.ie4_refresh; + this.Button4.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button4.Location = new System.Drawing.Point(213, 0); + this.Button4.Name = "Button4"; + this.Button4.Size = new System.Drawing.Size(63, 47); + this.Button4.TabIndex = 3; + this.Button4.Text = "Refresh"; + this.Button4.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button4.UseVisualStyleBackColor = true; + // + // Button3 + // + this.Button3.Dock = System.Windows.Forms.DockStyle.Left; + this.Button3.FlatAppearance.BorderSize = 0; + this.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button3.Image = global::TimeHACK.Properties.Resources.ie4_stop; + this.Button3.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button3.Location = new System.Drawing.Point(150, 0); + this.Button3.Name = "Button3"; + this.Button3.Size = new System.Drawing.Size(63, 47); + this.Button3.TabIndex = 2; + this.Button3.Text = "Stop"; + this.Button3.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.Button3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.Button3.UseVisualStyleBackColor = true; + // + // ForwardButton + // + this.ForwardButton.Dock = System.Windows.Forms.DockStyle.Left; + this.ForwardButton.FlatAppearance.BorderSize = 0; + this.ForwardButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.ForwardButton.Image = global::TimeHACK.Properties.Resources.ie4_forward; + this.ForwardButton.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.ForwardButton.Location = new System.Drawing.Point(75, 0); + this.ForwardButton.Name = "ForwardButton"; + this.ForwardButton.Size = new System.Drawing.Size(75, 47); + this.ForwardButton.TabIndex = 1; + this.ForwardButton.Text = "Forward"; + this.ForwardButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.ForwardButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.ForwardButton.UseVisualStyleBackColor = true; + // + // BackButton + // + this.BackButton.Dock = System.Windows.Forms.DockStyle.Left; + this.BackButton.FlatAppearance.BorderSize = 0; + this.BackButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.BackButton.Image = global::TimeHACK.Properties.Resources.ie4_back; + this.BackButton.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.BackButton.Location = new System.Drawing.Point(0, 0); + this.BackButton.Name = "BackButton"; + this.BackButton.Size = new System.Drawing.Size(75, 47); + this.BackButton.TabIndex = 1; + this.BackButton.Text = "Back"; + this.BackButton.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.BackButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + this.BackButton.UseVisualStyleBackColor = true; + // + // Panel1 + // + this.Panel1.BackColor = System.Drawing.Color.Silver; + this.Panel1.Controls.Add(this.pictureBox8); + this.Panel1.Controls.Add(this.pictureBox6); + this.Panel1.Controls.Add(this.pictureBox5); + this.Panel1.Controls.Add(this.pictureBox2); + this.Panel1.Controls.Add(this.pictureBox1); + this.Panel1.Controls.Add(this.Button30); + this.Panel1.Controls.Add(this.Button29); + this.Panel1.Controls.Add(this.Button27); + this.Panel1.Controls.Add(this.Button7); + this.Panel1.Controls.Add(this.Button6); + this.Panel1.Controls.Add(this.HomeButton); + this.Panel1.Controls.Add(this.Button4); + this.Panel1.Controls.Add(this.Button3); + this.Panel1.Controls.Add(this.ForwardButton); + this.Panel1.Controls.Add(this.BackButton); + this.Panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.Panel1.Location = new System.Drawing.Point(0, 24); + this.Panel1.Name = "Panel1"; + this.Panel1.Size = new System.Drawing.Size(959, 47); + this.Panel1.TabIndex = 14; + // + // pictureBox8 + // + this.pictureBox8.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox8.Location = new System.Drawing.Point(0, 46); + this.pictureBox8.Name = "pictureBox8"; + this.pictureBox8.Size = new System.Drawing.Size(959, 2); + this.pictureBox8.TabIndex = 15; + this.pictureBox8.TabStop = false; + // + // pictureBox6 + // + this.pictureBox6.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox6.Location = new System.Drawing.Point(0, 0); + this.pictureBox6.Name = "pictureBox6"; + this.pictureBox6.Size = new System.Drawing.Size(959, 2); + this.pictureBox6.TabIndex = 14; + this.pictureBox6.TabStop = false; + // + // pictureBox5 + // + this.pictureBox5.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter3; + this.pictureBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox5.Location = new System.Drawing.Point(2, 5); + this.pictureBox5.Name = "pictureBox5"; + this.pictureBox5.Size = new System.Drawing.Size(3, 38); + this.pictureBox5.TabIndex = 13; + this.pictureBox5.TabStop = false; + // + // pictureBox2 + // + this.pictureBox2.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter; + this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox2.Location = new System.Drawing.Point(337, -1); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(2, 47); + this.pictureBox2.TabIndex = 12; + this.pictureBox2.TabStop = false; + // + // pictureBox1 + // + this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox1.Location = new System.Drawing.Point(526, -1); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(2, 47); + this.pictureBox1.TabIndex = 11; + this.pictureBox1.TabStop = false; + // + // MenuStrip3 + // + this.MenuStrip3.BackColor = System.Drawing.Color.Silver; + this.MenuStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem1, + this.ToolStripMenuItem22, + this.ToolStripMenuItem28, + this.ToolStripMenuItem78, + this.ToolStripMenuItem73, + this.ToolStripMenuItem88}); + this.MenuStrip3.Location = new System.Drawing.Point(0, 0); + this.MenuStrip3.Name = "MenuStrip3"; + this.MenuStrip3.Size = new System.Drawing.Size(959, 24); + this.MenuStrip3.TabIndex = 15; + this.MenuStrip3.Text = "MenuStrip1"; + // + // ToolStripMenuItem1 + // + this.ToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem2, + this.ToolStripMenuItem8, + this.ToolStripMenuItem9, + this.ToolStripMenuItem10, + this.ToolStripMenuItem11, + this.ToolStripMenuItem12, + this.ToolStripMenuItem13, + this.ToolStripMenuItem14, + this.ToolStripMenuItem18, + this.ToolStripMenuItem19, + this.ToolStripMenuItem20, + this.ToolStripMenuItem21}); + this.ToolStripMenuItem1.Name = "ToolStripMenuItem1"; + this.ToolStripMenuItem1.Size = new System.Drawing.Size(37, 20); + this.ToolStripMenuItem1.Text = "File"; + // + // ToolStripMenuItem2 + // + this.ToolStripMenuItem2.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem3, + this.ToolStripMenuItem4, + this.ToolStripMenuItem5, + this.ToolStripMenuItem6, + this.ToolStripMenuItem7}); + this.ToolStripMenuItem2.Name = "ToolStripMenuItem2"; + this.ToolStripMenuItem2.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem2.Text = "New"; + // + // ToolStripMenuItem3 + // + this.ToolStripMenuItem3.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem3.Name = "ToolStripMenuItem3"; + this.ToolStripMenuItem3.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem3.Text = "Window Ctrl+N"; + // + // ToolStripMenuItem4 + // + this.ToolStripMenuItem4.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem4.Name = "ToolStripMenuItem4"; + this.ToolStripMenuItem4.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem4.Text = "Message"; + // + // ToolStripMenuItem5 + // + this.ToolStripMenuItem5.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem5.Name = "ToolStripMenuItem5"; + this.ToolStripMenuItem5.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem5.Text = "Post"; + // + // ToolStripMenuItem6 + // + this.ToolStripMenuItem6.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem6.Name = "ToolStripMenuItem6"; + this.ToolStripMenuItem6.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem6.Text = "Contact"; + // + // ToolStripMenuItem7 + // + this.ToolStripMenuItem7.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem7.Name = "ToolStripMenuItem7"; + this.ToolStripMenuItem7.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem7.Text = "Internet Call"; + // + // ToolStripMenuItem8 + // + this.ToolStripMenuItem8.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem8.Name = "ToolStripMenuItem8"; + this.ToolStripMenuItem8.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem8.Text = "Open... Ctrl+O"; + // + // ToolStripMenuItem9 + // + this.ToolStripMenuItem9.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem9.Name = "ToolStripMenuItem9"; + this.ToolStripMenuItem9.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem9.Text = "Edit with Windows Notepad"; + // + // ToolStripMenuItem10 + // + this.ToolStripMenuItem10.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem10.Name = "ToolStripMenuItem10"; + this.ToolStripMenuItem10.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem10.Text = "Save Ctrl+S"; + // + // ToolStripMenuItem11 + // + this.ToolStripMenuItem11.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem11.Name = "ToolStripMenuItem11"; + this.ToolStripMenuItem11.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem11.Text = "Save As..."; + // + // ToolStripMenuItem12 + // + this.ToolStripMenuItem12.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem12.Name = "ToolStripMenuItem12"; + this.ToolStripMenuItem12.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem12.Text = "Print Setup..."; + // + // ToolStripMenuItem13 + // + this.ToolStripMenuItem13.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem13.Name = "ToolStripMenuItem13"; + this.ToolStripMenuItem13.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem13.Text = "Print..."; + // + // ToolStripMenuItem14 + // + this.ToolStripMenuItem14.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem14.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem15, + this.ToolStripMenuItem16, + this.ToolStripMenuItem17}); + this.ToolStripMenuItem14.Name = "ToolStripMenuItem14"; + this.ToolStripMenuItem14.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem14.Text = "Send"; + // + // ToolStripMenuItem15 + // + this.ToolStripMenuItem15.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem15.Name = "ToolStripMenuItem15"; + this.ToolStripMenuItem15.Size = new System.Drawing.Size(179, 22); + this.ToolStripMenuItem15.Text = "Page by E-mail..."; + // + // ToolStripMenuItem16 + // + this.ToolStripMenuItem16.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem16.Name = "ToolStripMenuItem16"; + this.ToolStripMenuItem16.Size = new System.Drawing.Size(179, 22); + this.ToolStripMenuItem16.Text = "Link by E-mail..."; + // + // ToolStripMenuItem17 + // + this.ToolStripMenuItem17.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem17.Name = "ToolStripMenuItem17"; + this.ToolStripMenuItem17.Size = new System.Drawing.Size(179, 22); + this.ToolStripMenuItem17.Text = "Shortcut to Desktop"; + // + // ToolStripMenuItem18 + // + this.ToolStripMenuItem18.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem18.Name = "ToolStripMenuItem18"; + this.ToolStripMenuItem18.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem18.Text = "Import and Export..."; + // + // ToolStripMenuItem19 + // + this.ToolStripMenuItem19.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem19.Name = "ToolStripMenuItem19"; + this.ToolStripMenuItem19.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem19.Text = "Properties"; + // + // ToolStripMenuItem20 + // + this.ToolStripMenuItem20.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem20.Name = "ToolStripMenuItem20"; + this.ToolStripMenuItem20.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem20.Text = "Work Offline"; + // + // ToolStripMenuItem21 + // + this.ToolStripMenuItem21.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem21.Name = "ToolStripMenuItem21"; + this.ToolStripMenuItem21.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem21.Text = "Close"; + // + // ToolStripMenuItem22 + // + this.ToolStripMenuItem22.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem23, + this.ToolStripMenuItem24, + this.ToolStripMenuItem25, + this.ToolStripMenuItem26, + this.ToolStripMenuItem27}); + this.ToolStripMenuItem22.Name = "ToolStripMenuItem22"; + this.ToolStripMenuItem22.Size = new System.Drawing.Size(39, 20); + this.ToolStripMenuItem22.Text = "Edit"; + // + // ToolStripMenuItem23 + // + this.ToolStripMenuItem23.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem23.Name = "ToolStripMenuItem23"; + this.ToolStripMenuItem23.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem23.Text = "Cut Ctrl+X"; + // + // ToolStripMenuItem24 + // + this.ToolStripMenuItem24.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem24.Name = "ToolStripMenuItem24"; + this.ToolStripMenuItem24.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem24.Text = "Copy Ctrl+C"; + // + // ToolStripMenuItem25 + // + this.ToolStripMenuItem25.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem25.Name = "ToolStripMenuItem25"; + this.ToolStripMenuItem25.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem25.Text = "Paste Ctrl+V"; + // + // ToolStripMenuItem26 + // + this.ToolStripMenuItem26.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem26.Name = "ToolStripMenuItem26"; + this.ToolStripMenuItem26.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem26.Text = "Select All Ctrl+A"; + // + // ToolStripMenuItem27 + // + this.ToolStripMenuItem27.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem27.Name = "ToolStripMenuItem27"; + this.ToolStripMenuItem27.Size = new System.Drawing.Size(221, 22); + this.ToolStripMenuItem27.Text = "Find (on This Page)... Ctrl+F"; + // + // ToolStripMenuItem28 + // + this.ToolStripMenuItem28.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem29, + this.ToolStripMenuItem35, + this.ToolStripMenuItem36, + this.ToolStripMenuItem41, + this.ToolStripMenuItem43, + this.ToolStripMenuItem44, + this.ToolStripMenuItem45, + this.ToolStripMenuItem51, + this.ToolStripMenuItem71, + this.ToolStripMenuItem72}); + this.ToolStripMenuItem28.Name = "ToolStripMenuItem28"; + this.ToolStripMenuItem28.Size = new System.Drawing.Size(44, 20); + this.ToolStripMenuItem28.Text = "View"; + // + // ToolStripMenuItem29 + // + this.ToolStripMenuItem29.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem29.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem30, + this.ToolStripMenuItem31, + this.ToolStripMenuItem32, + this.ToolStripMenuItem33, + this.ToolStripMenuItem34}); + this.ToolStripMenuItem29.Name = "ToolStripMenuItem29"; + this.ToolStripMenuItem29.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem29.Text = "Toolbars"; + // + // ToolStripMenuItem30 + // + this.ToolStripMenuItem30.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem30.Name = "ToolStripMenuItem30"; + this.ToolStripMenuItem30.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem30.Text = "Standard Buttons"; + // + // ToolStripMenuItem31 + // + this.ToolStripMenuItem31.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem31.Name = "ToolStripMenuItem31"; + this.ToolStripMenuItem31.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem31.Text = "Address Bar"; + // + // ToolStripMenuItem32 + // + this.ToolStripMenuItem32.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem32.Name = "ToolStripMenuItem32"; + this.ToolStripMenuItem32.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem32.Text = "Links"; + // + // ToolStripMenuItem33 + // + this.ToolStripMenuItem33.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem33.Name = "ToolStripMenuItem33"; + this.ToolStripMenuItem33.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem33.Text = "Radio"; + // + // ToolStripMenuItem34 + // + this.ToolStripMenuItem34.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem34.Name = "ToolStripMenuItem34"; + this.ToolStripMenuItem34.Size = new System.Drawing.Size(165, 22); + this.ToolStripMenuItem34.Text = "Customize..."; + // + // ToolStripMenuItem35 + // + this.ToolStripMenuItem35.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem35.Name = "ToolStripMenuItem35"; + this.ToolStripMenuItem35.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem35.Text = "Status Bar"; + // + // ToolStripMenuItem36 + // + this.ToolStripMenuItem36.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem36.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem37, + this.ToolStripMenuItem38, + this.ToolStripMenuItem39, + this.ToolStripMenuItem40}); + this.ToolStripMenuItem36.Name = "ToolStripMenuItem36"; + this.ToolStripMenuItem36.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem36.Text = "Explorer Bar"; + // + // ToolStripMenuItem37 + // + this.ToolStripMenuItem37.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem37.Name = "ToolStripMenuItem37"; + this.ToolStripMenuItem37.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem37.Text = "Search Ctrl+E"; + // + // ToolStripMenuItem38 + // + this.ToolStripMenuItem38.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem38.Name = "ToolStripMenuItem38"; + this.ToolStripMenuItem38.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem38.Text = "Favorites Ctrl+I"; + // + // ToolStripMenuItem39 + // + this.ToolStripMenuItem39.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem39.Name = "ToolStripMenuItem39"; + this.ToolStripMenuItem39.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem39.Text = "History Ctrl+H"; + // + // ToolStripMenuItem40 + // + this.ToolStripMenuItem40.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem40.Name = "ToolStripMenuItem40"; + this.ToolStripMenuItem40.Size = new System.Drawing.Size(184, 22); + this.ToolStripMenuItem40.Text = "Tip of the Day"; + // + // ToolStripMenuItem41 + // + this.ToolStripMenuItem41.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem41.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem42}); + this.ToolStripMenuItem41.Name = "ToolStripMenuItem41"; + this.ToolStripMenuItem41.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem41.Text = "Go To"; + // + // ToolStripMenuItem42 + // + this.ToolStripMenuItem42.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem42.Name = "ToolStripMenuItem42"; + this.ToolStripMenuItem42.Size = new System.Drawing.Size(136, 22); + this.ToolStripMenuItem42.Text = "Home Page"; + // + // ToolStripMenuItem43 + // + this.ToolStripMenuItem43.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem43.Name = "ToolStripMenuItem43"; + this.ToolStripMenuItem43.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem43.Text = "Stop Esc"; + // + // ToolStripMenuItem44 + // + this.ToolStripMenuItem44.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem44.Name = "ToolStripMenuItem44"; + this.ToolStripMenuItem44.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem44.Text = "Refresh F5"; + // + // ToolStripMenuItem45 + // + this.ToolStripMenuItem45.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem45.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem46, + this.ToolStripMenuItem47, + this.ToolStripMenuItem48, + this.ToolStripMenuItem49, + this.ToolStripMenuItem50}); + this.ToolStripMenuItem45.Name = "ToolStripMenuItem45"; + this.ToolStripMenuItem45.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem45.Text = "Text Size"; + // + // ToolStripMenuItem46 + // + this.ToolStripMenuItem46.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem46.Name = "ToolStripMenuItem46"; + this.ToolStripMenuItem46.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem46.Text = "Largest"; + // + // ToolStripMenuItem47 + // + this.ToolStripMenuItem47.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem47.Name = "ToolStripMenuItem47"; + this.ToolStripMenuItem47.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem47.Text = "Larger"; + // + // ToolStripMenuItem48 + // + this.ToolStripMenuItem48.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem48.Name = "ToolStripMenuItem48"; + this.ToolStripMenuItem48.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem48.Text = "Medium"; + // + // ToolStripMenuItem49 + // + this.ToolStripMenuItem49.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem49.Name = "ToolStripMenuItem49"; + this.ToolStripMenuItem49.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem49.Text = "Smaller"; + // + // ToolStripMenuItem50 + // + this.ToolStripMenuItem50.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem50.Name = "ToolStripMenuItem50"; + this.ToolStripMenuItem50.Size = new System.Drawing.Size(119, 22); + this.ToolStripMenuItem50.Text = "Smallest"; + // + // ToolStripMenuItem51 + // + this.ToolStripMenuItem51.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem51.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem52, + this.ToolStripMenuItem53, + this.ToolStripMenuItem54}); + this.ToolStripMenuItem51.Name = "ToolStripMenuItem51"; + this.ToolStripMenuItem51.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem51.Text = "Encoding"; + // + // ToolStripMenuItem52 + // + this.ToolStripMenuItem52.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem52.Name = "ToolStripMenuItem52"; + this.ToolStripMenuItem52.Size = new System.Drawing.Size(230, 22); + this.ToolStripMenuItem52.Text = "Auto-Select"; + // + // ToolStripMenuItem53 + // + this.ToolStripMenuItem53.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem53.Name = "ToolStripMenuItem53"; + this.ToolStripMenuItem53.Size = new System.Drawing.Size(230, 22); + this.ToolStripMenuItem53.Text = "Western European (Windows)"; + // + // ToolStripMenuItem54 + // + this.ToolStripMenuItem54.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem54.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem55, + this.ToolStripMenuItem56, + this.ToolStripMenuItem57, + this.ToolStripMenuItem58, + this.ToolStripMenuItem59, + this.ToolStripMenuItem60, + this.ToolStripMenuItem61, + this.ToolStripMenuItem62, + this.ToolStripMenuItem63, + this.ToolStripMenuItem64, + this.ToolStripMenuItem65, + this.ToolStripMenuItem66, + this.ToolStripMenuItem67, + this.ToolStripMenuItem68, + this.ToolStripMenuItem69, + this.ToolStripMenuItem70}); + this.ToolStripMenuItem54.Name = "ToolStripMenuItem54"; + this.ToolStripMenuItem54.Size = new System.Drawing.Size(230, 22); + this.ToolStripMenuItem54.Text = "More"; + // + // ToolStripMenuItem55 + // + this.ToolStripMenuItem55.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem55.Name = "ToolStripMenuItem55"; + this.ToolStripMenuItem55.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem55.Text = "Arabic"; + // + // ToolStripMenuItem56 + // + this.ToolStripMenuItem56.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem56.Name = "ToolStripMenuItem56"; + this.ToolStripMenuItem56.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem56.Text = "Baltic"; + // + // ToolStripMenuItem57 + // + this.ToolStripMenuItem57.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem57.Name = "ToolStripMenuItem57"; + this.ToolStripMenuItem57.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem57.Text = "Central European"; + // + // ToolStripMenuItem58 + // + this.ToolStripMenuItem58.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem58.Name = "ToolStripMenuItem58"; + this.ToolStripMenuItem58.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem58.Text = "Chinese Simplified"; + // + // ToolStripMenuItem59 + // + this.ToolStripMenuItem59.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem59.Name = "ToolStripMenuItem59"; + this.ToolStripMenuItem59.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem59.Text = "Chinese Traditional"; + // + // ToolStripMenuItem60 + // + this.ToolStripMenuItem60.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem60.Name = "ToolStripMenuItem60"; + this.ToolStripMenuItem60.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem60.Text = "Cyrillic"; + // + // ToolStripMenuItem61 + // + this.ToolStripMenuItem61.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem61.Name = "ToolStripMenuItem61"; + this.ToolStripMenuItem61.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem61.Text = "Greek"; + // + // ToolStripMenuItem62 + // + this.ToolStripMenuItem62.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem62.Name = "ToolStripMenuItem62"; + this.ToolStripMenuItem62.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem62.Text = "Hebrew"; + // + // ToolStripMenuItem63 + // + this.ToolStripMenuItem63.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem63.Name = "ToolStripMenuItem63"; + this.ToolStripMenuItem63.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem63.Text = "Japanese"; + // + // ToolStripMenuItem64 + // + this.ToolStripMenuItem64.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem64.Name = "ToolStripMenuItem64"; + this.ToolStripMenuItem64.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem64.Text = "Korean"; + // + // ToolStripMenuItem65 + // + this.ToolStripMenuItem65.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem65.Name = "ToolStripMenuItem65"; + this.ToolStripMenuItem65.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem65.Text = "Thai"; + // + // ToolStripMenuItem66 + // + this.ToolStripMenuItem66.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem66.Name = "ToolStripMenuItem66"; + this.ToolStripMenuItem66.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem66.Text = "Turkish"; + // + // ToolStripMenuItem67 + // + this.ToolStripMenuItem67.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem67.Name = "ToolStripMenuItem67"; + this.ToolStripMenuItem67.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem67.Text = "Unicode (UTF-8)"; + // + // ToolStripMenuItem68 + // + this.ToolStripMenuItem68.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem68.Name = "ToolStripMenuItem68"; + this.ToolStripMenuItem68.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem68.Text = "User Defined"; + // + // ToolStripMenuItem69 + // + this.ToolStripMenuItem69.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem69.Name = "ToolStripMenuItem69"; + this.ToolStripMenuItem69.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem69.Text = "Vietnamese"; + // + // ToolStripMenuItem70 + // + this.ToolStripMenuItem70.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem70.Name = "ToolStripMenuItem70"; + this.ToolStripMenuItem70.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItem70.Text = "Western European (ISO)"; + // + // ToolStripMenuItem71 + // + this.ToolStripMenuItem71.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem71.Name = "ToolStripMenuItem71"; + this.ToolStripMenuItem71.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem71.Text = "Source"; + // + // ToolStripMenuItem72 + // + this.ToolStripMenuItem72.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem72.Name = "ToolStripMenuItem72"; + this.ToolStripMenuItem72.Size = new System.Drawing.Size(166, 22); + this.ToolStripMenuItem72.Text = "Full Screen F11"; + // + // ToolStripMenuItem78 + // + this.ToolStripMenuItem78.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem79, + this.ToolStripMenuItem85, + this.ToolStripMenuItem86, + this.ToolStripMenuItem87}); + this.ToolStripMenuItem78.Name = "ToolStripMenuItem78"; + this.ToolStripMenuItem78.Size = new System.Drawing.Size(34, 20); + this.ToolStripMenuItem78.Text = "Go"; + // + // ToolStripMenuItem79 + // + this.ToolStripMenuItem79.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem79.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem80, + this.ToolStripMenuItem81, + this.ToolStripMenuItem82, + this.ToolStripMenuItem83, + this.ToolStripMenuItem84}); + this.ToolStripMenuItem79.Name = "ToolStripMenuItem79"; + this.ToolStripMenuItem79.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem79.Text = "Mail and News"; + // + // ToolStripMenuItem80 + // + this.ToolStripMenuItem80.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem80.Name = "ToolStripMenuItem80"; + this.ToolStripMenuItem80.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem80.Text = "Read Mail"; + // + // ToolStripMenuItem81 + // + this.ToolStripMenuItem81.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem81.Name = "ToolStripMenuItem81"; + this.ToolStripMenuItem81.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem81.Text = "New Message..."; + // + // ToolStripMenuItem82 + // + this.ToolStripMenuItem82.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem82.Name = "ToolStripMenuItem82"; + this.ToolStripMenuItem82.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem82.Text = "Send a Link..."; + // + // ToolStripMenuItem83 + // + this.ToolStripMenuItem83.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem83.Name = "ToolStripMenuItem83"; + this.ToolStripMenuItem83.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem83.Text = "Send Page..."; + // + // ToolStripMenuItem84 + // + this.ToolStripMenuItem84.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem84.Name = "ToolStripMenuItem84"; + this.ToolStripMenuItem84.Size = new System.Drawing.Size(156, 22); + this.ToolStripMenuItem84.Text = "Read News"; + // + // ToolStripMenuItem85 + // + this.ToolStripMenuItem85.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem85.Name = "ToolStripMenuItem85"; + this.ToolStripMenuItem85.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem85.Text = "Windows Update"; + // + // ToolStripMenuItem86 + // + this.ToolStripMenuItem86.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem86.Name = "ToolStripMenuItem86"; + this.ToolStripMenuItem86.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem86.Text = "Show Related Links"; + // + // ToolStripMenuItem87 + // + this.ToolStripMenuItem87.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem87.Name = "ToolStripMenuItem87"; + this.ToolStripMenuItem87.Size = new System.Drawing.Size(175, 22); + this.ToolStripMenuItem87.Text = "Internet Options..."; + // + // ToolStripMenuItem73 + // + this.ToolStripMenuItem73.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem74, + this.ToolStripMenuItem75, + this.ToolStripMenuItem76}); + this.ToolStripMenuItem73.Name = "ToolStripMenuItem73"; + this.ToolStripMenuItem73.Size = new System.Drawing.Size(66, 20); + this.ToolStripMenuItem73.Text = "Favorites"; + // + // ToolStripMenuItem74 + // + this.ToolStripMenuItem74.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem74.Name = "ToolStripMenuItem74"; + this.ToolStripMenuItem74.Size = new System.Drawing.Size(180, 22); + this.ToolStripMenuItem74.Text = "Add to Favorites..."; + // + // ToolStripMenuItem75 + // + this.ToolStripMenuItem75.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem75.Name = "ToolStripMenuItem75"; + this.ToolStripMenuItem75.Size = new System.Drawing.Size(180, 22); + this.ToolStripMenuItem75.Text = "Organize Favorites..."; + // + // ToolStripMenuItem76 + // + this.ToolStripMenuItem76.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem76.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem77}); + this.ToolStripMenuItem76.Name = "ToolStripMenuItem76"; + this.ToolStripMenuItem76.Size = new System.Drawing.Size(180, 22); + this.ToolStripMenuItem76.Text = "Links"; + // + // ToolStripMenuItem77 + // + this.ToolStripMenuItem77.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem77.Name = "ToolStripMenuItem77"; + this.ToolStripMenuItem77.Size = new System.Drawing.Size(109, 22); + this.ToolStripMenuItem77.Text = "(none)"; + // + // ToolStripMenuItem88 + // + this.ToolStripMenuItem88.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripMenuItem89, + this.ToolStripMenuItem90, + this.ToolStripMenuItem91, + this.ToolStripMenuItem92, + this.ToolStripMenuItem93, + this.ToolStripMenuItem94, + this.ToolStripMenuItem95}); + this.ToolStripMenuItem88.Name = "ToolStripMenuItem88"; + this.ToolStripMenuItem88.Size = new System.Drawing.Size(44, 20); + this.ToolStripMenuItem88.Text = "Help"; + // + // ToolStripMenuItem89 + // + this.ToolStripMenuItem89.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem89.Name = "ToolStripMenuItem89"; + this.ToolStripMenuItem89.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem89.Text = "Contects and Index"; + // + // ToolStripMenuItem90 + // + this.ToolStripMenuItem90.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem90.Name = "ToolStripMenuItem90"; + this.ToolStripMenuItem90.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem90.Text = "Tip of the Day"; + // + // ToolStripMenuItem91 + // + this.ToolStripMenuItem91.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem91.Name = "ToolStripMenuItem91"; + this.ToolStripMenuItem91.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem91.Text = "For Netscape Users"; + // + // ToolStripMenuItem92 + // + this.ToolStripMenuItem92.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem92.Name = "ToolStripMenuItem92"; + this.ToolStripMenuItem92.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem92.Text = "Tour"; + // + // ToolStripMenuItem93 + // + this.ToolStripMenuItem93.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem93.Name = "ToolStripMenuItem93"; + this.ToolStripMenuItem93.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem93.Text = "Online Support"; + // + // ToolStripMenuItem94 + // + this.ToolStripMenuItem94.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem94.Name = "ToolStripMenuItem94"; + this.ToolStripMenuItem94.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem94.Text = "About Internet Explorer"; + // + // ToolStripMenuItem95 + // + this.ToolStripMenuItem95.BackColor = System.Drawing.Color.Silver; + this.ToolStripMenuItem95.Name = "ToolStripMenuItem95"; + this.ToolStripMenuItem95.Size = new System.Drawing.Size(196, 22); + this.ToolStripMenuItem95.Text = "Send Feedback"; + // + // _browsingArea + // + this._browsingArea.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this._browsingArea.Dock = System.Windows.Forms.DockStyle.Fill; + this._browsingArea.Location = new System.Drawing.Point(0, 102); + this._browsingArea.Name = "_browsingArea"; + this._browsingArea.Size = new System.Drawing.Size(959, 492); + this._browsingArea.TabIndex = 17; + // + // pictureBox4 + // + this.pictureBox4.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter2; + this.pictureBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox4.Location = new System.Drawing.Point(2, 4); + this.pictureBox4.Name = "pictureBox4"; + this.pictureBox4.Size = new System.Drawing.Size(3, 19); + this.pictureBox4.TabIndex = 18; + this.pictureBox4.TabStop = false; + // + // pictureBox7 + // + this.pictureBox7.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox7.Location = new System.Drawing.Point(0, 0); + this.pictureBox7.Name = "pictureBox7"; + this.pictureBox7.Size = new System.Drawing.Size(959, 2); + this.pictureBox7.TabIndex = 15; + this.pictureBox7.TabStop = false; + // + // pictureBox9 + // + this.pictureBox9.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox9.Location = new System.Drawing.Point(0, 26); + this.pictureBox9.Name = "pictureBox9"; + this.pictureBox9.Size = new System.Drawing.Size(959, 2); + this.pictureBox9.TabIndex = 16; + this.pictureBox9.TabStop = false; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(924, 7); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(32, 13); + this.label2.TabIndex = 17; + this.label2.Text = "Links"; + // + // pictureBox10 + // + this.pictureBox10.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_vsplitter2; + this.pictureBox10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox10.Location = new System.Drawing.Point(921, 4); + this.pictureBox10.Name = "pictureBox10"; + this.pictureBox10.Size = new System.Drawing.Size(3, 20); + this.pictureBox10.TabIndex = 19; + this.pictureBox10.TabStop = false; + // + // TempIE4 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.pictureBox7); + this.Controls.Add(this.pictureBox4); + this.Controls.Add(this._browsingArea); + this.Controls.Add(this.Panel14); + this.Controls.Add(this.Panel1); + this.Controls.Add(this.MenuStrip3); + this.Name = "TempIE4"; + this.Size = new System.Drawing.Size(959, 594); + this.Load += new System.EventHandler(this.TempIE4_Load); + this.Panel14.ResumeLayout(false); + this.Panel14.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); + this.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.MenuStrip3.ResumeLayout(false); + this.MenuStrip3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + internal System.Windows.Forms.Panel Panel14; + internal System.Windows.Forms.Button GoButton; + internal System.Windows.Forms.ComboBox _addressbar; + internal System.Windows.Forms.Label Label1; + internal System.Windows.Forms.Button Button30; + internal System.Windows.Forms.Button Button29; + internal System.Windows.Forms.Button Button27; + internal System.Windows.Forms.Button Button7; + internal System.Windows.Forms.Button Button6; + internal System.Windows.Forms.Button HomeButton; + internal System.Windows.Forms.Button Button4; + internal System.Windows.Forms.Button Button3; + internal System.Windows.Forms.Button ForwardButton; + internal System.Windows.Forms.Button BackButton; + internal System.Windows.Forms.Panel Panel1; + internal System.Windows.Forms.MenuStrip MenuStrip3; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem2; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem3; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem4; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem5; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem6; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem7; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem8; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem9; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem10; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem11; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem12; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem13; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem14; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem15; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem16; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem17; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem18; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem19; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem20; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem21; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem22; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem23; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem24; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem25; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem26; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem27; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem28; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem29; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem30; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem31; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem32; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem33; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem34; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem35; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem36; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem37; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem38; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem39; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem40; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem41; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem42; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem43; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem44; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem45; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem46; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem47; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem48; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem49; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem50; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem51; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem52; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem53; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem54; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem55; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem56; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem57; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem58; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem59; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem60; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem61; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem62; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem63; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem64; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem65; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem66; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem67; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem68; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem69; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem70; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem71; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem72; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem78; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem79; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem80; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem81; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem82; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem83; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem84; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem85; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem86; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem87; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem73; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem74; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem75; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem76; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem77; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem88; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem89; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem90; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem91; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem92; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem93; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem94; + internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem95; + private System.Windows.Forms.Panel _browsingArea; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.PictureBox pictureBox3; + private System.Windows.Forms.PictureBox pictureBox4; + private System.Windows.Forms.PictureBox pictureBox5; + private System.Windows.Forms.PictureBox pictureBox6; + private System.Windows.Forms.PictureBox pictureBox7; + private System.Windows.Forms.PictureBox pictureBox8; + private System.Windows.Forms.PictureBox pictureBox9; + private System.Windows.Forms.PictureBox pictureBox10; + private System.Windows.Forms.Label label2; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs new file mode 100644 index 0000000..d41add1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.cs @@ -0,0 +1,76 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using TimeHACK.OS.Win95.Win95Apps.IE4Sites; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class TempIE4 : UserControl + { + public static Panel browsingArea = new Panel(); + public static ComboBox addressbar = new ComboBox(); + + public TempIE4() + { + InitializeComponent(); + browsingArea = _browsingArea; + addressbar = _addressbar; + } + + public static async void GoToPage(string url) + { + UserControl uc = new UserControl(); + + switch (url) + { + case "www.microsoft.com/windows/ie/default.htm": + uc = new IE4Start(); + break; + case "www.google.com": + uc = new GoogleHome(); + break; + case "www.google.stanford.edu": + uc = new GooglePrototype(); + break; + default: + uc = new IE4NoPage(); + break; + } + + addressbar.Text = url; + uc.Dock = DockStyle.Fill; + + await Task.Delay(new Random().Next(500, 1500)); + + browsingArea.Controls.Clear(); + browsingArea.Controls.Add(uc); + } + + private void TempIE4_Load(object sender, EventArgs e) + { + GoToPage("www.microsoft.com/windows/ie/default.htm"); + GoButton.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2); + } + + private void GoButton_Click(object sender, EventArgs e) + { + GoToPage(addressbar.Text); + } + + private void _addressbar_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + GoButton_Click(this, new EventArgs()); + e.SuppressKeyPress = true; + browsingArea.Focus(); + } + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx new file mode 100644 index 0000000..5039d37 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.resx @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="MenuStrip3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.cs deleted file mode 100644 index 0c2e6a8..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Windows.Forms; - -namespace TimeHACK.WinClassicForms -{ - public partial class TestApp : UserControl - { - public TestApp() - { - InitializeComponent(); - } - } -} - diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs index b7f9de3..4dd7a59 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.Designer.cs @@ -202,7 +202,6 @@ this.button1.Text = "Login"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.Button1_Click); - this.button1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); // // txtscreenname // @@ -241,7 +240,6 @@ this.button2.Text = "Speak"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.Button2_Click); - this.button2.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); // // button3 // @@ -254,7 +252,6 @@ this.button3.Text = "Paul"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.Button3_Click); - this.button3.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); // // button4 // diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs index 8af7099..bcdc0e9 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs @@ -42,6 +42,11 @@ namespace TimeHACK.OS.Win95.Win95Apps bsod2 = bc.throw9XBSOD(false, BSODCreator.BSODCauses.PiracyEnding);
bsod.Hide();
bsod2.Hide();
+
+ this.button1.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
+ this.button2.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
+ this.button3.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
+ this.button4.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
}
private void WebChat1998_Load(object sender, EventArgs e)
{
@@ -69,7 +74,7 @@ namespace TimeHACK.OS.Win95.Win95Apps {
if (!guessing)
{
- history.AppendText(wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + Environment.NewLine);
+ history.AppendText(wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username));
switch (wcmp.GetSpecial(resources.GetString("convo"), chat_index))
{
case "addsh":
@@ -134,6 +139,20 @@ namespace TimeHACK.OS.Win95.Win95Apps ((WinClassic)this.ParentForm).programtopbar = null;
receive.Play();
break; // TODO: Finish WebChat 1998
+ case "filepoof":
+ label5.Hide();
+ button5.Hide();
+ receive.Play();
+ break;
+ case "removesky":
+ listBox1.Items.Remove("SkyHigh");
+ leave.Play();
+ break;
+ case ".labelgone":
+ label1.Hide();
+ label6.Hide();
+ label7.Hide();
+ break;
default:
receive.Play();
break;
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx index 6f40ce8..0625787 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.resx @@ -693,7 +693,7 @@ }, { "user": "SkyHigh", - "delay": 7000, + "delay": 6000, "message": "hey! give me back my taskbar!", "special": null, "userchat": true @@ -707,10 +707,241 @@ }, { "user": "12padams", - "delay": 2500, + "delay": 1500, "message": "and your icons are infected too so you dont need them", "special": "iconsgone", "userchat": true + }, + { + "user": "SkyHigh", + "delay": 3000, + "message": "please stop!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "you want to know how to stop this?", + "special": null, + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 3000, + "message": "please just let us go and forget this happened!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 9000, + "message": "well first, i need your full attention.", + "special": "bigtext", + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 3500, + "message": "please this is enough! you've done everything to convince me that I won't illegally download your software again!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 5000, + "message": "i've done everything? no, what about this?", + "special": "notopbar", + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 5000, + "message": "damn it! he removed the buttons at the top so we cant get out...", + "special": null, + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 3000, + "message": "please just STOP! me and @user didn't even upload the file!", + "special": null, + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 5000, + "message": "rain uploaded it, not us!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "and do you see him here now?", + "special": null, + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 2000, + "message": "no, you got rid of him!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 5000, + "message": "exactly.", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 5000, + "message": "speaking of, i need to remove that file which has been sitting here all this time!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 3000, + "message": "there. now i can deal with you two...", + "special": "filepoof", + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 5000, + "message": "STOP PLEASE!!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 3000, + "message": "stop? why you have been able to stop this whole time! just turn off your computer!", + "special": null, + "userchat": true + }, + { + "user": "SkyHigh", + "delay": 5000, + "message": "but i cant!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 1500, + "message": "do you not know how? well then, let me do it for you.", + "special": null, + "userchat": true + }, + { + "user": "System", + "delay": 2500, + "message": "SkyHigh has left the chat.", + "special": "removesky", + "userchat": true + }, + { + "user": "12padams", + "delay": 3000, + "message": "now, we just have @user...", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 3500, + "message": "hmm, i dont remember you saying much", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 5000, + "message": "well, since you dont talk, you wont need this", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "you probably want to say \"WHY CANT I TALK!!1!\"", + "special": "notype", + "userchat": true + }, + { + "user": "12padams", + "delay": 5000, + "message": "but you cant, and i bet you dont know how", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "now lets see... it appears youre running windows 95 which you only got a week ago", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 5000, + "message": "so you must be new to computers", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 3000, + "message": "this is cool! i get to punish you, AND i get to teach you about computer history!", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "well, let us go back to 1982..", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 2500, + "message": "back then, we didnt have labels, so ill remove those...", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "", + "special": ".labelgone", + "userchat": false + }, + { + "user": "12padams", + "delay": 4000, + "message": "also, we didnt have wallpapers, or even color for that matter", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "hmm, this is going to be tricky..", + "special": null, + "userchat": true + }, + { + "user": "12padams", + "delay": 4000, + "message": "i hope youre not scared of the dark!", + "special": null, + "userchat": true } ] }</value> diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs new file mode 100644 index 0000000..70ad0a2 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs @@ -0,0 +1,646 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicCalculator + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.HelpToolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.AboutCalculatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.StandardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ScientificToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.HelpToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.PasteCtrlVToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.CopyCtrlCToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.EditToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.txtNumbers = new System.Windows.Forms.TextBox(); + this.Button27 = new System.Windows.Forms.Button(); + this.Button26 = new System.Windows.Forms.Button(); + this.Button1 = new System.Windows.Forms.Button(); + this.Button25 = new System.Windows.Forms.Button(); + this.Button2 = new System.Windows.Forms.Button(); + this.Button21 = new System.Windows.Forms.Button(); + this.Button3 = new System.Windows.Forms.Button(); + this.Button22 = new System.Windows.Forms.Button(); + this.Button4 = new System.Windows.Forms.Button(); + this.Button23 = new System.Windows.Forms.Button(); + this.Button11 = new System.Windows.Forms.Button(); + this.Button7 = new System.Windows.Forms.Button(); + this.Button16 = new System.Windows.Forms.Button(); + this.Button24 = new System.Windows.Forms.Button(); + this.Button12 = new System.Windows.Forms.Button(); + this.one = new System.Windows.Forms.Button(); + this.Button15 = new System.Windows.Forms.Button(); + this.Button17 = new System.Windows.Forms.Button(); + this.Button13 = new System.Windows.Forms.Button(); + this.Button5 = new System.Windows.Forms.Button(); + this.Button14 = new System.Windows.Forms.Button(); + this.Button18 = new System.Windows.Forms.Button(); + this.Button8 = new System.Windows.Forms.Button(); + this.Button10 = new System.Windows.Forms.Button(); + this.Button20 = new System.Windows.Forms.Button(); + this.Button19 = new System.Windows.Forms.Button(); + this.Button9 = new System.Windows.Forms.Button(); + this.MenuStrip2 = new System.Windows.Forms.MenuStrip(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.MenuStrip2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // timer1 + // + this.timer1.Interval = 1; + // + // HelpToolStripMenuItem3 + // + this.HelpToolStripMenuItem3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.AboutCalculatorToolStripMenuItem}); + this.HelpToolStripMenuItem3.Name = "HelpToolStripMenuItem3"; + this.HelpToolStripMenuItem3.Size = new System.Drawing.Size(41, 20); + this.HelpToolStripMenuItem3.Text = "Help"; + // + // AboutCalculatorToolStripMenuItem + // + this.AboutCalculatorToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.AboutCalculatorToolStripMenuItem.Name = "AboutCalculatorToolStripMenuItem"; + this.AboutCalculatorToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.AboutCalculatorToolStripMenuItem.Text = "About Calculator"; + this.AboutCalculatorToolStripMenuItem.Click += new System.EventHandler(this.AboutCalculatorToolStripMenuItem_Click); + // + // StandardToolStripMenuItem + // + this.StandardToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.StandardToolStripMenuItem.Name = "StandardToolStripMenuItem"; + this.StandardToolStripMenuItem.Size = new System.Drawing.Size(117, 22); + this.StandardToolStripMenuItem.Text = "Standard"; + // + // ScientificToolStripMenuItem + // + this.ScientificToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ScientificToolStripMenuItem.Name = "ScientificToolStripMenuItem"; + this.ScientificToolStripMenuItem.Size = new System.Drawing.Size(117, 22); + this.ScientificToolStripMenuItem.Text = "Scientific"; + // + // HelpToolStripMenuItem2 + // + this.HelpToolStripMenuItem2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ScientificToolStripMenuItem, + this.StandardToolStripMenuItem}); + this.HelpToolStripMenuItem2.Name = "HelpToolStripMenuItem2"; + this.HelpToolStripMenuItem2.Size = new System.Drawing.Size(42, 20); + this.HelpToolStripMenuItem2.Text = "View"; + // + // PasteCtrlVToolStripMenuItem1 + // + this.PasteCtrlVToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.PasteCtrlVToolStripMenuItem1.Name = "PasteCtrlVToolStripMenuItem1"; + this.PasteCtrlVToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.PasteCtrlVToolStripMenuItem1.Text = "Paste Ctrl+V"; + this.PasteCtrlVToolStripMenuItem1.Click += new System.EventHandler(this.PasteCtrlVToolStripMenuItem1_Click); + // + // CopyCtrlCToolStripMenuItem1 + // + this.CopyCtrlCToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.CopyCtrlCToolStripMenuItem1.Name = "CopyCtrlCToolStripMenuItem1"; + this.CopyCtrlCToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.CopyCtrlCToolStripMenuItem1.Text = "Copy Ctrl+C"; + this.CopyCtrlCToolStripMenuItem1.Click += new System.EventHandler(this.CopyCtrlCToolStripMenuItem1_Click); + // + // EditToolStripMenuItem1 + // + this.EditToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.EditToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.CopyCtrlCToolStripMenuItem1, + this.PasteCtrlVToolStripMenuItem1}); + this.EditToolStripMenuItem1.Name = "EditToolStripMenuItem1"; + this.EditToolStripMenuItem1.Size = new System.Drawing.Size(37, 20); + this.EditToolStripMenuItem1.Text = "Edit"; + // + // txtNumbers + // + this.txtNumbers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtNumbers.BackColor = System.Drawing.Color.White; + this.txtNumbers.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.txtNumbers.Location = new System.Drawing.Point(11, 39); + this.txtNumbers.Margin = new System.Windows.Forms.Padding(4); + this.txtNumbers.Multiline = true; + this.txtNumbers.Name = "txtNumbers"; + this.txtNumbers.ReadOnly = true; + this.txtNumbers.Size = new System.Drawing.Size(249, 26); + this.txtNumbers.TabIndex = 85; + this.txtNumbers.Text = "0"; + this.txtNumbers.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; + // + // Button27 + // + this.Button27.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button27.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button27.ForeColor = System.Drawing.Color.Firebrick; + this.Button27.Location = new System.Drawing.Point(159, 71); + this.Button27.Name = "Button27"; + this.Button27.Size = new System.Drawing.Size(49, 28); + this.Button27.TabIndex = 84; + this.Button27.Text = "CE"; + this.Button27.UseVisualStyleBackColor = true; + this.Button27.Click += new System.EventHandler(this.Button27_Click); + // + // Button26 + // + this.Button26.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button26.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button26.ForeColor = System.Drawing.Color.Firebrick; + this.Button26.Location = new System.Drawing.Point(210, 71); + this.Button26.Name = "Button26"; + this.Button26.Size = new System.Drawing.Size(49, 28); + this.Button26.TabIndex = 83; + this.Button26.Text = "C"; + this.Button26.UseVisualStyleBackColor = true; + this.Button26.Click += new System.EventHandler(this.Button26_Click); + // + // Button1 + // + this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button1.ForeColor = System.Drawing.Color.Red; + this.Button1.Location = new System.Drawing.Point(11, 139); + this.Button1.Name = "Button1"; + this.Button1.Size = new System.Drawing.Size(36, 28); + this.Button1.TabIndex = 58; + this.Button1.Text = "MR"; + this.Button1.UseVisualStyleBackColor = true; + // + // Button25 + // + this.Button25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button25.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button25.ForeColor = System.Drawing.Color.Firebrick; + this.Button25.Location = new System.Drawing.Point(104, 71); + this.Button25.Name = "Button25"; + this.Button25.Size = new System.Drawing.Size(49, 28); + this.Button25.TabIndex = 82; + this.Button25.Text = "Back"; + this.Button25.UseVisualStyleBackColor = true; + this.Button25.Click += new System.EventHandler(this.Button25_Click); + // + // Button2 + // + this.Button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button2.ForeColor = System.Drawing.Color.Red; + this.Button2.Location = new System.Drawing.Point(11, 207); + this.Button2.Name = "Button2"; + this.Button2.Size = new System.Drawing.Size(36, 28); + this.Button2.TabIndex = 59; + this.Button2.Text = "M+"; + this.Button2.UseVisualStyleBackColor = true; + // + // Button21 + // + this.Button21.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button21.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button21.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button21.ForeColor = System.Drawing.Color.Red; + this.Button21.Location = new System.Drawing.Point(223, 207); + this.Button21.Name = "Button21"; + this.Button21.Size = new System.Drawing.Size(36, 28); + this.Button21.TabIndex = 81; + this.Button21.Text = "="; + this.Button21.UseVisualStyleBackColor = true; + this.Button21.Click += new System.EventHandler(this.Button21_Click); + // + // Button3 + // + this.Button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button3.ForeColor = System.Drawing.Color.Red; + this.Button3.Location = new System.Drawing.Point(11, 173); + this.Button3.Name = "Button3"; + this.Button3.Size = new System.Drawing.Size(36, 28); + this.Button3.TabIndex = 60; + this.Button3.Text = "MS"; + this.Button3.UseVisualStyleBackColor = true; + // + // Button22 + // + this.Button22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button22.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button22.ForeColor = System.Drawing.Color.MidnightBlue; + this.Button22.Location = new System.Drawing.Point(223, 105); + this.Button22.Name = "Button22"; + this.Button22.Size = new System.Drawing.Size(36, 28); + this.Button22.TabIndex = 80; + this.Button22.Text = "sqrt"; + this.Button22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.Button22.UseVisualStyleBackColor = true; + this.Button22.Click += new System.EventHandler(this.arithmitic_click); + // + // Button4 + // + this.Button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button4.ForeColor = System.Drawing.Color.Red; + this.Button4.Location = new System.Drawing.Point(11, 105); + this.Button4.Name = "Button4"; + this.Button4.Size = new System.Drawing.Size(36, 28); + this.Button4.TabIndex = 61; + this.Button4.Text = "MC"; + this.Button4.UseVisualStyleBackColor = true; + // + // Button23 + // + this.Button23.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button23.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button23.ForeColor = System.Drawing.Color.MidnightBlue; + this.Button23.Location = new System.Drawing.Point(223, 173); + this.Button23.Name = "Button23"; + this.Button23.Size = new System.Drawing.Size(36, 28); + this.Button23.TabIndex = 79; + this.Button23.Text = "1/x"; + this.Button23.UseVisualStyleBackColor = true; + this.Button23.Click += new System.EventHandler(this.arithmitic_click); + // + // Button11 + // + this.Button11.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button11.ForeColor = System.Drawing.Color.Blue; + this.Button11.Location = new System.Drawing.Point(143, 105); + this.Button11.Name = "Button11"; + this.Button11.Size = new System.Drawing.Size(36, 28); + this.Button11.TabIndex = 70; + this.Button11.Text = "9"; + this.Button11.UseVisualStyleBackColor = true; + this.Button11.Click += new System.EventHandler(this.number_click); + // + // Button7 + // + this.Button7.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button7.ForeColor = System.Drawing.Color.Blue; + this.Button7.Location = new System.Drawing.Point(63, 139); + this.Button7.Name = "Button7"; + this.Button7.Size = new System.Drawing.Size(36, 28); + this.Button7.TabIndex = 62; + this.Button7.Text = "4"; + this.Button7.UseVisualStyleBackColor = true; + this.Button7.Click += new System.EventHandler(this.number_click); + // + // Button16 + // + this.Button16.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button16.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button16.ForeColor = System.Drawing.Color.Blue; + this.Button16.Location = new System.Drawing.Point(63, 207); + this.Button16.Name = "Button16"; + this.Button16.Size = new System.Drawing.Size(36, 28); + this.Button16.TabIndex = 71; + this.Button16.Text = "0"; + this.Button16.UseVisualStyleBackColor = true; + this.Button16.Click += new System.EventHandler(this.number_click); + // + // Button24 + // + this.Button24.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button24.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button24.ForeColor = System.Drawing.Color.MidnightBlue; + this.Button24.Location = new System.Drawing.Point(223, 139); + this.Button24.Name = "Button24"; + this.Button24.Size = new System.Drawing.Size(36, 28); + this.Button24.TabIndex = 78; + this.Button24.Text = "%"; + this.Button24.UseVisualStyleBackColor = true; + this.Button24.Click += new System.EventHandler(this.arithmitic_click); + // + // Button12 + // + this.Button12.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button12.ForeColor = System.Drawing.Color.Blue; + this.Button12.Location = new System.Drawing.Point(143, 173); + this.Button12.Name = "Button12"; + this.Button12.Size = new System.Drawing.Size(36, 28); + this.Button12.TabIndex = 69; + this.Button12.Text = "3"; + this.Button12.UseVisualStyleBackColor = true; + this.Button12.Click += new System.EventHandler(this.number_click); + // + // one + // + this.one.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.one.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.one.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.one.ForeColor = System.Drawing.Color.Blue; + this.one.Location = new System.Drawing.Point(63, 173); + this.one.Name = "one"; + this.one.Size = new System.Drawing.Size(36, 28); + this.one.TabIndex = 63; + this.one.Text = "1"; + this.one.UseVisualStyleBackColor = true; + this.one.Click += new System.EventHandler(this.number_click); + // + // Button15 + // + this.Button15.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button15.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button15.ForeColor = System.Drawing.Color.Blue; + this.Button15.Location = new System.Drawing.Point(103, 207); + this.Button15.Name = "Button15"; + this.Button15.Size = new System.Drawing.Size(36, 28); + this.Button15.TabIndex = 72; + this.Button15.Text = "+/-"; + this.Button15.UseVisualStyleBackColor = true; + this.Button15.Click += new System.EventHandler(this.Button15_Click); + // + // Button17 + // + this.Button17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button17.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button17.ForeColor = System.Drawing.Color.Red; + this.Button17.Location = new System.Drawing.Point(183, 207); + this.Button17.Name = "Button17"; + this.Button17.Size = new System.Drawing.Size(36, 28); + this.Button17.TabIndex = 77; + this.Button17.Text = "+"; + this.Button17.UseVisualStyleBackColor = true; + this.Button17.Click += new System.EventHandler(this.arithmitic_click); + // + // Button13 + // + this.Button13.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button13.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button13.ForeColor = System.Drawing.Color.Blue; + this.Button13.Location = new System.Drawing.Point(143, 139); + this.Button13.Name = "Button13"; + this.Button13.Size = new System.Drawing.Size(36, 28); + this.Button13.TabIndex = 68; + this.Button13.Text = "6"; + this.Button13.UseVisualStyleBackColor = true; + this.Button13.Click += new System.EventHandler(this.number_click); + // + // Button5 + // + this.Button5.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button5.ForeColor = System.Drawing.Color.Blue; + this.Button5.Location = new System.Drawing.Point(63, 105); + this.Button5.Name = "Button5"; + this.Button5.Size = new System.Drawing.Size(36, 28); + this.Button5.TabIndex = 64; + this.Button5.Text = "7"; + this.Button5.UseVisualStyleBackColor = true; + this.Button5.Click += new System.EventHandler(this.number_click); + // + // Button14 + // + this.Button14.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button14.ForeColor = System.Drawing.Color.Blue; + this.Button14.Location = new System.Drawing.Point(143, 207); + this.Button14.Name = "Button14"; + this.Button14.Size = new System.Drawing.Size(36, 28); + this.Button14.TabIndex = 73; + this.Button14.Text = "."; + this.Button14.UseVisualStyleBackColor = true; + this.Button14.Click += new System.EventHandler(this.number_click); + // + // Button18 + // + this.Button18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button18.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button18.ForeColor = System.Drawing.Color.Red; + this.Button18.Location = new System.Drawing.Point(183, 105); + this.Button18.Name = "Button18"; + this.Button18.Size = new System.Drawing.Size(36, 28); + this.Button18.TabIndex = 76; + this.Button18.Text = "/"; + this.Button18.UseVisualStyleBackColor = true; + this.Button18.Click += new System.EventHandler(this.arithmitic_click); + // + // Button8 + // + this.Button8.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button8.ForeColor = System.Drawing.Color.Blue; + this.Button8.Location = new System.Drawing.Point(103, 105); + this.Button8.Name = "Button8"; + this.Button8.Size = new System.Drawing.Size(36, 28); + this.Button8.TabIndex = 67; + this.Button8.Text = "8"; + this.Button8.UseVisualStyleBackColor = true; + this.Button8.Click += new System.EventHandler(this.number_click); + // + // Button10 + // + this.Button10.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button10.ForeColor = System.Drawing.Color.Blue; + this.Button10.Location = new System.Drawing.Point(103, 139); + this.Button10.Name = "Button10"; + this.Button10.Size = new System.Drawing.Size(36, 28); + this.Button10.TabIndex = 65; + this.Button10.Text = "5"; + this.Button10.UseVisualStyleBackColor = true; + this.Button10.Click += new System.EventHandler(this.number_click); + // + // Button20 + // + this.Button20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button20.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button20.ForeColor = System.Drawing.Color.Red; + this.Button20.Location = new System.Drawing.Point(183, 139); + this.Button20.Name = "Button20"; + this.Button20.Size = new System.Drawing.Size(36, 28); + this.Button20.TabIndex = 74; + this.Button20.Text = "*"; + this.Button20.UseVisualStyleBackColor = true; + this.Button20.Click += new System.EventHandler(this.arithmitic_click); + // + // Button19 + // + this.Button19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button19.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button19.ForeColor = System.Drawing.Color.Red; + this.Button19.Location = new System.Drawing.Point(183, 173); + this.Button19.Name = "Button19"; + this.Button19.Size = new System.Drawing.Size(36, 28); + this.Button19.TabIndex = 75; + this.Button19.Text = "-"; + this.Button19.UseVisualStyleBackColor = true; + this.Button19.Click += new System.EventHandler(this.arithmitic_click); + // + // Button9 + // + this.Button9.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Button9.ForeColor = System.Drawing.Color.Blue; + this.Button9.Location = new System.Drawing.Point(103, 173); + this.Button9.Name = "Button9"; + this.Button9.Size = new System.Drawing.Size(36, 28); + this.Button9.TabIndex = 66; + this.Button9.Text = "2"; + this.Button9.UseVisualStyleBackColor = true; + this.Button9.Click += new System.EventHandler(this.number_click); + // + // MenuStrip2 + // + this.MenuStrip2.BackColor = System.Drawing.Color.Silver; + this.MenuStrip2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.MenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.EditToolStripMenuItem1, + this.HelpToolStripMenuItem2, + this.HelpToolStripMenuItem3}); + this.MenuStrip2.Location = new System.Drawing.Point(0, 0); + this.MenuStrip2.Name = "MenuStrip2"; + this.MenuStrip2.Size = new System.Drawing.Size(270, 24); + this.MenuStrip2.TabIndex = 86; + this.MenuStrip2.Text = "MenuStrip2"; + // + // pictureBox1 + // + this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox1.Location = new System.Drawing.Point(1, 24); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(268, 2); + this.pictureBox1.TabIndex = 87; + this.pictureBox1.TabStop = false; + // + // WinClassicCalculator + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Silver; + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.txtNumbers); + this.Controls.Add(this.Button27); + this.Controls.Add(this.Button26); + this.Controls.Add(this.Button1); + this.Controls.Add(this.Button25); + this.Controls.Add(this.Button2); + this.Controls.Add(this.Button21); + this.Controls.Add(this.Button3); + this.Controls.Add(this.Button22); + this.Controls.Add(this.Button4); + this.Controls.Add(this.Button23); + this.Controls.Add(this.Button11); + this.Controls.Add(this.Button7); + this.Controls.Add(this.Button16); + this.Controls.Add(this.Button24); + this.Controls.Add(this.Button12); + this.Controls.Add(this.one); + this.Controls.Add(this.Button15); + this.Controls.Add(this.Button17); + this.Controls.Add(this.Button13); + this.Controls.Add(this.Button5); + this.Controls.Add(this.Button14); + this.Controls.Add(this.Button18); + this.Controls.Add(this.Button8); + this.Controls.Add(this.Button10); + this.Controls.Add(this.Button20); + this.Controls.Add(this.Button19); + this.Controls.Add(this.Button9); + this.Controls.Add(this.MenuStrip2); + this.Name = "WinClassicCalculator"; + this.Size = new System.Drawing.Size(270, 247); + this.MenuStrip2.ResumeLayout(false); + this.MenuStrip2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Timer timer1; + internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem3; + internal System.Windows.Forms.ToolStripMenuItem AboutCalculatorToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem StandardToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ScientificToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem2; + internal System.Windows.Forms.ToolStripMenuItem PasteCtrlVToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem CopyCtrlCToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem EditToolStripMenuItem1; + internal System.Windows.Forms.TextBox txtNumbers; + internal System.Windows.Forms.Button Button27; + internal System.Windows.Forms.Button Button26; + internal System.Windows.Forms.Button Button1; + internal System.Windows.Forms.Button Button25; + internal System.Windows.Forms.Button Button2; + internal System.Windows.Forms.Button Button21; + internal System.Windows.Forms.Button Button3; + internal System.Windows.Forms.Button Button22; + internal System.Windows.Forms.Button Button4; + internal System.Windows.Forms.Button Button23; + internal System.Windows.Forms.Button Button11; + internal System.Windows.Forms.Button Button7; + internal System.Windows.Forms.Button Button16; + internal System.Windows.Forms.Button Button24; + internal System.Windows.Forms.Button Button12; + internal System.Windows.Forms.Button one; + internal System.Windows.Forms.Button Button15; + internal System.Windows.Forms.Button Button17; + internal System.Windows.Forms.Button Button13; + internal System.Windows.Forms.Button Button5; + internal System.Windows.Forms.Button Button14; + internal System.Windows.Forms.Button Button18; + internal System.Windows.Forms.Button Button8; + internal System.Windows.Forms.Button Button10; + internal System.Windows.Forms.Button Button20; + internal System.Windows.Forms.Button Button19; + internal System.Windows.Forms.Button Button9; + internal System.Windows.Forms.MenuStrip MenuStrip2; + private System.Windows.Forms.PictureBox pictureBox1; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs new file mode 100644 index 0000000..71ded89 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs @@ -0,0 +1,175 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using TimeHACK.Engine; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicCalculator : UserControl + { + double prevnum = 0; + string operation = ""; + bool operation_pressed = false; + public WinClassicCalculator() + { + InitializeComponent(); + foreach (Control c in Controls) + { + if (c is Button) + { + c.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Bold, GraphicsUnit.Point, ((byte)(0))); + c.Paint += (sender, args) => Paintbrush.PaintClassicBorders(sender, args, 2); + } + else + { + c.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); + } + } + txtNumbers.Paint += (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 2); + } + private void number_click(object sender, EventArgs e) + { + if (txtNumbers.Text.Contains("∞")) + txtNumbers.Clear(); + if ((txtNumbers.Text == "0") || (operation_pressed)) + txtNumbers.Text = ""; + operation_pressed = false; + Button num = (Button)sender; + if (num.Text == ".") + { + if (!txtNumbers.Text.Contains(".")) + txtNumbers.Text = txtNumbers.Text + num.Text; + } + else + txtNumbers.Text = txtNumbers.Text + num.Text; + } + + private void Button27_Click(object sender, EventArgs e) + { + txtNumbers.Text = "0"; + } + + private void Button26_Click(object sender, EventArgs e) + { + prevnum = 0; + operation = ""; + operation_pressed = false; + txtNumbers.Text = "0"; + } + + private void Button25_Click(object sender, EventArgs e) + { + if (txtNumbers.Text.Length>0) + { + txtNumbers.Text = txtNumbers.Text.Remove(txtNumbers.Text.Length - 1, 1); + } + if (txtNumbers.Text =="") + { + txtNumbers.Text = "0"; + } + } + + private void arithmitic_click(object sender, EventArgs e) + { + Button num = (Button)sender; + if (txtNumbers.Text.Contains("∞")) + txtNumbers.Clear(); + if (prevnum != 0) + { + if (num.Text == "sqrt") + prevnum = Math.Sqrt(double.Parse(txtNumbers.Text)); + if (num.Text == "1/x") + prevnum = Convert.ToDouble(1.0 / Convert.ToDouble(txtNumbers.Text)); + if (num.Text == "%") + prevnum = Convert.ToDouble(txtNumbers.Text) / 100; + Button21.PerformClick(); + operation = num.Text; + operation_pressed = true; + } + else if (num.Text == "sqrt") + { + prevnum = Math.Sqrt(double.Parse(txtNumbers.Text)); + txtNumbers.Text = prevnum.ToString(); + } + else if (num.Text == "1/x") + { + prevnum = Convert.ToDouble(1.0 / Convert.ToDouble(txtNumbers.Text)); + txtNumbers.Text = prevnum.ToString(); + } + else if (num.Text == "%") + { + prevnum = Convert.ToDouble(txtNumbers.Text) / 100; + txtNumbers.Text = prevnum.ToString(); + } + else + { + operation = num.Text; + prevnum = double.Parse(txtNumbers.Text); + txtNumbers.Text = "0"; + operation_pressed = true; + } + } + + private void Button21_Click(object sender, EventArgs e) + { + if (txtNumbers.Text.Contains("∞")) + txtNumbers.Clear(); + switch (operation) + { + case "+": + txtNumbers.Text = (prevnum + double.Parse(txtNumbers.Text)).ToString(); + break; + case "-": + txtNumbers.Text = (prevnum - double.Parse(txtNumbers.Text)).ToString(); + break; + case "*": + txtNumbers.Text = (prevnum * double.Parse(txtNumbers.Text)).ToString(); + break; + case "/": + txtNumbers.Text = (prevnum / double.Parse(txtNumbers.Text)).ToString(); + break; + } + prevnum = Int32.Parse(txtNumbers.Text); + operation = ""; + } + + private void AboutCalculatorToolStripMenuItem_Click(object sender, EventArgs e) + { + WindowManager wm = new WindowManager(); + wm.StartAboutBox95("Calculator", "Microsoft Calculator", Properties.Resources.WinClassicCalc); + } + + private void Button15_Click(object sender, EventArgs e) + { + + } + + private void CopyCtrlCToolStripMenuItem1_Click(object sender, EventArgs e) + { + txtNumbers.Copy(); + } + + private void PasteCtrlVToolStripMenuItem1_Click(object sender, EventArgs e) + { + string pasteText = Clipboard.GetText(); + string strippedText = ""; + for (int i = 0; i < pasteText.Length; i++) + { + if (char.IsDigit(pasteText[i])) + strippedText += pasteText[i].ToString(); + MessageBox.Show("Test"); + } + if (strippedText!=pasteText) + { + txtNumbers.Text = pasteText; + } + } + + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.resx new file mode 100644 index 0000000..d7509b3 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.resx @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>219, 17</value> + </metadata> + <metadata name="MenuStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>306, 17</value> + </metadata> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs deleted file mode 100644 index 0006026..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs +++ /dev/null @@ -1,193 +0,0 @@ -namespace TimeHACK.OS.Win95.Win95Apps -{ - partial class WinClassicHWCV - { - /// <summary> - /// Required designer variable. - /// </summary> - private System.ComponentModel.IContainer components = null; - - /// <summary> - /// Clean up any resources being used. - /// </summary> - /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// <summary> - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// </summary> - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicHWCV)); - this.program = new System.Windows.Forms.Panel(); - this.Panel2 = new System.Windows.Forms.Panel(); - this.Label3 = new System.Windows.Forms.Label(); - this.Button1 = new System.Windows.Forms.Button(); - this.TextBox2 = new System.Windows.Forms.TextBox(); - this.TextBox1 = new System.Windows.Forms.TextBox(); - this.toprightcorner = new System.Windows.Forms.Panel(); - this.bottomrightcorner = new System.Windows.Forms.Panel(); - this.bottomleftcorner = new System.Windows.Forms.Panel(); - this.topleftcorner = new System.Windows.Forms.Panel(); - this.PictureBox1 = new System.Windows.Forms.PictureBox(); - this.program.SuspendLayout(); - this.Panel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit(); - this.SuspendLayout(); - // - // program - // - this.program.BackColor = System.Drawing.Color.Silver; - this.program.Controls.Add(this.PictureBox1); - this.program.Controls.Add(this.Panel2); - this.program.Controls.Add(this.toprightcorner); - this.program.Controls.Add(this.bottomrightcorner); - this.program.Controls.Add(this.bottomleftcorner); - this.program.Controls.Add(this.topleftcorner); - this.program.Dock = System.Windows.Forms.DockStyle.Fill; - this.program.Location = new System.Drawing.Point(0, 0); - this.program.Name = "program"; - this.program.Size = new System.Drawing.Size(361, 324); - this.program.TabIndex = 11; - // - // Panel2 - // - this.Panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.Panel2.Controls.Add(this.Label3); - this.Panel2.Controls.Add(this.Button1); - this.Panel2.Controls.Add(this.TextBox2); - this.Panel2.Controls.Add(this.TextBox1); - this.Panel2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.Panel2.Location = new System.Drawing.Point(0, 135); - this.Panel2.Name = "Panel2"; - this.Panel2.Size = new System.Drawing.Size(361, 189); - this.Panel2.TabIndex = 9; - // - // Label3 - // - this.Label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.Label3.AutoSize = true; - this.Label3.Location = new System.Drawing.Point(7, 168); - this.Label3.Name = "Label3"; - this.Label3.Size = new System.Drawing.Size(148, 13); - this.Label3.TabIndex = 3; - this.Label3.Text = "Content Found: Time Distortor"; - // - // Button1 - // - this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.Button1.Location = new System.Drawing.Point(278, 145); - this.Button1.Name = "Button1"; - this.Button1.Size = new System.Drawing.Size(75, 20); - this.Button1.TabIndex = 2; - this.Button1.Text = "Display"; - this.Button1.UseVisualStyleBackColor = true; - this.Button1.Click += new System.EventHandler(this.Button1_Click); - // - // TextBox2 - // - this.TextBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.TextBox2.Location = new System.Drawing.Point(12, 144); - this.TextBox2.Name = "TextBox2"; - this.TextBox2.Size = new System.Drawing.Size(226, 20); - this.TextBox2.TabIndex = 1; - // - // TextBox1 - // - this.TextBox1.Anchor = System.Windows.Forms.AnchorStyles.None; - this.TextBox1.BackColor = System.Drawing.Color.Silver; - this.TextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.TextBox1.Location = new System.Drawing.Point(22, 4); - this.TextBox1.Multiline = true; - this.TextBox1.Name = "TextBox1"; - this.TextBox1.ReadOnly = true; - this.TextBox1.Size = new System.Drawing.Size(321, 137); - this.TextBox1.TabIndex = 0; - this.TextBox1.Text = resources.GetString("TextBox1.Text"); - this.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // toprightcorner - // - this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toprightcorner.Location = new System.Drawing.Point(357, 0); - this.toprightcorner.Name = "toprightcorner"; - this.toprightcorner.Size = new System.Drawing.Size(4, 4); - this.toprightcorner.TabIndex = 6; - // - // bottomrightcorner - // - this.bottomrightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bottomrightcorner.Cursor = System.Windows.Forms.Cursors.SizeNWSE; - this.bottomrightcorner.Location = new System.Drawing.Point(357, 320); - this.bottomrightcorner.Name = "bottomrightcorner"; - this.bottomrightcorner.Size = new System.Drawing.Size(4, 4); - this.bottomrightcorner.TabIndex = 4; - // - // bottomleftcorner - // - this.bottomleftcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.bottomleftcorner.Location = new System.Drawing.Point(0, 320); - this.bottomleftcorner.Name = "bottomleftcorner"; - this.bottomleftcorner.Size = new System.Drawing.Size(4, 4); - this.bottomleftcorner.TabIndex = 2; - // - // topleftcorner - // - this.topleftcorner.Location = new System.Drawing.Point(0, 0); - this.topleftcorner.Name = "topleftcorner"; - this.topleftcorner.Size = new System.Drawing.Size(4, 4); - this.topleftcorner.TabIndex = 1; - // - // PictureBox1 - // - this.PictureBox1.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.PictureBox1.Image = global::TimeHACK.Properties.Resources.WinClassicHWCV; - this.PictureBox1.Location = new System.Drawing.Point(5, 24); - this.PictureBox1.Name = "PictureBox1"; - this.PictureBox1.Size = new System.Drawing.Size(351, 107); - this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.PictureBox1.TabIndex = 0; - this.PictureBox1.TabStop = false; - // - // WinClassicHWCV - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.program); - this.Name = "WinClassicHWCV"; - this.Size = new System.Drawing.Size(361, 324); - this.program.ResumeLayout(false); - this.Panel2.ResumeLayout(false); - this.Panel2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - internal System.Windows.Forms.Panel program; - internal System.Windows.Forms.PictureBox PictureBox1; - internal System.Windows.Forms.Panel Panel2; - internal System.Windows.Forms.Label Label3; - internal System.Windows.Forms.Button Button1; - internal System.Windows.Forms.TextBox TextBox2; - internal System.Windows.Forms.TextBox TextBox1; - internal System.Windows.Forms.Panel toprightcorner; - internal System.Windows.Forms.Panel bottomrightcorner; - internal System.Windows.Forms.Panel bottomleftcorner; - internal System.Windows.Forms.Panel topleftcorner; - } -} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs deleted file mode 100644 index 6f9bb07..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace TimeHACK.OS.Win95.Win95Apps -{ - public partial class WinClassicHWCV : UserControl - { - public WinClassicHWCV() - { - InitializeComponent(); - } - - private void Button1_Click(object sender, EventArgs e) - { - if (TextBox1.Text == "www.12padams.com") - { - Label3.Show(); - Label3.Text = "Hidden Content Found: Time Distorter"; - TitleScreen.frm95.hiddenpadamsFound = true; - } - else - { - Label3.Show(); - Label3.Text = "No Content Found"; - } - } - } -} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs index d2cea2e..3184160 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs @@ -1979,13 +1979,13 @@ this.GoButton.UseVisualStyleBackColor = true; this.GoButton.Click += new System.EventHandler(GoButton_Click); // - // addressbar + // _addressbar // this.addressbar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.addressbar.FormattingEnabled = true; this.addressbar.Location = new System.Drawing.Point(58, 9); - this.addressbar.Name = "addressbar"; + this.addressbar.Name = "_addressbar"; this.addressbar.Size = new System.Drawing.Size(812, 21); this.addressbar.TabIndex = 1; this.addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs index 81b8504..a9753b6 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs @@ -114,7 +114,7 @@ namespace TimeHACK.OS.Win95.Win95Apps break; case "www.12padams.com": hidePrograms(); - Story.Hack1.startObjective(); + Story.Hack1.StartObjective(); webBrowser1.DocumentText = resources.GetString("padams_HTML"); break; case "www.microsoft.com/internetexplorer4/welcome": diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs index 17d7c96..bd614eb 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs @@ -320,7 +320,7 @@ // mainText // this.mainText.Dock = System.Windows.Forms.DockStyle.Fill; - this.mainText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.mainText.Font = new System.Drawing.Font("Courier", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainText.Location = new System.Drawing.Point(0, 24); this.mainText.MaxLength = 131072; this.mainText.Multiline = true; diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs index f1920ed..db49c53 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs @@ -20,7 +20,7 @@ namespace TimeHACK.OS.Win95.Win95Apps InitializeComponent(); foreach (ToolStripMenuItem item in menuStrip1.Items) { - item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); + item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular); item.BackColor = Color.Silver; item.BackgroundImage = Properties.Resources.sliversilver; item.BackgroundImageLayout = ImageLayout.Center; @@ -91,8 +91,7 @@ namespace TimeHACK.OS.Win95.Win95Apps try { ActivateSaveFileDialog(".txt"); - String selectedPath; - selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); + string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); MessageBox.Show(selectedPath); if (selectedPath != "") @@ -110,8 +109,7 @@ namespace TimeHACK.OS.Win95.Win95Apps try { ActivateSaveFileDialog(".txt"); - String selectedPath; - selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); + string selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); MessageBox.Show(selectedPath); if (selectedPath != "") diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx index d5494e3..1af7de1 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx @@ -117,7 +117,4 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>17, 17</value> - </metadata> </root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs index 70cd0f9..a754ed0 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs @@ -71,7 +71,7 @@ namespace TimeHACK.OS.Win95.Win95Apps /// Write text to the Terminal. Very similar to the Win32 Console.Write Function. /// </summary> /// <param name="Text"></param> - public void Write(String Text) + public void Write(string Text) { cmdPrompt.AppendText(Text); cmdPrompt.Update(); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx index 1af7de1..9dc3679 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> + <root> <!-- Microsoft ResX Schema diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs index a82ea29..93dcbd2 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.Designer.cs @@ -73,6 +73,7 @@ // // applyButton // + this.applyButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.applyButton.Location = new System.Drawing.Point(209, 245); this.applyButton.Name = "applyButton"; this.applyButton.Size = new System.Drawing.Size(75, 23); @@ -83,6 +84,7 @@ // // cancelButton // + this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Location = new System.Drawing.Point(128, 245); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); @@ -93,6 +95,7 @@ // // okButton // + this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 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/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs index 4e731fe..5534b3c 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicThemePanel.cs @@ -72,13 +72,13 @@ namespace TimeHACK.OS.Win95.Win95Apps SaveSystem.CurrentSave.ThemeName = "dangeranimals"; SaveSystem.currentTheme = new DangerousCreaturesTheme(); TitleScreen.frm95.BackgroundImage = Properties.Resources.DCTheme_BG; - TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.DCTheme_BG, TitleScreen.frm95.desktopicons.Width, TitleScreen.frm95.desktopicons.Height); + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.DCTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Inside Your Computer": SaveSystem.CurrentSave.ThemeName = "insidepc"; SaveSystem.currentTheme = new InsideComputerTheme(); TitleScreen.frm95.BackgroundImage = Properties.Resources.ICTheme_BG; - TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.desktopicons.Width, TitleScreen.frm95.desktopicons.Height); + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; } } @@ -97,13 +97,13 @@ namespace TimeHACK.OS.Win95.Win95Apps SaveSystem.CurrentSave.ThemeName = "dangeranimals"; SaveSystem.currentTheme = new DangerousCreaturesTheme(); TitleScreen.frm95.BackgroundImage = Properties.Resources.DCTheme_BG; - TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.DCTheme_BG, TitleScreen.frm95.desktopicons.Width, TitleScreen.frm95.desktopicons.Height); + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.DCTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; case "Inside Your Computer": SaveSystem.CurrentSave.ThemeName = "insidepc"; SaveSystem.currentTheme = new InsideComputerTheme(); TitleScreen.frm95.BackgroundImage = Properties.Resources.ICTheme_BG; - TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.desktopicons.Width, TitleScreen.frm95.desktopicons.Height); + TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(Properties.Resources.ICTheme_BG, TitleScreen.frm95.Width, TitleScreen.frm95.Height); break; } ParentForm.Close(); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs index e8397b6..8ea1805 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs @@ -153,7 +153,7 @@ private System.Windows.Forms.Label lblYear; private System.Windows.Forms.Label lblTo; private System.Windows.Forms.Button btnGo; - private System.Windows.Forms.Label lblCountDown; + internal System.Windows.Forms.Label lblCountDown; private System.Windows.Forms.Timer countDownTimer; } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs index b0542ba..e2c8d64 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs @@ -1,4 +1,5 @@ using System; +using System.Threading.Tasks; using System.Windows.Forms; using TimeHACK.Engine; using TimeHACK.Engine.Template; @@ -8,9 +9,9 @@ namespace TimeHACK.OS.Win95 public partial class WinClassicTimeDistorter : UserControl { private int _counter; - private Form _action; + private Action _action; - public WinClassicTimeDistorter(string currentYear, string yearToTravel, int counter, Form action = null) + public WinClassicTimeDistorter(string currentYear, string yearToTravel, int counter, Action action = null) { InitializeComponent(); @@ -25,6 +26,9 @@ namespace TimeHACK.OS.Win95 { lblCountDown.Visible = true; btnGo.Enabled = false; + ((WinClassic)ParentForm).closeDisabled = true; + + _action?.Invoke(); countDownTimer.Start(); lblCountDown.Text = $"Preparing to travel... ETA: {_counter.ToString()} seconds"; @@ -37,10 +41,8 @@ namespace TimeHACK.OS.Win95 if (_counter == 0) { countDownTimer.Stop(); - - if (_action != null) - _action.ShowDialog(); } + lblCountDown.Text = $"Preparing to travel... ETA: {_counter.ToString()} seconds"; } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs index 6f4f161..465e375 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs @@ -111,7 +111,6 @@ this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(109, 22); this.newToolStripMenuItem.Text = "New"; - this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); // // toolStripSeparator1 // @@ -123,14 +122,12 @@ this.sendToolStripMenuItem.Name = "sendToolStripMenuItem"; this.sendToolStripMenuItem.Size = new System.Drawing.Size(109, 22); this.sendToolStripMenuItem.Text = "Send..."; - this.sendToolStripMenuItem.Click += new System.EventHandler(this.sendToolStripMenuItem_Click); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(109, 22); this.exitToolStripMenuItem.Text = "Exit"; - this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // editToolStripMenuItem // @@ -152,7 +149,6 @@ this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.undoToolStripMenuItem.Text = "Undo"; - this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); // // toolStripSeparator2 // @@ -164,21 +160,18 @@ this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.cutToolStripMenuItem.Text = "Cut"; - this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); // // copyToolStripMenuItem // this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.copyToolStripMenuItem.Text = "Copy"; - this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // pasteToolStripMenuItem // this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.pasteToolStripMenuItem.Text = "Paste"; - this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); // // toolStripSeparator3 // @@ -190,14 +183,12 @@ this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; this.clearToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.clearToolStripMenuItem.Text = "Clear"; - this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click); // // selectAllToolStripMenuItem // this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22); this.selectAllToolStripMenuItem.Text = "Select All"; - this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); // // viewToolStripMenuItem // @@ -217,7 +208,6 @@ this.toolbarToolStripMenuItem.Name = "toolbarToolStripMenuItem"; this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.toolbarToolStripMenuItem.Text = "Toolbar"; - this.toolbarToolStripMenuItem.Click += new System.EventHandler(this.toolbarToolStripMenuItem_Click); // // formatBarToolStripMenuItem // @@ -227,7 +217,6 @@ this.formatBarToolStripMenuItem.Name = "formatBarToolStripMenuItem"; this.formatBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.formatBarToolStripMenuItem.Text = "Format Bar"; - this.formatBarToolStripMenuItem.Click += new System.EventHandler(this.formatBarToolStripMenuItem_Click); // // statusBarToolStripMenuItem // @@ -237,7 +226,6 @@ this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem"; this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); this.statusBarToolStripMenuItem.Text = "Status Bar"; - this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.statusBarToolStripMenuItem_Click); // // insertToolStripMenuItem // @@ -252,7 +240,6 @@ this.dateTimeToolStripMenuItem.Name = "dateTimeToolStripMenuItem"; this.dateTimeToolStripMenuItem.Size = new System.Drawing.Size(130, 22); this.dateTimeToolStripMenuItem.Text = "Date/Time"; - this.dateTimeToolStripMenuItem.Click += new System.EventHandler(this.dateTimeToolStripMenuItem_Click); // // formatToolStripMenuItem // @@ -268,7 +255,6 @@ this.bulletStyleToolStripMenuItem.Name = "bulletStyleToolStripMenuItem"; this.bulletStyleToolStripMenuItem.Size = new System.Drawing.Size(131, 22); this.bulletStyleToolStripMenuItem.Text = "Bullet style"; - this.bulletStyleToolStripMenuItem.Click += new System.EventHandler(this.bulletStyleToolStripMenuItem_Click); // // helpToolStripMenuItem // @@ -296,7 +282,6 @@ this.aboutWordpadToolStripMenuItem.Name = "aboutWordpadToolStripMenuItem"; this.aboutWordpadToolStripMenuItem.Size = new System.Drawing.Size(159, 22); this.aboutWordpadToolStripMenuItem.Text = "About Wordpad"; - this.aboutWordpadToolStripMenuItem.Click += new System.EventHandler(this.aboutWordpadToolStripMenuItem_Click); // // mainText // @@ -330,7 +315,6 @@ this.btnPaste.Size = new System.Drawing.Size(26, 23); this.btnPaste.TabIndex = 1; this.btnPaste.UseVisualStyleBackColor = true; - this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); // // btnCopy // @@ -341,7 +325,6 @@ this.btnCopy.Size = new System.Drawing.Size(26, 23); this.btnCopy.TabIndex = 1; this.btnCopy.UseVisualStyleBackColor = true; - this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); // // btnCut // @@ -352,7 +335,6 @@ this.btnCut.Size = new System.Drawing.Size(26, 23); this.btnCut.TabIndex = 1; this.btnCut.UseVisualStyleBackColor = true; - this.btnCut.Click += new System.EventHandler(this.btnCut_Click); // // btnNew // @@ -363,7 +345,6 @@ this.btnNew.Size = new System.Drawing.Size(26, 23); this.btnNew.TabIndex = 1; this.btnNew.UseVisualStyleBackColor = true; - this.btnNew.Click += new System.EventHandler(this.btnNew_Click); // // pictureBox1 // @@ -417,7 +398,6 @@ this.comboSize.Size = new System.Drawing.Size(50, 21); this.comboSize.TabIndex = 1; this.comboSize.Text = "12"; - this.comboSize.SelectedIndexChanged += new System.EventHandler(this.comboSize_SelectedIndexChanged); // // comboFont // @@ -427,7 +407,6 @@ this.comboFont.Size = new System.Drawing.Size(145, 21); this.comboFont.TabIndex = 1; this.comboFont.Text = "Arial"; - this.comboFont.SelectedIndexChanged += new System.EventHandler(this.comboFont_SelectedIndexChanged); // // pictureBox2 // @@ -507,7 +486,7 @@ // // WinClassicWordPad // - this.BackColor = System.Drawing.SystemColors.Control; + this.BackColor = System.Drawing.Color.Silver; this.Controls.Add(this.statusBar); this.Controls.Add(this.mainText); this.Controls.Add(this.pnlFormatBar); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs index 4d2fbf1..2453abc 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs @@ -42,6 +42,29 @@ namespace TimeHACK.OS.Win95.Win95Apps comboFont.Items.Add(font.Name); } + + // Handlers + this.clearToolStripMenuItem.Click += (sender, args) => mainText.Text = mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length); + this.pasteToolStripMenuItem.Click += (sender, args) => mainText.Paste(); + this.btnPaste.Click += (sender, args) => mainText.Paste(); + this.btnCopy.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Copy(); }; + this.copyToolStripMenuItem.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Copy(); }; + this.cutToolStripMenuItem.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Cut(); }; + this.btnCut.Click += (sender, args) => { if (mainText.SelectedText.Length >= 0) mainText.Cut(); }; + this.undoToolStripMenuItem.Click += (sender, args) => mainText.Undo(); + this.selectAllToolStripMenuItem.Click += (sender, args) => mainText.SelectAll(); + this.dateTimeToolStripMenuItem.Click += (sender, args) => mainText.AppendText(DateTime.Now.ToString("HH:mm tt dd/MM/yyyy")); + this.toolbarToolStripMenuItem.Click += (sender, args) => pnlToolbar.Visible = toolbarToolStripMenuItem.Checked; + this.formatBarToolStripMenuItem.Click += (sender, args) => pnlFormatBar.Visible = formatBarToolStripMenuItem.Checked; + this.statusBarToolStripMenuItem.Click += (sender, args) => statusBar.Visible = statusBarToolStripMenuItem.Checked; + this.exitToolStripMenuItem.Click += (sender, args) => ((Form)this.TopLevelControl).Close(); + this.aboutWordpadToolStripMenuItem.Click += (sender, args) => wm.StartAboutBox95("Wordpad", "Microsoft Wordpad", Properties.Resources.Win95IconWordpad); + this.btnNew.Click += (sender, args) => mainText.Text = ""; + this.newToolStripMenuItem.Click += (sender, args) => mainText.Text = ""; + this.sendToolStripMenuItem.Click += (sender, args) => wm.StartInfobox95("Wordpad", "An error occured opening send option.", null); + this.bulletStyleToolStripMenuItem.Click += (sender, args) => mainText.SelectionBullet = bulletStyleToolStripMenuItem.Checked; + this.comboFont.SelectedIndexChanged += (sender, args) => SetSelectedTextFont(comboFont.Text); + this.comboSize.SelectedIndexChanged += (sender, args) => SetSelectedTextSize(comboSize.Text); } #region Format_Buttons @@ -96,139 +119,7 @@ namespace TimeHACK.OS.Win95.Win95Apps #endregion #region Designer-Stuff - private void dateTimeToolStripMenuItem_Click(object sender, EventArgs e) - { - InsertDateTime(); - } - private void toolbarToolStripMenuItem_Click(object sender, EventArgs e) - { - pnlToolbar.Visible = toolbarToolStripMenuItem.Checked; - } - - private void formatBarToolStripMenuItem_Click(object sender, EventArgs e) - { - pnlFormatBar.Visible = formatBarToolStripMenuItem.Checked; - } - - private void statusBarToolStripMenuItem_Click(object sender, EventArgs e) - { - statusBar.Visible = statusBarToolStripMenuItem.Checked; - } - - private void exitToolStripMenuItem_Click(object sender, EventArgs e) - { - ((Form)this.TopLevelControl).Close(); - } - - private void aboutWordpadToolStripMenuItem_Click(object sender, EventArgs e) - { - wm.StartAboutBox95("Wordpad", "Microsoft Wordpad", Properties.Resources.Win95IconWordpad); - } - - private void newToolStripMenuItem_Click(object sender, EventArgs e) - { - NewFile(); - } - - private void btnNew_Click(object sender, EventArgs e) - { - NewFile(); - } - - private void sendToolStripMenuItem_Click(object sender, EventArgs e) - { - wm.StartInfobox95("Wordpad", "An error occured opening send option.", null); - } - - void Cut() - { - if (mainText.SelectedText.Length >= 0) { - mainText.Cut(); - } - } - - void Copy() - { - if (mainText.SelectedText.Length >= 0) - { - mainText.Copy(); - } - } - - void Paste() - { - mainText.Paste(); - } - - void Clear() - { - mainText.Text = mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length); - } - - void SelectAll() - { - mainText.SelectAll(); - } - - private void undoToolStripMenuItem_Click(object sender, EventArgs e) - { - Undo(); - } - - private void cutToolStripMenuItem_Click(object sender, EventArgs e) - { - Cut(); - } - - private void copyToolStripMenuItem_Click(object sender, EventArgs e) - { - Copy(); - } - - private void pasteToolStripMenuItem_Click(object sender, EventArgs e) - { - Paste(); - } - - private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) - { - SelectAll(); - } - - private void clearToolStripMenuItem_Click(object sender, EventArgs e) - { - Clear(); - } - - private void btnCut_Click(object sender, EventArgs e) - { - Cut(); - } - - private void btnCopy_Click(object sender, EventArgs e) - { - Copy(); - } - - private void btnPaste_Click(object sender, EventArgs e) - { - Paste(); - } - - private void bulletStyleToolStripMenuItem_Click(object sender, EventArgs e) - { - mainText.SelectionBullet = bulletStyleToolStripMenuItem.Checked; - } - - private void comboFont_SelectedIndexChanged(object sender, EventArgs e) - { - SetSelectedTextFont(comboFont.Text); - } - - private void comboSize_SelectedIndexChanged(object sender, EventArgs e) - { - SetSelectedTextSize(comboSize.Text); - } + private void btnBold_MouseEnter(object sender, EventArgs e) { lblStatus.Text = "Makes the selected text Bold. (toggle)"; @@ -260,36 +151,20 @@ namespace TimeHACK.OS.Win95.Win95Apps } #endregion - void NewFile() - { - mainText.Text = ""; - } - - void Undo() - { - mainText.Undo(); - } - - void InsertDateTime() - { - string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy"); - mainText.AppendText(DateTime); - } - // Things for Cut/Copy/Paste have been placed in the "Designer-Stuff" region! - void SetSelectedTextFont(String font) + void SetSelectedTextFont(string font) { - // The next two lines convert a String to a Font + // The next two lines convert a string to a Font var cvt = new FontConverter(); Font f = cvt.ConvertFromString(font) as Font; mainText.SelectionFont = f; } - void SetSelectedTextSize(String size) + void SetSelectedTextSize(string size) { - // The next few lines will ATTEMPT to convert a String to an Integer + // The next few lines will ATTEMPT to convert a string to an Integer int SizeInt = Convert.ToInt32(size); mainText.SelectionFont = new Font(mainText.SelectionFont.FontFamily, SizeInt, mainText.SelectionFont.Style); @@ -300,18 +175,9 @@ namespace TimeHACK.OS.Win95.Win95Apps FontStyle Bold = FontStyle.Regular; FontStyle Italic = FontStyle.Regular; FontStyle Underline = FontStyle.Regular; - if (doBold == true) - { - Bold = FontStyle.Bold; - } - if (doItalic == true) - { - Italic = FontStyle.Italic; - } - if (doUnderline == true) - { - Underline = FontStyle.Underline; - } + if (doBold == true) Bold = FontStyle.Bold; + if (doItalic == true) Italic = FontStyle.Italic; + if (doUnderline == true)Underline = FontStyle.Underline; mainText.SelectionFont = new Font(mainText.SelectionFont.FontFamily, mainText.SelectionFont.Size, Bold | Italic | Underline); } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx index 6dff4e6..1af7de1 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx @@ -117,7 +117,4 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <metadata name="topmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>17, 17</value> - </metadata> </root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95TaskBarItem.Designer.cs b/TimeHACK.Main/OS/Win95/Win95TaskBarItem.Designer.cs index c0977f2..f07c5c0 100644 --- a/TimeHACK.Main/OS/Win95/Win95TaskBarItem.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95TaskBarItem.Designer.cs @@ -40,10 +40,10 @@ // this.progName.AutoSize = true; this.progName.BackColor = System.Drawing.Color.Transparent; - this.progName.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.progName.Location = new System.Drawing.Point(18, 2); + this.progName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.progName.Location = new System.Drawing.Point(21, 2); this.progName.Name = "progName"; - this.progName.Size = new System.Drawing.Size(60, 24); + this.progName.Size = new System.Drawing.Size(35, 13); this.progName.TabIndex = 1; this.progName.Text = "label1"; this.progName.Click += new System.EventHandler(this.Win95TaskBarItem_Click); @@ -51,7 +51,7 @@ // progPic // this.progPic.BackColor = System.Drawing.Color.Transparent; - this.progPic.Location = new System.Drawing.Point(3, 3); + this.progPic.Location = new System.Drawing.Point(4, 3); this.progPic.Name = "progPic"; this.progPic.Size = new System.Drawing.Size(16, 16); this.progPic.TabIndex = 0; diff --git a/TimeHACK.Main/OS/Win95/Win95TaskBarItem.resx b/TimeHACK.Main/OS/Win95/Win95TaskBarItem.resx index bdcd158..bc8896d 100644 --- a/TimeHACK.Main/OS/Win95/Win95TaskBarItem.resx +++ b/TimeHACK.Main/OS/Win95/Win95TaskBarItem.resx @@ -121,7 +121,7 @@ <data name="panel1.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAAKAAAAAWCAIAAADIPgASAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAABXSURBVGhD7dGx + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAABXSURBVGhD7dGx EcAwDAMxja7RslniVN7hD2jI/uela44zD0W7K3CZwHECxwkcJ3CcwHECxwkcJ3CcwHECxwkcJ3CcwHEC xwkcJ3CcwHE38Hkk/YEpm/kAYtNZ26573kYAAAAASUVORK5CYII= </value> diff --git a/TimeHACK.Main/OS/Win98/Win98.Designer.cs b/TimeHACK.Main/OS/Win98/Win98.Designer.cs index d07670b..3762187 100644 --- a/TimeHACK.Main/OS/Win98/Win98.Designer.cs +++ b/TimeHACK.Main/OS/Win98/Win98.Designer.cs @@ -89,7 +89,6 @@ namespace TimeHACK.OS.Win98 this.WebChatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.TimeDistorterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.DocumentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.windowManagerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.downloaderTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.installerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.storyTest1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -730,7 +729,6 @@ namespace TimeHACK.OS.Win98 this.DocumentsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.DocumentsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; this.DocumentsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.windowManagerTestToolStripMenuItem, this.downloaderTestToolStripMenuItem, this.installerTestToolStripMenuItem, this.storyTest1ToolStripMenuItem}); @@ -742,15 +740,6 @@ namespace TimeHACK.OS.Win98 this.DocumentsToolStripMenuItem.Size = new System.Drawing.Size(138, 36); this.DocumentsToolStripMenuItem.Text = "Documents"; // - // windowManagerTestToolStripMenuItem - // - this.windowManagerTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.windowManagerTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("windowManagerTestToolStripMenuItem.BackgroundImage"))); - this.windowManagerTestToolStripMenuItem.Name = "windowManagerTestToolStripMenuItem"; - this.windowManagerTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); - this.windowManagerTestToolStripMenuItem.Text = "WindowManagerTest"; - this.windowManagerTestToolStripMenuItem.Click += new System.EventHandler(this.windowManagerTestToolStripMenuItem_Click); - // // downloaderTestToolStripMenuItem // this.downloaderTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; @@ -1261,7 +1250,6 @@ namespace TimeHACK.OS.Win98 internal System.Windows.Forms.ToolStripMenuItem MicrosoftDataLinkToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem PropertiesToolStripMenuItem1; internal System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95)); - private System.Windows.Forms.ToolStripMenuItem windowManagerTestToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem downloaderTestToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem installerTestToolStripMenuItem; private System.Windows.Forms.Panel taskbarItems; diff --git a/TimeHACK.Main/OS/Win98/Win98.cs b/TimeHACK.Main/OS/Win98/Win98.cs index 175719a..d65a9ed 100644 --- a/TimeHACK.Main/OS/Win98/Win98.cs +++ b/TimeHACK.Main/OS/Win98/Win98.cs @@ -8,7 +8,6 @@ using TimeHACK.Engine; using TimeHACK.Engine.Template; using TimeHACK.Engine.Template.Taskbars; using TimeHACK.OS.Win95.Win95Apps; -using TimeHACK.WinClassicForms; using TimeHACK.OS.Win95.Win95Apps.Story; namespace TimeHACK.OS.Win98 @@ -195,15 +194,6 @@ namespace TimeHACK.OS.Win98 app.BringToFront(); startmenu.Hide(); } - private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e) - { - TestApp test = new TestApp(); - WinClassic app = wm.StartWin95(test, "TestApp", null, true, true); - AddTaskBarItem(app, app.Tag.ToString(), "TestApp", null); - app.BringToFront(); - startmenu.Hide(); - } - private void downloaderTestToolStripMenuItem_Click(object sender, EventArgs e) { WinClassicDownloader opendownload = new WinClassicDownloader(); @@ -271,7 +261,7 @@ namespace TimeHACK.OS.Win98 private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info); + WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(string title, string text, Image erroricon)!", Properties.Resources.Win95Info); app.BringToFront(); startmenu.Hide(); @@ -366,7 +356,7 @@ namespace TimeHACK.OS.Win98 private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e) { - Hack1.startObjective(); + Hack1.StartObjective(); } private void temp_for_std(object sender, EventArgs e) |
