diff options
| author | AShifter <[email protected]> | 2017-03-26 11:28:05 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-03-26 11:28:24 -0600 |
| commit | f16f3a8a3df33f46c4ec6c864447cced97c0f034 (patch) | |
| tree | 6c06d045bd7afa16c89b63c01c41b2ace019ff8b /TimeHACK.Main/WinClassicForms | |
| parent | a7128e18c33b39b6253f9af3022fb1a47b1ac5f1 (diff) | |
| download | histacom2-f16f3a8a3df33f46c4ec6c864447cced97c0f034.tar.gz histacom2-f16f3a8a3df33f46c4ec6c864447cced97c0f034.tar.bz2 histacom2-f16f3a8a3df33f46c4ec6c864447cced97c0f034.zip | |
Finished WindowManager.cs
I HOPE YOU LIKE IT HONEYFRY
Diffstat (limited to 'TimeHACK.Main/WinClassicForms')
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/TestApp.Designer.cs | 26 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/TestApp.cs | 14 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/TestApp.resx (renamed from TimeHACK.Main/WinClassicForms/WinClassicTerminal.resx) | 43 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs | 158 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicIE4.cs | 19 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicNotepad.Designer.cs | 307 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicNotepad.cs | 44 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicNotepad.resx | 166 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicTerminal.Designer.cs | 254 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicTerminal.cs | 12 |
10 files changed, 42 insertions, 1001 deletions
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 @@ /// </summary> 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 @@ namespace TimeHACK.WinClassicForms { InitializeComponent(); } - - - } } diff --git a/TimeHACK.Main/WinClassicForms/WinClassicTerminal.resx b/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 @@ <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> - <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> - <data name="right.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /DQQtXX1MTAwAAA0WgZJrWm8iAAAAABJRU5ErkJggg== -</value> - </data> - <data name="left.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /PT///+B5OHjpwFB1wn9nx9JYgAAAABJRU5ErkJggg== -</value> - </data> - <data name="topleftcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAaSURBVBhXYzh8 - /DQcgTj/YQDKQZEBcY6fBgAaSCiZEc9BxAAAAABJRU5ErkJggg== -</value> - </data> - <data name="bottomleftcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /PT///+BJBBhcNq6+iCIAQEYGACcHRsocGQwIQAAAABJRU5ErkJggg== -</value> - </data> - <data name="bottomrightcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQQtXX1MQABCgdIQRCIgwAMDABm/hFrLt/K7gAAAABJRU5ErkJggg== -</value> - </data> - <data name="toprightcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQEMQDBfzBo6+oDcSDCGBwGBgAJoRsoKGRD1QAAAABJRU5ErkJggg== -</value> - </data> </root>
\ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ ((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 @@ 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 @@ namespace TimeHACK { 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 - { - /// <summary> - /// Required designer variable. - /// </summary> - private System.ComponentModel.IContainer components = null; - - /// <summary> - /// Clean up any resources being used. - /// </summary> - /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// <summary> - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// </summary> - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(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 @@ -<?xml version="1.0" encoding="utf-8"?> -<root> - <!-- - Microsoft ResX Schema - - Version 2.0 - - The primary goals of this format is to allow a simple XML format - that is mostly human readable. The generation and parsing of the - various data types are done through the TypeConverter classes - associated with the data types. - - Example: - - ... ado.net/XML headers & schema ... - <resheader name="resmimetype">text/microsoft-resx</resheader> - <resheader name="version">2.0</resheader> - <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> - <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> - <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> - <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> - <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> - <value>[base64 mime encoded serialized .NET Framework object]</value> - </data> - <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> - <comment>This is a comment</comment> - </data> - - There are any number of "resheader" rows that contain simple - name/value pairs. - - Each data row contains a name, and value. The row also contains a - type or mimetype. Type corresponds to a .NET class that support - text/value conversion through the TypeConverter architecture. - Classes that don't support this are serialized and stored with the - mimetype set. - - The mimetype is used for serialized objects, and tells the - ResXResourceReader how to depersist the object. This is currently not - extensible. For a given mimetype the value must be set accordingly: - - Note - application/x-microsoft.net.object.binary.base64 is the format - that the ResXResourceWriter will generate, however the reader can - read any of the formats listed below. - - mimetype: application/x-microsoft.net.object.binary.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.soap.base64 - value : The object must be serialized with - : System.Runtime.Serialization.Formatters.Soap.SoapFormatter - : and then encoded with base64 encoding. - - mimetype: application/x-microsoft.net.object.bytearray.base64 - value : The object must be serialized into a byte array - : using a System.ComponentModel.TypeConverter - : and then encoded with base64 encoding. - --> - <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> - <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> - <xsd:element name="root" msdata:IsDataSet="true"> - <xsd:complexType> - <xsd:choice maxOccurs="unbounded"> - <xsd:element name="metadata"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" /> - </xsd:sequence> - <xsd:attribute name="name" use="required" type="xsd:string" /> - <xsd:attribute name="type" type="xsd:string" /> - <xsd:attribute name="mimetype" type="xsd:string" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="assembly"> - <xsd:complexType> - <xsd:attribute name="alias" type="xsd:string" /> - <xsd:attribute name="name" type="xsd:string" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="data"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> - <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> - <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> - <xsd:attribute ref="xml:space" /> - </xsd:complexType> - </xsd:element> - <xsd:element name="resheader"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> - </xsd:sequence> - <xsd:attribute name="name" type="xsd:string" use="required" /> - </xsd:complexType> - </xsd:element> - </xsd:choice> - </xsd:complexType> - </xsd:element> - </xsd:schema> - <resheader name="resmimetype"> - <value>text/microsoft-resx</value> - </resheader> - <resheader name="version"> - <value>2.0</value> - </resheader> - <resheader name="reader"> - <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <resheader name="writer"> - <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> - </resheader> - <metadata name="MenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> - <value>17, 17</value> - </metadata> - <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> - <data name="toprightcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQEMQDBfzBo6+oDcSDCGBwGBgAJoRsoKGRD1QAAAABJRU5ErkJggg== -</value> - </data> - <data name="bottomrightcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /DQQtXX1MQABCgdIQRCIgwAMDABm/hFrLt/K7gAAAABJRU5ErkJggg== -</value> - </data> - <data name="bottomleftcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAdSURBVBhXYzh8 - /PT///+BJBBhcNq6+iCIAQEYGACcHRsocGQwIQAAAABJRU5ErkJggg== -</value> - </data> - <data name="topleftcorner.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAaSURBVBhXYzh8 - /DQcgTj/YQDKQZEBcY6fBgAaSCiZEc9BxAAAAABJRU5ErkJggg== -</value> - </data> - <data name="left.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /PT///+B5OHjpwFB1wn9nx9JYgAAAABJRU5ErkJggg== -</value> - </data> - <data name="right.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> - <value> - iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAUSURBVBhXYzh8 - /DQQtXX1MTAwAAA0WgZJrWm8iAAAAABJRU5ErkJggg== -</value> - </data> -</root>
\ 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 - { - /// <summary> - /// Required designer variable. - /// </summary> - private System.ComponentModel.IContainer components = null; - - /// <summary> - /// Clean up any resources being used. - /// </summary> - /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// <summary> - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// </summary> - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(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(); - } - } -} |
