diff --git a/TimeHACK.Engine/Properties/Resources.Designer.cs b/TimeHACK.Engine/Properties/Resources.Designer.cs index de94a30..a5a90ba 100644 --- a/TimeHACK.Engine/Properties/Resources.Designer.cs +++ b/TimeHACK.Engine/Properties/Resources.Designer.cs @@ -100,6 +100,16 @@ internal static System.Drawing.Bitmap LeftSide { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap nullIcon { + get { + object obj = ResourceManager.GetObject("nullIcon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/TimeHACK.Engine/Properties/Resources.resx b/TimeHACK.Engine/Properties/Resources.resx index f63b0e2..ff58fbd 100644 --- a/TimeHACK.Engine/Properties/Resources.resx +++ b/TimeHACK.Engine/Properties/Resources.resx @@ -130,6 +130,9 @@ ..\resources\winclassic\window\leftside.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\resources\winclassic\window\nullicon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\resources\winclassic\window\rightside.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a diff --git a/TimeHACK.Engine/Resources/WinClassic/Window/nullIcon.png b/TimeHACK.Engine/Resources/WinClassic/Window/nullIcon.png new file mode 100644 index 0000000..a8bbc1d Binary files /dev/null and b/TimeHACK.Engine/Resources/WinClassic/Window/nullIcon.png differ diff --git a/TimeHACK.Engine/Resources/WinClassic/desktop.ini b/TimeHACK.Engine/Resources/WinClassic/desktop.ini deleted file mode 100644 index 00ae697..0000000 --- a/TimeHACK.Engine/Resources/WinClassic/desktop.ini +++ /dev/null @@ -1,3 +0,0 @@ -[LocalizedFileNames] -settings pic start.png=@settings pic start.png,0 -windows 95 sidemenustart.bmp=@windows 95 sidemenustart.bmp,0 diff --git a/TimeHACK.Engine/Template/WinClassic.Designer.cs b/TimeHACK.Engine/Template/WinClassic.Designer.cs index 7df96b7..6fc4a78 100644 --- a/TimeHACK.Engine/Template/WinClassic.Designer.cs +++ b/TimeHACK.Engine/Template/WinClassic.Designer.cs @@ -44,11 +44,13 @@ private void InitializeComponent() this.bottom = new System.Windows.Forms.Panel(); this.right = new System.Windows.Forms.Panel(); this.top = new System.Windows.Forms.Panel(); + this.programIcon = new System.Windows.Forms.PictureBox(); this.program.SuspendLayout(); this.programtopbar.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.closebutton)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.programIcon)).BeginInit(); this.SuspendLayout(); // // program @@ -81,6 +83,7 @@ private void InitializeComponent() // programtopbar // this.programtopbar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(170))))); + this.programtopbar.Controls.Add(this.programIcon); this.programtopbar.Controls.Add(this.maximizebutton); this.programtopbar.Controls.Add(this.minimizebutton); this.programtopbar.Controls.Add(this.Title); @@ -90,6 +93,7 @@ private void InitializeComponent() this.programtopbar.Name = "programtopbar"; this.programtopbar.Size = new System.Drawing.Size(292, 18); this.programtopbar.TabIndex = 0; + this.programtopbar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.programtopbar_drag); // // maximizebutton // @@ -100,6 +104,7 @@ private void InitializeComponent() this.maximizebutton.Size = new System.Drawing.Size(16, 14); this.maximizebutton.TabIndex = 6; this.maximizebutton.TabStop = false; + this.maximizebutton.Click += new System.EventHandler(this.maximizebutton_Click); // // minimizebutton // @@ -116,7 +121,7 @@ private void InitializeComponent() this.Title.AutoSize = true; this.Title.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Title.ForeColor = System.Drawing.Color.White; - this.Title.Location = new System.Drawing.Point(3, 2); + this.Title.Location = new System.Drawing.Point(23, 3); this.Title.Name = "Title"; this.Title.Size = new System.Drawing.Size(99, 13); this.Title.TabIndex = 3; @@ -131,6 +136,7 @@ private void InitializeComponent() this.closebutton.Size = new System.Drawing.Size(16, 14); this.closebutton.TabIndex = 4; this.closebutton.TabStop = false; + this.closebutton.Click += new System.EventHandler(this.closebutton_Click); // // toprightcorner // @@ -208,6 +214,17 @@ private void InitializeComponent() this.top.Size = new System.Drawing.Size(300, 4); this.top.TabIndex = 8; // + // programIcon + // + this.programIcon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.programIcon.ErrorImage = null; + this.programIcon.InitialImage = null; + this.programIcon.Location = new System.Drawing.Point(2, 1); + this.programIcon.Name = "programIcon"; + this.programIcon.Size = new System.Drawing.Size(16, 16); + this.programIcon.TabIndex = 0; + this.programIcon.TabStop = false; + // // WinClassic // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -223,6 +240,7 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.closebutton)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.programIcon)).EndInit(); this.ResumeLayout(false); } @@ -230,10 +248,7 @@ private void InitializeComponent() #endregion internal System.Windows.Forms.Panel program; - private System.Windows.Forms.Panel programContent; internal System.Windows.Forms.Panel programtopbar; - internal System.Windows.Forms.PictureBox maximizebutton; - internal System.Windows.Forms.PictureBox minimizebutton; internal System.Windows.Forms.Label Title; internal System.Windows.Forms.PictureBox closebutton; internal System.Windows.Forms.Panel toprightcorner; @@ -244,5 +259,9 @@ private void InitializeComponent() internal System.Windows.Forms.Panel bottom; internal System.Windows.Forms.Panel right; internal System.Windows.Forms.Panel top; + public System.Windows.Forms.Panel programContent; + public System.Windows.Forms.PictureBox maximizebutton; + public System.Windows.Forms.PictureBox minimizebutton; + public System.Windows.Forms.PictureBox programIcon; } } \ No newline at end of file diff --git a/TimeHACK.Engine/Template/WinClassic.cs b/TimeHACK.Engine/Template/WinClassic.cs index aa72263..1bd11e3 100644 --- a/TimeHACK.Engine/Template/WinClassic.cs +++ b/TimeHACK.Engine/Template/WinClassic.cs @@ -1,11 +1,5 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Runtime.InteropServices; using System.Windows.Forms; namespace TimeHACK.Engine.Template @@ -16,5 +10,63 @@ public WinClassic() { InitializeComponent(); } + + public const int WM_NCLBUTTONDOWN = 0xA1; + public const int HT_CAPTION = 0x2; + + [DllImportAttribute("user32.dll")] + public static extern int SendMessage(IntPtr hWnd, + int Msg, int wParam, int lParam); + [DllImportAttribute("user32.dll")] + public static extern bool ReleaseCapture(); + + private void programtopbar_drag(object sender, MouseEventArgs e) + { + if (e.Button == MouseButtons.Left) + { + ReleaseCapture(); + SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0); + } + } + + private void closebutton_Click(object sender, EventArgs e) + { + this.Close(); + } + + public Boolean max = false; + + private void maximizebutton_Click(object sender, EventArgs e) + { + if (max == false) + { + this.right.Hide(); + this.left.Hide(); + this.bottom.Hide(); + this.top.Hide(); + this.bottomleftcorner.Hide(); + this.bottomrightcorner.Hide(); + this.topleftcorner.Hide(); + this.toprightcorner.Hide(); + this.Dock = DockStyle.Fill; + max = true; + maximizebutton.Image = Properties.Resources.WinClassicRestore; + } + else + { + this.right.Show(); + this.left.Show(); + this.bottom.Show(); + this.top.Show(); + this.bottomleftcorner.Show(); + this.bottomrightcorner.Show(); + this.topleftcorner.Show(); + this.toprightcorner.Show(); + this.Dock = DockStyle.None; + max = false; + maximizebutton.Image = Properties.Resources.WinClassicMax; + } + + } } } diff --git a/TimeHACK.Engine/TimeHACK.Engine.csproj b/TimeHACK.Engine/TimeHACK.Engine.csproj index c691b41..840be1f 100644 --- a/TimeHACK.Engine/TimeHACK.Engine.csproj +++ b/TimeHACK.Engine/TimeHACK.Engine.csproj @@ -71,6 +71,7 @@ + @@ -80,8 +81,6 @@ - - - + \ No newline at end of file diff --git a/TimeHACK.Engine/WindowManager.cs b/TimeHACK.Engine/WindowManager.cs index 540dddd..fc9bd94 100644 --- a/TimeHACK.Engine/WindowManager.cs +++ b/TimeHACK.Engine/WindowManager.cs @@ -1,20 +1,44 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using TimeHACK.Engine.Template; +using System.Windows.Forms; namespace TimeHACK.Engine { - class WindowManager + public class WindowManager { - private void startWinClassic(String title, int width, int height) + public void startWinClassic(UserControl content, String title, PictureBox icon, Boolean MaxButton, Boolean MinButton) { + // Setup Window WinClassic app = new WinClassic(); app.Title.Text = title; - app.Width = width + 8; - app.Height = height + 26; + app.Width = content.Width + 8; + app.Height = content.Height + 26; + content.Parent = app.programContent; + content.BringToFront(); + content.Dock = DockStyle.Fill; + if (icon == null) + { + icon = app.programIcon; + icon.Image = Properties.Resources.nullIcon; + } + app.programIcon.Image = icon.Image; + + // Check if Max button is enabled + if (MaxButton == false) + { + app.maximizebutton.Visible = false; + } + + // Check if Min button is enabled + if (MinButton == false) + { + app.minimizebutton.Visible = false; + } + + // Show the app + app.Show(); + + } } -} +} \ No newline at end of file diff --git a/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.dll b/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.dll index 9c859e2..9e8c504 100644 Binary files a/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.dll and b/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.dll differ diff --git a/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.pdb b/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.pdb index a92c614..b0d17dc 100644 Binary files a/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.pdb and b/TimeHACK.Engine/bin/Debug/TimeHACK.Engine.pdb differ diff --git a/TimeHACK.Engine/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/TimeHACK.Engine/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 2bcd07c..6e8cfad 100644 Binary files a/TimeHACK.Engine/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/TimeHACK.Engine/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.Properties.Resources.resources b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.Properties.Resources.resources index f78bd37..9629cd7 100644 Binary files a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.Properties.Resources.resources and b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.Properties.Resources.resources differ diff --git a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csproj.GenerateResource.Cache b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csproj.GenerateResource.Cache index 13bac28..360f1c8 100644 Binary files a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csproj.GenerateResource.Cache and b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csproj.GenerateResource.Cache differ diff --git a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csprojResolveAssemblyReference.cache b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csprojResolveAssemblyReference.cache index d835909..1de83d9 100644 Binary files a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csprojResolveAssemblyReference.cache and b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.csprojResolveAssemblyReference.cache differ diff --git a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.dll b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.dll index 9c859e2..9e8c504 100644 Binary files a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.dll and b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.dll differ diff --git a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.pdb b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.pdb index a92c614..b0d17dc 100644 Binary files a/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.pdb and b/TimeHACK.Engine/obj/Debug/TimeHACK.Engine.pdb differ diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index 91b102d..f93ea6d 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -132,12 +132,6 @@ WinClassicTemplate.cs - - Form - - - WinClassicTerminal.cs - Form @@ -158,18 +152,12 @@ TitleScreen.cs - - Form - - - WinClassicNotepad.cs - + + TestApp.cs + WinClassicIE4.cs - - WinClassicTerminal.cs - Windows95.cs @@ -181,9 +169,6 @@ TitleScreen.cs - - WinClassicNotepad.cs - WinClassicTemplate.cs @@ -223,7 +208,6 @@ - diff --git a/TimeHACK.Main/WinClassicForms/TestApp.Designer.cs b/TimeHACK.Main/WinClassicForms/TestApp.Designer.cs index 0ae4d08..2e9742b 100644 --- a/TimeHACK.Main/WinClassicForms/TestApp.Designer.cs +++ b/TimeHACK.Main/WinClassicForms/TestApp.Designer.cs @@ -28,10 +28,34 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - components = new System.ComponentModel.Container(); + 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/WinClassicForms/TestApp.cs b/TimeHACK.Main/WinClassicForms/TestApp.cs index 4a5d762..0c2e6a8 100644 --- a/TimeHACK.Main/WinClassicForms/TestApp.cs +++ b/TimeHACK.Main/WinClassicForms/TestApp.cs @@ -1,13 +1,4 @@ -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 TimeHACK.Engine; -using System.Windows.Forms; +using System.Windows.Forms; namespace TimeHACK.WinClassicForms { @@ -17,9 +8,6 @@ public TestApp() { InitializeComponent(); } - - - } } diff --git a/TimeHACK.Main/WinClassicForms/WinClassicTerminal.resx b/TimeHACK.Main/WinClassicForms/TestApp.resx similarity index 68% rename from TimeHACK.Main/WinClassicForms/WinClassicTerminal.resx rename to TimeHACK.Main/WinClassicForms/TestApp.resx index c652f7a..1af7de1 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicTerminal.resx +++ b/TimeHACK.Main/WinClassicForms/TestApp.resx @@ -117,47 +117,4 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /DQQtXX1MTAwAAA0WgZJrWm8iAAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /PT///+B5OHjpwFB1wn9nx9JYgAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAaSURBVBhXYzh8 - /DQcgTj/YQDKQZEBcY6fBgAaSCiZEc9BxAAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /PT///+BJBBhcNq6+iCIAQEYGACcHRsocGQwIQAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQQtXX1MQABCgdIQRCIgwAMDABm/hFrLt/K7gAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQEMQDBfzBo6+oDcSDCGBwGBgAJoRsoKGRD1QAAAABJRU5ErkJggg== - - \ No newline at end of file diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs index 85f3555..4efe87a 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs @@ -311,19 +311,10 @@ private void InitializeComponent() this.ToolStripMenuItem93 = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem94 = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItem95 = new System.Windows.Forms.ToolStripMenuItem(); - this.programtopbar = new System.Windows.Forms.Panel(); - this.maximizebutton = new System.Windows.Forms.PictureBox(); - this.minimizebutton = new System.Windows.Forms.PictureBox(); - this.programname = new System.Windows.Forms.Label(); - this.closebutton = new System.Windows.Forms.PictureBox(); 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.left = new System.Windows.Forms.Panel(); - this.bottom = new System.Windows.Forms.Panel(); - this.right = new System.Windows.Forms.Panel(); - this.top = new System.Windows.Forms.Panel(); this.program.SuspendLayout(); this.browsingarea.SuspendLayout(); this.padamsmain.SuspendLayout(); @@ -373,10 +364,6 @@ private void InitializeComponent() this.Panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit(); this.MenuStrip3.SuspendLayout(); - this.programtopbar.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).BeginInit(); this.SuspendLayout(); // // program @@ -387,15 +374,10 @@ private void InitializeComponent() this.program.Controls.Add(this.Panel1); this.program.Controls.Add(this.PictureBox1); this.program.Controls.Add(this.MenuStrip3); - this.program.Controls.Add(this.programtopbar); 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.Controls.Add(this.left); - this.program.Controls.Add(this.bottom); - this.program.Controls.Add(this.right); - this.program.Controls.Add(this.top); this.program.Dock = System.Windows.Forms.DockStyle.Fill; this.program.Location = new System.Drawing.Point(0, 0); this.program.Name = "program"; @@ -418,9 +400,9 @@ private void InitializeComponent() this.browsingarea.Controls.Add(this.googlemain); this.browsingarea.Controls.Add(this.googleprototype); this.browsingarea.Dock = System.Windows.Forms.DockStyle.Fill; - this.browsingarea.Location = new System.Drawing.Point(4, 133); + this.browsingarea.Location = new System.Drawing.Point(0, 111); this.browsingarea.Name = "browsingarea"; - this.browsingarea.Size = new System.Drawing.Size(951, 457); + this.browsingarea.Size = new System.Drawing.Size(959, 483); this.browsingarea.TabIndex = 9; // // webBrowser1 @@ -746,7 +728,7 @@ private void InitializeComponent() this.Panel13.Controls.Add(this.win95background); this.Panel13.Location = new System.Drawing.Point(46, 74); this.Panel13.Name = "Panel13"; - this.Panel13.Size = new System.Drawing.Size(6152, 118); + this.Panel13.Size = new System.Drawing.Size(6554, 118); this.Panel13.TabIndex = 2; // // Previewimage @@ -757,7 +739,7 @@ private void InitializeComponent() this.Previewimage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Previewimage.Location = new System.Drawing.Point(246, 6); this.Previewimage.Name = "Previewimage"; - this.Previewimage.Size = new System.Drawing.Size(4735, 118); + this.Previewimage.Size = new System.Drawing.Size(5137, 118); this.Previewimage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.Previewimage.TabIndex = 1; this.Previewimage.TabStop = false; @@ -1895,7 +1877,7 @@ private void InitializeComponent() this.Label42.Anchor = System.Windows.Forms.AnchorStyles.Top; this.Label42.AutoSize = true; this.Label42.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label42.Location = new System.Drawing.Point(923, 9); + this.Label42.Location = new System.Drawing.Point(990, 9); this.Label42.Name = "Label42"; this.Label42.Size = new System.Drawing.Size(263, 18); this.Label42.TabIndex = 5; @@ -1906,7 +1888,7 @@ private void InitializeComponent() this.Label41.Anchor = System.Windows.Forms.AnchorStyles.Top; this.Label41.AutoSize = true; this.Label41.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label41.Location = new System.Drawing.Point(1023, 33); + this.Label41.Location = new System.Drawing.Point(1090, 33); this.Label41.Name = "Label41"; this.Label41.Size = new System.Drawing.Size(71, 24); this.Label41.TabIndex = 4; @@ -1921,14 +1903,14 @@ private void InitializeComponent() this.TextBox8.Multiline = true; this.TextBox8.Name = "TextBox8"; this.TextBox8.ReadOnly = true; - this.TextBox8.Size = new System.Drawing.Size(172, 5223); + this.TextBox8.Size = new System.Drawing.Size(172, 5574); this.TextBox8.TabIndex = 3; this.TextBox8.Text = resources.GetString("TextBox8.Text"); // // PictureBox11 // this.PictureBox11.Anchor = System.Windows.Forms.AnchorStyles.Top; - this.PictureBox11.Location = new System.Drawing.Point(893, 60); + this.PictureBox11.Location = new System.Drawing.Point(960, 60); this.PictureBox11.Name = "PictureBox11"; this.PictureBox11.Size = new System.Drawing.Size(337, 386); this.PictureBox11.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; @@ -2220,16 +2202,16 @@ private void InitializeComponent() 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(4, 95); + this.Panel14.Location = new System.Drawing.Point(0, 73); this.Panel14.Name = "Panel14"; - this.Panel14.Size = new System.Drawing.Size(951, 38); + this.Panel14.Size = new System.Drawing.Size(959, 38); this.Panel14.TabIndex = 13; // // Button8 // this.Button8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.Button8.Location = new System.Drawing.Point(890, 5); + this.Button8.Location = new System.Drawing.Point(898, 5); this.Button8.Name = "Button8"; this.Button8.Size = new System.Drawing.Size(55, 28); this.Button8.TabIndex = 2; @@ -2244,7 +2226,7 @@ private void InitializeComponent() this.addressbar.FormattingEnabled = true; this.addressbar.Location = new System.Drawing.Point(58, 9); this.addressbar.Name = "addressbar"; - this.addressbar.Size = new System.Drawing.Size(804, 21); + this.addressbar.Size = new System.Drawing.Size(812, 21); this.addressbar.TabIndex = 1; this.addressbar.Text = "www.microsoft.com/internetexplorer4/welcome"; // @@ -2272,9 +2254,9 @@ private void InitializeComponent() this.Panel1.Controls.Add(this.Button2); this.Panel1.Controls.Add(this.Button1); this.Panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.Panel1.Location = new System.Drawing.Point(4, 46); + this.Panel1.Location = new System.Drawing.Point(0, 24); this.Panel1.Name = "Panel1"; - this.Panel1.Size = new System.Drawing.Size(951, 49); + this.Panel1.Size = new System.Drawing.Size(959, 49); this.Panel1.TabIndex = 7; // // Button30 @@ -2447,9 +2429,9 @@ private void InitializeComponent() this.ToolStripMenuItem78, this.ToolStripMenuItem73, this.ToolStripMenuItem88}); - this.MenuStrip3.Location = new System.Drawing.Point(4, 22); + this.MenuStrip3.Location = new System.Drawing.Point(0, 0); this.MenuStrip3.Name = "MenuStrip3"; - this.MenuStrip3.Size = new System.Drawing.Size(951, 24); + this.MenuStrip3.Size = new System.Drawing.Size(959, 24); this.MenuStrip3.TabIndex = 11; this.MenuStrip3.Text = "MenuStrip1"; // @@ -3217,62 +3199,6 @@ private void InitializeComponent() this.ToolStripMenuItem95.Size = new System.Drawing.Size(196, 22); this.ToolStripMenuItem95.Text = "Send Feedback"; // - // programtopbar - // - this.programtopbar.BackColor = System.Drawing.Color.DarkBlue; - this.programtopbar.Controls.Add(this.maximizebutton); - this.programtopbar.Controls.Add(this.minimizebutton); - this.programtopbar.Controls.Add(this.programname); - this.programtopbar.Controls.Add(this.closebutton); - this.programtopbar.Dock = System.Windows.Forms.DockStyle.Top; - this.programtopbar.Location = new System.Drawing.Point(4, 4); - this.programtopbar.Name = "programtopbar"; - this.programtopbar.Size = new System.Drawing.Size(951, 18); - this.programtopbar.TabIndex = 0; - this.programtopbar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.programtopbar_drag); - // - // maximizebutton - // - this.maximizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.maximizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMax; - this.maximizebutton.Location = new System.Drawing.Point(915, 2); - this.maximizebutton.Name = "maximizebutton"; - this.maximizebutton.Size = new System.Drawing.Size(16, 14); - this.maximizebutton.TabIndex = 6; - this.maximizebutton.TabStop = false; - // - // minimizebutton - // - this.minimizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.minimizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMin; - this.minimizebutton.Location = new System.Drawing.Point(899, 2); - this.minimizebutton.Name = "minimizebutton"; - this.minimizebutton.Size = new System.Drawing.Size(16, 14); - this.minimizebutton.TabIndex = 5; - this.minimizebutton.TabStop = false; - // - // programname - // - this.programname.AutoSize = true; - this.programname.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.programname.ForeColor = System.Drawing.Color.White; - this.programname.Location = new System.Drawing.Point(3, 2); - this.programname.Name = "programname"; - this.programname.Size = new System.Drawing.Size(112, 13); - this.programname.TabIndex = 3; - this.programname.Text = "Internet Explorer 4"; - // - // closebutton - // - this.closebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.closebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicClose; - this.closebutton.Location = new System.Drawing.Point(932, 2); - this.closebutton.Name = "closebutton"; - this.closebutton.Size = new System.Drawing.Size(16, 14); - this.closebutton.TabIndex = 4; - this.closebutton.TabStop = false; - this.closebutton.Click += new System.EventHandler(this.closebutton_Click); - // // toprightcorner // this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -3309,44 +3235,6 @@ private void InitializeComponent() this.topleftcorner.Size = new System.Drawing.Size(4, 4); this.topleftcorner.TabIndex = 1; // - // left - // - this.left.BackgroundImage = global::TimeHACK.Properties.Resources.LeftSide; - this.left.Dock = System.Windows.Forms.DockStyle.Left; - this.left.Location = new System.Drawing.Point(0, 4); - this.left.Name = "left"; - this.left.Size = new System.Drawing.Size(4, 586); - this.left.TabIndex = 3; - // - // bottom - // - this.bottom.BackgroundImage = global::TimeHACK.Properties.Resources.BottomSide; - this.bottom.Cursor = System.Windows.Forms.Cursors.SizeNS; - this.bottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bottom.Location = new System.Drawing.Point(0, 590); - this.bottom.Name = "bottom"; - this.bottom.Size = new System.Drawing.Size(955, 4); - this.bottom.TabIndex = 5; - // - // right - // - this.right.BackgroundImage = global::TimeHACK.Properties.Resources.RightSide; - this.right.Cursor = System.Windows.Forms.Cursors.SizeWE; - this.right.Dock = System.Windows.Forms.DockStyle.Right; - this.right.Location = new System.Drawing.Point(955, 4); - this.right.Name = "right"; - this.right.Size = new System.Drawing.Size(4, 590); - this.right.TabIndex = 7; - // - // top - // - this.top.BackgroundImage = global::TimeHACK.Properties.Resources.TopSide; - this.top.Dock = System.Windows.Forms.DockStyle.Top; - this.top.Location = new System.Drawing.Point(0, 0); - this.top.Name = "top"; - this.top.Size = new System.Drawing.Size(959, 4); - this.top.TabIndex = 8; - // // WinClassicIE4 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -3433,11 +3321,6 @@ private void InitializeComponent() ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit(); this.MenuStrip3.ResumeLayout(false); this.MenuStrip3.PerformLayout(); - this.programtopbar.ResumeLayout(false); - this.programtopbar.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).EndInit(); this.ResumeLayout(false); } @@ -3724,19 +3607,10 @@ private void InitializeComponent() internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem93; internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem94; internal System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem95; - internal System.Windows.Forms.Panel programtopbar; - internal System.Windows.Forms.PictureBox maximizebutton; - internal System.Windows.Forms.PictureBox minimizebutton; - internal System.Windows.Forms.Label programname; - internal System.Windows.Forms.PictureBox closebutton; internal System.Windows.Forms.Panel toprightcorner; internal System.Windows.Forms.Panel bottomrightcorner; internal System.Windows.Forms.Panel bottomleftcorner; internal System.Windows.Forms.Panel topleftcorner; - internal System.Windows.Forms.Panel left; - internal System.Windows.Forms.Panel bottom; - internal System.Windows.Forms.Panel right; - internal System.Windows.Forms.Panel top; private System.Windows.Forms.WebBrowser webBrowser1; internal System.Windows.Forms.LinkLabel linkLabel19; } diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs index 114f4eb..4dffe55 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs @@ -10,25 +10,6 @@ public WinClassicIE4() { InitializeComponent(); } - - public const int WM_NCLBUTTONDOWN = 0xA1; - public const int HT_CAPTION = 0x2; - - [DllImportAttribute("user32.dll")] - public static extern int SendMessage(IntPtr hWnd, - int Msg, int wParam, int lParam); - [DllImportAttribute("user32.dll")] - public static extern bool ReleaseCapture(); - - private void programtopbar_drag(object sender, MouseEventArgs e) - { - if (e.Button == MouseButtons.Left) - { - ReleaseCapture(); - SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0); - } - } - private void WinClassicIE4_Load(object sender, EventArgs e) { TopMost = true; diff --git a/TimeHACK.Main/WinClassicForms/WinClassicNotepad.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicNotepad.Designer.cs deleted file mode 100644 index 9dfc636..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicNotepad.Designer.cs +++ /dev/null @@ -1,307 +0,0 @@ -namespace TimeHACK -{ - partial class WinClassicNotepad - { - /// - /// 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 Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicNotepad)); - this.program = new System.Windows.Forms.Panel(); - this.notepadtextbox = new System.Windows.Forms.TextBox(); - this.MenuStrip1 = new System.Windows.Forms.MenuStrip(); - this.FileToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.EditToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.SearchToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.FormatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.programtopbar = new System.Windows.Forms.Panel(); - this.maximizebutton = new System.Windows.Forms.PictureBox(); - this.minimizebutton = new System.Windows.Forms.PictureBox(); - this.programname = new System.Windows.Forms.Label(); - this.closebutton = new System.Windows.Forms.PictureBox(); - 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.left = new System.Windows.Forms.Panel(); - this.bottom = new System.Windows.Forms.Panel(); - this.right = new System.Windows.Forms.Panel(); - this.top = new System.Windows.Forms.Panel(); - this.program.SuspendLayout(); - this.MenuStrip1.SuspendLayout(); - this.programtopbar.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).BeginInit(); - this.SuspendLayout(); - // - // program - // - this.program.BackColor = System.Drawing.Color.Silver; - this.program.Controls.Add(this.notepadtextbox); - this.program.Controls.Add(this.MenuStrip1); - this.program.Controls.Add(this.programtopbar); - 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.Controls.Add(this.left); - this.program.Controls.Add(this.bottom); - this.program.Controls.Add(this.right); - this.program.Controls.Add(this.top); - 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(800, 520); - this.program.TabIndex = 5; - // - // notepadtextbox - // - this.notepadtextbox.Cursor = System.Windows.Forms.Cursors.Arrow; - this.notepadtextbox.Dock = System.Windows.Forms.DockStyle.Fill; - this.notepadtextbox.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.notepadtextbox.Location = new System.Drawing.Point(4, 46); - this.notepadtextbox.Multiline = true; - this.notepadtextbox.Name = "notepadtextbox"; - this.notepadtextbox.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.notepadtextbox.Size = new System.Drawing.Size(792, 470); - this.notepadtextbox.TabIndex = 1; - // - // MenuStrip1 - // - this.MenuStrip1.BackColor = System.Drawing.Color.Silver; - this.MenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.FileToolStripMenuItem1, - this.EditToolStripMenuItem1, - this.SearchToolStripMenuItem1, - this.FormatToolStripMenuItem}); - this.MenuStrip1.Location = new System.Drawing.Point(4, 22); - this.MenuStrip1.Name = "MenuStrip1"; - this.MenuStrip1.Size = new System.Drawing.Size(792, 24); - this.MenuStrip1.TabIndex = 2; - this.MenuStrip1.Text = "MenuStrip1"; - // - // FileToolStripMenuItem1 - // - this.FileToolStripMenuItem1.Name = "FileToolStripMenuItem1"; - this.FileToolStripMenuItem1.Size = new System.Drawing.Size(37, 20); - this.FileToolStripMenuItem1.Text = "File"; - // - // EditToolStripMenuItem1 - // - this.EditToolStripMenuItem1.Name = "EditToolStripMenuItem1"; - this.EditToolStripMenuItem1.Size = new System.Drawing.Size(39, 20); - this.EditToolStripMenuItem1.Text = "Edit"; - // - // SearchToolStripMenuItem1 - // - this.SearchToolStripMenuItem1.Name = "SearchToolStripMenuItem1"; - this.SearchToolStripMenuItem1.Size = new System.Drawing.Size(54, 20); - this.SearchToolStripMenuItem1.Text = "Search"; - // - // FormatToolStripMenuItem - // - this.FormatToolStripMenuItem.Name = "FormatToolStripMenuItem"; - this.FormatToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.FormatToolStripMenuItem.Text = "Help"; - // - // programtopbar - // - this.programtopbar.BackColor = System.Drawing.Color.DarkBlue; - this.programtopbar.Controls.Add(this.maximizebutton); - this.programtopbar.Controls.Add(this.minimizebutton); - this.programtopbar.Controls.Add(this.programname); - this.programtopbar.Controls.Add(this.closebutton); - this.programtopbar.Dock = System.Windows.Forms.DockStyle.Top; - this.programtopbar.Location = new System.Drawing.Point(4, 4); - this.programtopbar.Name = "programtopbar"; - this.programtopbar.Size = new System.Drawing.Size(792, 18); - this.programtopbar.TabIndex = 0; - this.programtopbar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.programtopbar_drag); - // - // maximizebutton - // - this.maximizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.maximizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMax; - this.maximizebutton.Location = new System.Drawing.Point(757, 2); - this.maximizebutton.Name = "maximizebutton"; - this.maximizebutton.Size = new System.Drawing.Size(16, 14); - this.maximizebutton.TabIndex = 6; - this.maximizebutton.TabStop = false; - // - // minimizebutton - // - this.minimizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.minimizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMin; - this.minimizebutton.Location = new System.Drawing.Point(741, 2); - this.minimizebutton.Name = "minimizebutton"; - this.minimizebutton.Size = new System.Drawing.Size(16, 14); - this.minimizebutton.TabIndex = 5; - this.minimizebutton.TabStop = false; - // - // programname - // - this.programname.AutoSize = true; - this.programname.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.programname.ForeColor = System.Drawing.Color.White; - this.programname.Location = new System.Drawing.Point(3, 1); - this.programname.Name = "programname"; - this.programname.Size = new System.Drawing.Size(55, 13); - this.programname.TabIndex = 3; - this.programname.Text = "Notepad"; - // - // closebutton - // - this.closebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.closebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicClose; - this.closebutton.Location = new System.Drawing.Point(775, 2); - this.closebutton.Name = "closebutton"; - this.closebutton.Size = new System.Drawing.Size(16, 14); - this.closebutton.TabIndex = 4; - this.closebutton.TabStop = false; - this.closebutton.Click += new System.EventHandler(this.closebutton_Click); - // - // toprightcorner - // - this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toprightcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("toprightcorner.BackgroundImage"))); - this.toprightcorner.Location = new System.Drawing.Point(796, 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.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bottomrightcorner.BackgroundImage"))); - this.bottomrightcorner.Cursor = System.Windows.Forms.Cursors.SizeNWSE; - this.bottomrightcorner.Location = new System.Drawing.Point(796, 516); - 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.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bottomleftcorner.BackgroundImage"))); - this.bottomleftcorner.Location = new System.Drawing.Point(0, 516); - this.bottomleftcorner.Name = "bottomleftcorner"; - this.bottomleftcorner.Size = new System.Drawing.Size(4, 4); - this.bottomleftcorner.TabIndex = 2; - // - // topleftcorner - // - this.topleftcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("topleftcorner.BackgroundImage"))); - 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; - // - // left - // - this.left.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("left.BackgroundImage"))); - this.left.Dock = System.Windows.Forms.DockStyle.Left; - this.left.Location = new System.Drawing.Point(0, 4); - this.left.Name = "left"; - this.left.Size = new System.Drawing.Size(4, 512); - this.left.TabIndex = 3; - // - // bottom - // - this.bottom.BackgroundImage = global::TimeHACK.Properties.Resources.BottomSide; - this.bottom.Cursor = System.Windows.Forms.Cursors.SizeNS; - this.bottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bottom.Location = new System.Drawing.Point(0, 516); - this.bottom.Name = "bottom"; - this.bottom.Size = new System.Drawing.Size(796, 4); - this.bottom.TabIndex = 5; - // - // right - // - this.right.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("right.BackgroundImage"))); - this.right.Cursor = System.Windows.Forms.Cursors.SizeWE; - this.right.Dock = System.Windows.Forms.DockStyle.Right; - this.right.Location = new System.Drawing.Point(796, 4); - this.right.Name = "right"; - this.right.Size = new System.Drawing.Size(4, 516); - this.right.TabIndex = 7; - // - // top - // - this.top.BackgroundImage = global::TimeHACK.Properties.Resources.TopSide; - this.top.Dock = System.Windows.Forms.DockStyle.Top; - this.top.Location = new System.Drawing.Point(0, 0); - this.top.Name = "top"; - this.top.Size = new System.Drawing.Size(800, 4); - this.top.TabIndex = 8; - // - // WinClassicNotepad - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 520); - this.Controls.Add(this.program); - this.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "WinClassicNotepad"; - this.Text = "WinClassicNotepad"; - this.Load += new System.EventHandler(this.WinClassicNotepad_Load); - this.program.ResumeLayout(false); - this.program.PerformLayout(); - this.MenuStrip1.ResumeLayout(false); - this.MenuStrip1.PerformLayout(); - this.programtopbar.ResumeLayout(false); - this.programtopbar.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - internal System.Windows.Forms.Panel program; - internal System.Windows.Forms.TextBox notepadtextbox; - internal System.Windows.Forms.MenuStrip MenuStrip1; - internal System.Windows.Forms.ToolStripMenuItem FileToolStripMenuItem1; - internal System.Windows.Forms.ToolStripMenuItem EditToolStripMenuItem1; - internal System.Windows.Forms.ToolStripMenuItem SearchToolStripMenuItem1; - internal System.Windows.Forms.ToolStripMenuItem FormatToolStripMenuItem; - internal System.Windows.Forms.Panel programtopbar; - internal System.Windows.Forms.PictureBox maximizebutton; - internal System.Windows.Forms.PictureBox minimizebutton; - internal System.Windows.Forms.Label programname; - internal System.Windows.Forms.PictureBox closebutton; - internal System.Windows.Forms.Panel toprightcorner; - internal System.Windows.Forms.Panel bottomrightcorner; - internal System.Windows.Forms.Panel bottomleftcorner; - internal System.Windows.Forms.Panel topleftcorner; - internal System.Windows.Forms.Panel left; - internal System.Windows.Forms.Panel bottom; - internal System.Windows.Forms.Panel right; - internal System.Windows.Forms.Panel top; - } -} \ No newline at end of file diff --git a/TimeHACK.Main/WinClassicForms/WinClassicNotepad.cs b/TimeHACK.Main/WinClassicForms/WinClassicNotepad.cs deleted file mode 100644 index 58bb4f5..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicNotepad.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Windows.Forms; -using System.Runtime.InteropServices; - -namespace TimeHACK -{ - public partial class WinClassicNotepad : Form - { - public WinClassicNotepad() - { - InitializeComponent(); - } - - private void WinClassicNotepad_Load(object sender, EventArgs e) - { - TopMost = true; - } - - public const int WM_NCLBUTTONDOWN = 0xA1; - public const int HT_CAPTION = 0x2; - - [DllImportAttribute("user32.dll")] - public static extern int SendMessage(IntPtr hWnd, - int Msg, int wParam, int lParam); - [DllImportAttribute("user32.dll")] - public static extern bool ReleaseCapture(); - - private void closebutton_Click(object sender, EventArgs e) - { - Close(); - } - - private void programtopbar_drag(object sender, MouseEventArgs e) - { - if (e.Button == MouseButtons.Left) - { - ReleaseCapture(); - SendMessage(Handle, WM_NCLBUTTONDOWN, HT_CAPTION, 0); - } - } - } -} - - diff --git a/TimeHACK.Main/WinClassicForms/WinClassicNotepad.resx b/TimeHACK.Main/WinClassicForms/WinClassicNotepad.resx deleted file mode 100644 index c004f30..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicNotepad.resx +++ /dev/null @@ -1,166 +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 - - - 17, 17 - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQEMQDBfzBo6+oDcSDCGBwGBgAJoRsoKGRD1QAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQQtXX1MQABCgdIQRCIgwAMDABm/hFrLt/K7gAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /PT///+BJBBhcNq6+iCIAQEYGACcHRsocGQwIQAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAaSURBVBhXYzh8 - /DQcgTj/YQDKQZEBcY6fBgAaSCiZEc9BxAAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /PT///+B5OHjpwFB1wn9nx9JYgAAAABJRU5ErkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /DQQtXX1MTAwAAA0WgZJrWm8iAAAAABJRU5ErkJggg== - - - \ No newline at end of file diff --git a/TimeHACK.Main/WinClassicForms/WinClassicTerminal.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicTerminal.Designer.cs deleted file mode 100644 index b061b69..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicTerminal.Designer.cs +++ /dev/null @@ -1,254 +0,0 @@ -namespace TimeHACK.WinClassicForms -{ - partial class WinClassicTerminal - { - /// - /// 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 Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicTerminal)); - this.top = new System.Windows.Forms.Panel(); - this.right = new System.Windows.Forms.Panel(); - this.bottom = new System.Windows.Forms.Panel(); - this.left = new System.Windows.Forms.Panel(); - this.topleftcorner = new System.Windows.Forms.Panel(); - this.bottomleftcorner = new System.Windows.Forms.Panel(); - this.bottomrightcorner = new System.Windows.Forms.Panel(); - this.toprightcorner = new System.Windows.Forms.Panel(); - this.programtopbar = new System.Windows.Forms.Panel(); - this.maximizebutton = new System.Windows.Forms.PictureBox(); - this.minimizebutton = new System.Windows.Forms.PictureBox(); - this.programname = new System.Windows.Forms.Label(); - this.closebutton = new System.Windows.Forms.PictureBox(); - this.program = new System.Windows.Forms.Panel(); - this.consoleText = new System.Windows.Forms.TextBox(); - this.programtopbar.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).BeginInit(); - this.program.SuspendLayout(); - this.SuspendLayout(); - // - // top - // - this.top.BackgroundImage = global::TimeHACK.Properties.Resources.TopSide; - this.top.Dock = System.Windows.Forms.DockStyle.Top; - this.top.Location = new System.Drawing.Point(0, 0); - this.top.Name = "top"; - this.top.Size = new System.Drawing.Size(492, 4); - this.top.TabIndex = 8; - // - // right - // - this.right.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("right.BackgroundImage"))); - this.right.Cursor = System.Windows.Forms.Cursors.SizeWE; - this.right.Dock = System.Windows.Forms.DockStyle.Right; - this.right.Location = new System.Drawing.Point(488, 4); - this.right.Name = "right"; - this.right.Size = new System.Drawing.Size(4, 255); - this.right.TabIndex = 7; - // - // bottom - // - this.bottom.BackgroundImage = global::TimeHACK.Properties.Resources.BottomSide; - this.bottom.Cursor = System.Windows.Forms.Cursors.SizeNS; - this.bottom.Dock = System.Windows.Forms.DockStyle.Bottom; - this.bottom.Location = new System.Drawing.Point(0, 255); - this.bottom.Name = "bottom"; - this.bottom.Size = new System.Drawing.Size(488, 4); - this.bottom.TabIndex = 5; - // - // left - // - this.left.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("left.BackgroundImage"))); - this.left.Dock = System.Windows.Forms.DockStyle.Left; - this.left.Location = new System.Drawing.Point(0, 4); - this.left.Name = "left"; - this.left.Size = new System.Drawing.Size(4, 251); - this.left.TabIndex = 3; - // - // topleftcorner - // - this.topleftcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("topleftcorner.BackgroundImage"))); - 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; - // - // bottomleftcorner - // - this.bottomleftcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.bottomleftcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bottomleftcorner.BackgroundImage"))); - this.bottomleftcorner.Location = new System.Drawing.Point(0, 255); - this.bottomleftcorner.Name = "bottomleftcorner"; - this.bottomleftcorner.Size = new System.Drawing.Size(4, 4); - this.bottomleftcorner.TabIndex = 2; - // - // bottomrightcorner - // - this.bottomrightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bottomrightcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("bottomrightcorner.BackgroundImage"))); - this.bottomrightcorner.Cursor = System.Windows.Forms.Cursors.SizeNWSE; - this.bottomrightcorner.Location = new System.Drawing.Point(488, 255); - this.bottomrightcorner.Name = "bottomrightcorner"; - this.bottomrightcorner.Size = new System.Drawing.Size(4, 4); - this.bottomrightcorner.TabIndex = 4; - // - // toprightcorner - // - this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toprightcorner.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("toprightcorner.BackgroundImage"))); - this.toprightcorner.Location = new System.Drawing.Point(488, 0); - this.toprightcorner.Name = "toprightcorner"; - this.toprightcorner.Size = new System.Drawing.Size(4, 4); - this.toprightcorner.TabIndex = 6; - // - // programtopbar - // - this.programtopbar.BackColor = System.Drawing.Color.DarkBlue; - this.programtopbar.Controls.Add(this.maximizebutton); - this.programtopbar.Controls.Add(this.minimizebutton); - this.programtopbar.Controls.Add(this.programname); - this.programtopbar.Controls.Add(this.closebutton); - this.programtopbar.Dock = System.Windows.Forms.DockStyle.Top; - this.programtopbar.Location = new System.Drawing.Point(4, 4); - this.programtopbar.Name = "programtopbar"; - this.programtopbar.Size = new System.Drawing.Size(484, 18); - this.programtopbar.TabIndex = 0; - // - // maximizebutton - // - this.maximizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.maximizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMax; - this.maximizebutton.Location = new System.Drawing.Point(449, 2); - this.maximizebutton.Name = "maximizebutton"; - this.maximizebutton.Size = new System.Drawing.Size(16, 14); - this.maximizebutton.TabIndex = 6; - this.maximizebutton.TabStop = false; - // - // minimizebutton - // - this.minimizebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.minimizebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicMin; - this.minimizebutton.Location = new System.Drawing.Point(433, 2); - this.minimizebutton.Name = "minimizebutton"; - this.minimizebutton.Size = new System.Drawing.Size(16, 14); - this.minimizebutton.TabIndex = 5; - this.minimizebutton.TabStop = false; - // - // programname - // - this.programname.AutoSize = true; - this.programname.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.programname.ForeColor = System.Drawing.Color.White; - this.programname.Location = new System.Drawing.Point(3, 2); - this.programname.Name = "programname"; - this.programname.Size = new System.Drawing.Size(98, 13); - this.programname.TabIndex = 3; - this.programname.Text = "MS-DOS Prompt"; - // - // closebutton - // - this.closebutton.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.closebutton.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicClose; - this.closebutton.Location = new System.Drawing.Point(467, 2); - this.closebutton.Name = "closebutton"; - this.closebutton.Size = new System.Drawing.Size(16, 14); - this.closebutton.TabIndex = 4; - this.closebutton.TabStop = false; - // - // program - // - this.program.BackColor = System.Drawing.Color.Silver; - this.program.Controls.Add(this.consoleText); - this.program.Controls.Add(this.programtopbar); - 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.Controls.Add(this.left); - this.program.Controls.Add(this.bottom); - this.program.Controls.Add(this.right); - this.program.Controls.Add(this.top); - 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(492, 259); - this.program.TabIndex = 8; - // - // consoleText - // - this.consoleText.BackColor = System.Drawing.Color.Black; - this.consoleText.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.consoleText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.consoleText.ForeColor = System.Drawing.SystemColors.ScrollBar; - this.consoleText.Location = new System.Drawing.Point(4, 26); - this.consoleText.Multiline = true; - this.consoleText.Name = "consoleText"; - this.consoleText.ReadOnly = true; - this.consoleText.Size = new System.Drawing.Size(484, 229); - this.consoleText.TabIndex = 9; - this.consoleText.Text = "Microsoft(R) Windows 95\r\n (C)Copyright Microsoft Corp 1981-1998.\r\n\r\nC:\\W" + - "INDOWS>"; - // - // WinClassicTerminal - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(492, 259); - this.Controls.Add(this.program); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "WinClassicTerminal"; - this.Text = "WinClassicTerminal"; - this.programtopbar.ResumeLayout(false); - this.programtopbar.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.maximizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.minimizebutton)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.closebutton)).EndInit(); - this.program.ResumeLayout(false); - this.program.PerformLayout(); - this.ResumeLayout(false); - - } - - #endregion - - internal System.Windows.Forms.Panel top; - internal System.Windows.Forms.Panel right; - internal System.Windows.Forms.Panel bottom; - internal System.Windows.Forms.Panel left; - internal System.Windows.Forms.Panel topleftcorner; - internal System.Windows.Forms.Panel bottomleftcorner; - internal System.Windows.Forms.Panel bottomrightcorner; - internal System.Windows.Forms.Panel toprightcorner; - internal System.Windows.Forms.Panel programtopbar; - internal System.Windows.Forms.PictureBox maximizebutton; - internal System.Windows.Forms.PictureBox minimizebutton; - internal System.Windows.Forms.Label programname; - internal System.Windows.Forms.PictureBox closebutton; - internal System.Windows.Forms.Panel program; - private System.Windows.Forms.TextBox consoleText; - } -} \ No newline at end of file diff --git a/TimeHACK.Main/WinClassicForms/WinClassicTerminal.cs b/TimeHACK.Main/WinClassicForms/WinClassicTerminal.cs deleted file mode 100644 index bf70cf7..0000000 --- a/TimeHACK.Main/WinClassicForms/WinClassicTerminal.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System.Windows.Forms; - -namespace TimeHACK.WinClassicForms -{ - public partial class WinClassicTerminal : Form - { - public WinClassicTerminal() - { - InitializeComponent(); - } - } -} diff --git a/TimeHACK.Main/Windows95.Designer.cs b/TimeHACK.Main/Windows95.Designer.cs index 781121b..8ef9e99 100644 --- a/TimeHACK.Main/Windows95.Designer.cs +++ b/TimeHACK.Main/Windows95.Designer.cs @@ -75,7 +75,7 @@ private void InitializeComponent() this.SetupWOWFromCompuServeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MSDOSPromptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.EmptyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.InternetExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WindowsExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MSDOSPromptToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.OutlookExpressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.WindowsExplorerToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); @@ -86,6 +86,7 @@ private void InitializeComponent() 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.SettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ControlPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.PrintersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -169,13 +170,12 @@ private void InitializeComponent() this.taskbartime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.taskbartime.AutoSize = true; this.taskbartime.BackColor = System.Drawing.Color.Transparent; - this.taskbartime.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.taskbartime.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.taskbartime.Location = new System.Drawing.Point(1217, 6); this.taskbartime.Name = "taskbartime"; this.taskbartime.Size = new System.Drawing.Size(31, 15); this.taskbartime.TabIndex = 2; this.taskbartime.Text = "time"; - this.taskbartime.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.taskbartime.Click += new System.EventHandler(this.taskbartime_Click); // // clockPanel @@ -205,7 +205,7 @@ private void InitializeComponent() this.startmenu.Controls.Add(this.ossidestartmenu); this.startmenu.Location = new System.Drawing.Point(0, 397); this.startmenu.Name = "startmenu"; - this.startmenu.Size = new System.Drawing.Size(174, 300); + this.startmenu.Size = new System.Drawing.Size(174, 295); this.startmenu.TabIndex = 3; this.startmenu.Paint += new System.Windows.Forms.PaintEventHandler(this.startmenu_Paint); // @@ -239,7 +239,7 @@ private void InitializeComponent() this.AccessoriesToolStripMenuItem, this.StartUpToolStripMenuItem, this.MSDOSPromptToolStripMenuItem, - this.InternetExplorerToolStripMenuItem, + this.WindowsExplorerToolStripMenuItem, this.MSDOSPromptToolStripMenuItem1, this.OutlookExpressToolStripMenuItem, this.WindowsExplorerToolStripMenuItem1, @@ -249,7 +249,7 @@ private void InitializeComponent() this.SkindowsToolStripMenuItem, this.WebChatToolStripMenuItem, this.TimeDistorterToolStripMenuItem}); - this.ProgramsToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ProgramsToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ProgramsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicPrograms; this.ProgramsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.ProgramsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -525,16 +525,15 @@ private void InitializeComponent() this.EmptyToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.EmptyToolStripMenuItem.Text = "(Empty)"; // - // InternetExplorerToolStripMenuItem + // WindowsExplorerToolStripMenuItem // - this.InternetExplorerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.InternetExplorerToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.InternetExplorerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.InternetExplorerToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; - this.InternetExplorerToolStripMenuItem.Name = "WindowsExplorerToolStripMenuItem"; - this.InternetExplorerToolStripMenuItem.Size = new System.Drawing.Size(184, 26); - this.InternetExplorerToolStripMenuItem.Text = "Internet Explorer"; - this.InternetExplorerToolStripMenuItem.Click += new System.EventHandler(this.InternetExplorerToolStripMenuItem_Click); + this.WindowsExplorerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.WindowsExplorerToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.WindowsExplorerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.WindowsExplorerToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.WindowsExplorerToolStripMenuItem.Name = "WindowsExplorerToolStripMenuItem"; + this.WindowsExplorerToolStripMenuItem.Size = new System.Drawing.Size(184, 26); + this.WindowsExplorerToolStripMenuItem.Text = "Internet Explorer"; // // MSDOSPromptToolStripMenuItem1 // @@ -617,7 +616,9 @@ private void InitializeComponent() // DocumentsToolStripMenuItem // this.DocumentsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.DocumentsToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.DocumentsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.windowManagerTestToolStripMenuItem}); + this.DocumentsToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.DocumentsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("DocumentsToolStripMenuItem.Image"))); this.DocumentsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.DocumentsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -627,6 +628,13 @@ private void InitializeComponent() this.DocumentsToolStripMenuItem.Size = new System.Drawing.Size(137, 36); this.DocumentsToolStripMenuItem.Text = "Documents"; // + // windowManagerTestToolStripMenuItem + // + this.windowManagerTestToolStripMenuItem.Name = "windowManagerTestToolStripMenuItem"; + this.windowManagerTestToolStripMenuItem.Size = new System.Drawing.Size(192, 22); + this.windowManagerTestToolStripMenuItem.Text = "WindowManagerTest"; + this.windowManagerTestToolStripMenuItem.Click += new System.EventHandler(this.windowManagerTestToolStripMenuItem_Click); + // // SettingsToolStripMenuItem // this.SettingsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; @@ -634,7 +642,7 @@ private void InitializeComponent() this.ControlPanelToolStripMenuItem, this.PrintersToolStripMenuItem, this.TaskbarToolStripMenuItem}); - this.SettingsToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.SettingsToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.SettingsToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("SettingsToolStripMenuItem.Image"))); this.SettingsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.SettingsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -676,7 +684,7 @@ private void InitializeComponent() this.ComputerToolStripMenuItem, this.OnTheInternetToolStripMenuItem, this.PeopleToolStripMenuItem}); - this.FindToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.FindToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FindToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicFind; this.FindToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.FindToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -722,7 +730,7 @@ private void InitializeComponent() // HelpToolStripMenuItem // this.HelpToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.HelpToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.HelpToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.HelpToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicHelp; this.HelpToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.HelpToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -736,7 +744,7 @@ private void InitializeComponent() // RunToolStripMenuItem // this.RunToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.RunToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.RunToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.RunToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicRun; this.RunToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.RunToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -750,7 +758,7 @@ private void InitializeComponent() // SuspendToolStripMenuItem // this.SuspendToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.SuspendToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.SuspendToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.SuspendToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("SuspendToolStripMenuItem.Image"))); this.SuspendToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.SuspendToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -763,7 +771,7 @@ private void InitializeComponent() // ShutdownToolStripMenuItem // this.ShutdownToolStripMenuItem.BackColor = System.Drawing.Color.Silver; - this.ShutdownToolStripMenuItem.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.ShutdownToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ShutdownToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicShutdown; this.ShutdownToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.ShutdownToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; @@ -819,7 +827,7 @@ private void InitializeComponent() this.desktopicons.BackColor = System.Drawing.Color.Teal; this.desktopicons.BackgroundImageTiled = true; this.desktopicons.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.desktopicons.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.desktopicons.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.desktopicons.ForeColor = System.Drawing.Color.White; this.desktopicons.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, @@ -836,9 +844,7 @@ private void InitializeComponent() this.desktopicons.Size = new System.Drawing.Size(1280, 720); this.desktopicons.TabIndex = 6; this.desktopicons.UseCompatibleStateImageBehavior = false; - this.desktopicons.SelectedIndexChanged += new System.EventHandler(this.desktopicons_SelectedIndexChanged); this.desktopicons.MouseDown += new System.Windows.Forms.MouseEventHandler(this.desktop_mousedown); - this.desktopicons.DoubleClick += new System.EventHandler(this.desktopicons_Click); // // rightclickbackproperties // @@ -850,7 +856,6 @@ private void InitializeComponent() this.NewToolStripMenuItem1, this.PropertiesToolStripMenuItem1}); this.rightclickbackproperties.Name = "ContextMenuStrip1"; - this.rightclickbackproperties.Font = new System.Drawing.Font(TitleScreen.pfc.Families[0], 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rightclickbackproperties.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; this.rightclickbackproperties.Size = new System.Drawing.Size(151, 136); // @@ -1064,7 +1069,7 @@ private void InitializeComponent() internal System.Windows.Forms.ToolStripMenuItem SetupWOWFromCompuServeToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem MSDOSPromptToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem EmptyToolStripMenuItem; - internal System.Windows.Forms.ToolStripMenuItem InternetExplorerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem WindowsExplorerToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem MSDOSPromptToolStripMenuItem1; internal System.Windows.Forms.ToolStripMenuItem OutlookExpressToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem WindowsExplorerToolStripMenuItem1; @@ -1113,6 +1118,6 @@ private void InitializeComponent() internal System.Windows.Forms.ToolStripMenuItem BitmapImageToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem MicrosoftDataLinkToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem PropertiesToolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem windowManagerTestToolStripMenuItem; } -} - +} \ No newline at end of file diff --git a/TimeHACK.Main/Windows95.cs b/TimeHACK.Main/Windows95.cs index d262985..94c42aa 100644 --- a/TimeHACK.Main/Windows95.cs +++ b/TimeHACK.Main/Windows95.cs @@ -3,13 +3,13 @@ using System.IO; using System.Media; using System.Windows.Forms; +using TimeHACK.Engine; +using TimeHACK.WinClassicForms; + namespace TimeHACK { public partial class Windows95 : Form { - private SoundPlayer start; - private SoundPlayer stop; - // Init the form public Windows95() { @@ -33,13 +33,11 @@ private void Desktop_Load(object sender, EventArgs e) // Play Windows 95 Start Sound Stream audio = Properties.Resources.Win95Start; - start = new SoundPlayer(audio); - start.Play(); + SoundPlayer Win95Start = new SoundPlayer(audio); + Win95Start.Play(); // Set the StartMenu seperator startmenuitems.Items.Insert(6, new ToolStripSeparator()); - - this.SendToBack(); } #region StartMenu @@ -59,17 +57,11 @@ private void startmenu_Paint(object sender, PaintEventArgs e) private void startbutton_Click(object sender, EventArgs e) { startmenu.Show(); - startmenu.BringToFront(); } // Shutdown button private void ShutdownToolStripMenuItem_Click(object sender, EventArgs e) { - start.Stop(); - Stream audio = Properties.Resources.tada; - stop = new SoundPlayer(audio); - stop.Play(); - System.Threading.Thread.Sleep(1500); Application.Exit(); } @@ -90,7 +82,7 @@ private void taskbartime_Click(object sender, EventArgs e) // Set the Clock private void clockTimer_Tick(object sender, EventArgs e) { - taskbartime.Text = DateTime.Now.ToString("h:mm tt"); + taskbartime.Text = DateTime.Now.ToString("hh:mm tt"); } // On Desktop MouseDown @@ -101,7 +93,6 @@ private void desktop_mousedown(object sender, MouseEventArgs e) rightclickbackproperties.Show(); rightclickbackproperties.BringToFront(); rightclickbackproperties.Location = MousePosition; - startmenu.Hide(); } // If @@ -119,44 +110,13 @@ private void desktop_mousedown(object sender, MouseEventArgs e) private void NotePadToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassicNotepad notepad = new WinClassicNotepad(); - notepad.Show(); - notepad.BringToFront(); - startmenu.Hide(); + } - - private void desktopicons_SelectedIndexChanged(object sender, EventArgs e) + private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e) { - - } - - private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e) - { - WinClassicIE4 ie = new WinClassicIE4(); - ie.Show(); - ie.BringToFront(); - startmenu.Hide(); - } - - private void desktopicons_Click(object sender, EventArgs e) - { - Point objDrawingPoint = desktopicons.PointToClient(Cursor.Position); - ListViewItem objListViewItem; - - if (objDrawingPoint != null) - { - objListViewItem = desktopicons.GetItemAt(objDrawingPoint.X, objDrawingPoint.Y); - if (objListViewItem != null) - { - if (objListViewItem.Text == "Internet Explorer") - { - WinClassicIE4 ie = new WinClassicIE4(); - ie.Show(); - ie.BringToFront(); - startmenu.Hide(); - } - } - } + WindowManager wm = new WindowManager(); + TestApp test = new TestApp(); + wm.startWinClassic(test, "TestApp", null, true, true); } } } diff --git a/TimeHACK.Main/Windows95.resx b/TimeHACK.Main/Windows95.resx index 0c36066..15941f6 100644 --- a/TimeHACK.Main/Windows95.resx +++ b/TimeHACK.Main/Windows95.resx @@ -138,18 +138,6 @@ 17, 17 - - 17, 17 - - - - iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACcSURBVDhP1ZBBDsAgCAR9uj+3Li4VLRrszUk20CBT23QX - Oecyh6NzdLmUNNRf0pXMSr1g5oLhKRT60i70b+jVkBC9Ho4GK9gbwKDRhjwYZS1Ebz6ngrqLoLWzvuEs - mCNo7Xg3jCDL0Rt26gvwHmLavXAOEFHNIET4yPWvkGAgUSGwssz/hgrQV5bCFyvcweMxIdsIobM4dJJr - SOkBE6rCoA7vOu8AAAAASUVORK5CYII= - - iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO @@ -175,6 +163,15 @@ lcxKvWDmguEpFPrSLvRv6NWQEL0ejgYr2BvAoNGGPBhlLURvPqeCuougtbO+4SyYI2jteDeMIMvRG3bq C/AeYtq9cA4QUc0gRPjI9a+QYCBRIbCyzP+GCtBXlsIXK9zB4zEh2wihszh0kmtI6QETqsKgDu867wAA AABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACcSURBVDhP1ZBBDsAgCAR9uj+3Li4VLRrszUk20CBT23QX + Oecyh6NzdLmUNNRf0pXMSr1g5oLhKRT60i70b+jVkBC9Ho4GK9gbwKDRhjwYZS1Ebz6ngrqLoLWzvuEs + mCNo7Xg3jCDL0Rt26gvwHmLavXAOEFHNIET4yPWvkGAgUSGwssz/hgrQV5bCFyvcweMxIdsIobM4dJJr + SOkBE6rCoA7vOu8AAAAASUVORK5CYII= @@ -239,7 +236,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAE - VwAAAk1TRnQBSQFMAgEBCAEAAZABAAGQAQABIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA + VwAAAk1TRnQBSQFMAgEBCAEAAaABAAGgAQABIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA AwABYAMAAQEBAAEgBgABwP8A/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/AP8AVQAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/ diff --git a/TimeHACK.Main/bin/Release/TimeHACK.Engine.dll b/TimeHACK.Main/bin/Release/TimeHACK.Engine.dll index 7037401..9e8c504 100644 Binary files a/TimeHACK.Main/bin/Release/TimeHACK.Engine.dll and b/TimeHACK.Main/bin/Release/TimeHACK.Engine.dll differ diff --git a/TimeHACK.Main/bin/Release/TimeHACK.Engine.pdb b/TimeHACK.Main/bin/Release/TimeHACK.Engine.pdb index 0531874..b0d17dc 100644 Binary files a/TimeHACK.Main/bin/Release/TimeHACK.Engine.pdb and b/TimeHACK.Main/bin/Release/TimeHACK.Engine.pdb differ diff --git a/TimeHACK.Main/bin/Release/TimeHACK.application b/TimeHACK.Main/bin/Release/TimeHACK.application index a543548..af9f856 100644 --- a/TimeHACK.Main/bin/Release/TimeHACK.application +++ b/TimeHACK.Main/bin/Release/TimeHACK.application @@ -14,7 +14,7 @@ - SAT/lMt9FOeMfDSZij7uKzz9xPSFxgACUU3tpyXAHK8= + a/Rg0oqaFV3brH5B97iOCDXc0yawkl9S/2cVtgXXS8M= diff --git a/TimeHACK.Main/bin/Release/TimeHACK.exe b/TimeHACK.Main/bin/Release/TimeHACK.exe index 3dcc94e..899a43f 100644 Binary files a/TimeHACK.Main/bin/Release/TimeHACK.exe and b/TimeHACK.Main/bin/Release/TimeHACK.exe differ diff --git a/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest b/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest index f4b5279..2b1efb6 100644 --- a/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest +++ b/TimeHACK.Main/bin/Release/TimeHACK.exe.manifest @@ -44,26 +44,26 @@ - + - bLloCsH1ra1vZvFEOQhgp2mKFfdr2mUE2ayMaa6hP88= + a195m/FVq7D1VXSsD5UlJt8G92gqRxAIBSlvD7iViak= - + - cohsoHlQ2+7HAhb3De+aSHXPPEXbVjU/Xw7PAS7IfL8= + YDC6fdQvXveTmH0thYXVu9Uk9dtVVg3+QjDTaaqtScc= diff --git a/TimeHACK.Main/bin/Release/TimeHACK.pdb b/TimeHACK.Main/bin/Release/TimeHACK.pdb index 83764e0..3ea1e2f 100644 Binary files a/TimeHACK.Main/bin/Release/TimeHACK.pdb and b/TimeHACK.Main/bin/Release/TimeHACK.pdb differ diff --git a/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe b/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe index 3dcc94e..899a43f 100644 Binary files a/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe and b/TimeHACK.Main/bin/Release/app.publish/TimeHACK.exe differ diff --git a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache index 7662cd1..f4dce26 100644 Binary files a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferences.cache differ diff --git a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache index b39722a..39ebf41 100644 Binary files a/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/TimeHACK.Main/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.FileListAbsolute.txt b/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.FileListAbsolute.txt index b19fad9..434d62f 100644 --- a/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.FileListAbsolute.txt +++ b/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.FileListAbsolute.txt @@ -1,9 +1,7 @@ D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.Main.csprojResolveAssemblyReference.cache D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.WinClassicIE4.resources -D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.WinClassicForms.WinClassicTerminal.resources D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.Windows95.resources D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.TitleScreen.resources -D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.WinClassicNotepad.resources D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.WinClassicTemplate.resources D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.Main.csproj.GenerateResource.Cache D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.exe @@ -36,3 +34,4 @@ C:\Users\Liam\Documents\GitHub\TimeHACK-lempfork\TimeHACK.Main\obj\Release\TimeH C:\Users\Liam\Documents\GitHub\TimeHACK-lempfork\TimeHACK.Main\obj\Release\TimeHACK.application C:\Users\Liam\Documents\GitHub\TimeHACK-lempfork\TimeHACK.Main\obj\Release\TimeHACK.exe C:\Users\Liam\Documents\GitHub\TimeHACK-lempfork\TimeHACK.Main\obj\Release\TimeHACK.pdb +D:\Documents\GitHub\TimeHACK\TimeHACK.Main\obj\Release\TimeHACK.WinClassicForms.TestApp.resources diff --git a/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache b/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache index 35042d4..ea80eb6 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache and b/TimeHACK.Main/obj/Release/TimeHACK.Main.csproj.GenerateResource.Cache differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.Main.csprojResolveAssemblyReference.cache b/TimeHACK.Main/obj/Release/TimeHACK.Main.csprojResolveAssemblyReference.cache index 51176a2..afd9c88 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.Main.csprojResolveAssemblyReference.cache and b/TimeHACK.Main/obj/Release/TimeHACK.Main.csprojResolveAssemblyReference.cache differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.Properties.Resources.resources b/TimeHACK.Main/obj/Release/TimeHACK.Properties.Resources.resources index bd42262..02404da 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.Properties.Resources.resources and b/TimeHACK.Main/obj/Release/TimeHACK.Properties.Resources.resources differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.TitleScreen.resources b/TimeHACK.Main/obj/Release/TimeHACK.TitleScreen.resources index 96f2158..51ab95c 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.TitleScreen.resources and b/TimeHACK.Main/obj/Release/TimeHACK.TitleScreen.resources differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.WinClassicForms.TestApp.resources b/TimeHACK.Main/obj/Release/TimeHACK.WinClassicForms.TestApp.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/TimeHACK.Main/obj/Release/TimeHACK.WinClassicForms.TestApp.resources differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.WinClassicForms.WinClassicTerminal.resources b/TimeHACK.Main/obj/Release/TimeHACK.WinClassicForms.WinClassicTerminal.resources deleted file mode 100644 index f52d56e..0000000 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.WinClassicForms.WinClassicTerminal.resources and /dev/null differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.WinClassicNotepad.resources b/TimeHACK.Main/obj/Release/TimeHACK.WinClassicNotepad.resources deleted file mode 100644 index f52d56e..0000000 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.WinClassicNotepad.resources and /dev/null differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.WinClassicTemplate.resources b/TimeHACK.Main/obj/Release/TimeHACK.WinClassicTemplate.resources index f52d56e..2a79d99 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.WinClassicTemplate.resources and b/TimeHACK.Main/obj/Release/TimeHACK.WinClassicTemplate.resources differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.Windows95.resources b/TimeHACK.Main/obj/Release/TimeHACK.Windows95.resources index a0cde10..9403bac 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.Windows95.resources and b/TimeHACK.Main/obj/Release/TimeHACK.Windows95.resources differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.application b/TimeHACK.Main/obj/Release/TimeHACK.application index a543548..af9f856 100644 --- a/TimeHACK.Main/obj/Release/TimeHACK.application +++ b/TimeHACK.Main/obj/Release/TimeHACK.application @@ -14,7 +14,7 @@ - SAT/lMt9FOeMfDSZij7uKzz9xPSFxgACUU3tpyXAHK8= + a/Rg0oqaFV3brH5B97iOCDXc0yawkl9S/2cVtgXXS8M= diff --git a/TimeHACK.Main/obj/Release/TimeHACK.exe b/TimeHACK.Main/obj/Release/TimeHACK.exe index 3dcc94e..899a43f 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.exe and b/TimeHACK.Main/obj/Release/TimeHACK.exe differ diff --git a/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest b/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest index f4b5279..2b1efb6 100644 --- a/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest +++ b/TimeHACK.Main/obj/Release/TimeHACK.exe.manifest @@ -44,26 +44,26 @@ - + - bLloCsH1ra1vZvFEOQhgp2mKFfdr2mUE2ayMaa6hP88= + a195m/FVq7D1VXSsD5UlJt8G92gqRxAIBSlvD7iViak= - + - cohsoHlQ2+7HAhb3De+aSHXPPEXbVjU/Xw7PAS7IfL8= + YDC6fdQvXveTmH0thYXVu9Uk9dtVVg3+QjDTaaqtScc= diff --git a/TimeHACK.Main/obj/Release/TimeHACK.pdb b/TimeHACK.Main/obj/Release/TimeHACK.pdb index 83764e0..3ea1e2f 100644 Binary files a/TimeHACK.Main/obj/Release/TimeHACK.pdb and b/TimeHACK.Main/obj/Release/TimeHACK.pdb differ