From 14824f235750042aec631fa8ed50022458c1115b Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 10 Jul 2017 19:28:42 -0400 Subject: removed testapp --- TimeHACK.Main/OS/Win95/Win95.Designer.cs | 12 --- TimeHACK.Main/OS/Win95/Win95.cs | 10 -- .../OS/Win95/Win95Apps/TestApp.Designer.cs | 61 ----------- TimeHACK.Main/OS/Win95/Win95Apps/TestApp.cs | 13 --- TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx | 120 --------------------- TimeHACK.Main/OS/Win98/Win98.Designer.cs | 12 --- TimeHACK.Main/OS/Win98/Win98.cs | 10 -- TimeHACK.Main/TimeHACK.Main.csproj | 9 -- 8 files changed, 247 deletions(-) delete mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs delete mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/TestApp.cs delete mode 100644 TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index 46485ee..2639442 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -89,7 +89,6 @@ namespace TimeHACK.OS.Win95 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(); @@ -743,7 +742,6 @@ 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}); @@ -755,15 +753,6 @@ 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; @@ -1275,7 +1264,6 @@ 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; diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index dc0368e..6090c0f 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.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; using static TimeHACK.Engine.SaveSystem; namespace TimeHACK.OS.Win95 @@ -213,15 +212,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(); diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs deleted file mode 100644 index 2e9742b..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs +++ /dev/null @@ -1,61 +0,0 @@ -namespace TimeHACK.WinClassicForms -{ - partial class TestApp - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // label1 - // - 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!"; - // - // TestApp - // - 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.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Label label1; - } -} 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/TestApp.resx b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx deleted file mode 100644 index 1af7de1..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file 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..fa3fbfa 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(); diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 1590896..605b079 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -221,12 +221,6 @@ FRMWinClassicAddressBookNewContact.cs - - UserControl - - - TestApp.cs - UserControl @@ -354,9 +348,6 @@ FRMWinClassicAddressBookNewContact.cs - - TestApp.cs - WebChat1998.cs -- cgit v1.2.3 From 37c3a34124a8906c558764aac41906017293c91a Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 10 Jul 2017 19:32:35 -0400 Subject: fixed a thing --- TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx | 1 + 1 file changed, 1 insertion(+) 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 @@  +