diff options
| author | lempamo <[email protected]> | 2017-07-13 19:13:35 -0500 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-13 19:13:35 -0500 |
| commit | 7c02e210108003913dfc77a001f546bb0617dba8 (patch) | |
| tree | 47483f2d12766475390f10f785de3dd0603fdd2a /TimeHACK.Main | |
| parent | 8f5ced0b128eddaf6656a417097fed13bc9aa2ef (diff) | |
| download | histacom2-7c02e210108003913dfc77a001f546bb0617dba8.tar.gz histacom2-7c02e210108003913dfc77a001f546bb0617dba8.tar.bz2 histacom2-7c02e210108003913dfc77a001f546bb0617dba8.zip | |
pixel perfected:tm: calculator
Diffstat (limited to 'TimeHACK.Main')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs | 183 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs | 19 | ||||
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs | 1 | ||||
| -rw-r--r-- | TimeHACK.Main/Properties/Resources.Designer.cs | 10 | ||||
| -rw-r--r-- | TimeHACK.Main/Properties/Resources.resx | 5 | ||||
| -rw-r--r-- | TimeHACK.Main/Resources/IE4/ie4about.png | bin | 0 -> 11773 bytes | |||
| -rw-r--r-- | TimeHACK.Main/TimeHACK.Main.csproj | 1 |
7 files changed, 149 insertions, 70 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs index f71c5e3..49a47d0 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.Designer.cs @@ -67,7 +67,9 @@ this.Button19 = new System.Windows.Forms.Button(); this.Button9 = new System.Windows.Forms.Button(); this.MenuStrip2 = new System.Windows.Forms.MenuStrip(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.MenuStrip2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // timer1 @@ -79,28 +81,28 @@ this.HelpToolStripMenuItem3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.AboutCalculatorToolStripMenuItem}); this.HelpToolStripMenuItem3.Name = "HelpToolStripMenuItem3"; - this.HelpToolStripMenuItem3.Size = new System.Drawing.Size(44, 20); + this.HelpToolStripMenuItem3.Size = new System.Drawing.Size(41, 20); this.HelpToolStripMenuItem3.Text = "Help"; // // AboutCalculatorToolStripMenuItem // this.AboutCalculatorToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.AboutCalculatorToolStripMenuItem.Name = "AboutCalculatorToolStripMenuItem"; - this.AboutCalculatorToolStripMenuItem.Size = new System.Drawing.Size(164, 22); + this.AboutCalculatorToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.AboutCalculatorToolStripMenuItem.Text = "About Calculator"; // // StandardToolStripMenuItem // this.StandardToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.StandardToolStripMenuItem.Name = "StandardToolStripMenuItem"; - this.StandardToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.StandardToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.StandardToolStripMenuItem.Text = "Standard"; // // ScientificToolStripMenuItem // this.ScientificToolStripMenuItem.BackColor = System.Drawing.Color.Silver; this.ScientificToolStripMenuItem.Name = "ScientificToolStripMenuItem"; - this.ScientificToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.ScientificToolStripMenuItem.Size = new System.Drawing.Size(117, 22); this.ScientificToolStripMenuItem.Text = "Scientific"; // // HelpToolStripMenuItem2 @@ -109,21 +111,21 @@ this.ScientificToolStripMenuItem, this.StandardToolStripMenuItem}); this.HelpToolStripMenuItem2.Name = "HelpToolStripMenuItem2"; - this.HelpToolStripMenuItem2.Size = new System.Drawing.Size(44, 20); + this.HelpToolStripMenuItem2.Size = new System.Drawing.Size(42, 20); this.HelpToolStripMenuItem2.Text = "View"; // // PasteCtrlVToolStripMenuItem1 // this.PasteCtrlVToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; this.PasteCtrlVToolStripMenuItem1.Name = "PasteCtrlVToolStripMenuItem1"; - this.PasteCtrlVToolStripMenuItem1.Size = new System.Drawing.Size(158, 22); + this.PasteCtrlVToolStripMenuItem1.Size = new System.Drawing.Size(150, 22); this.PasteCtrlVToolStripMenuItem1.Text = "Paste Ctrl+V"; // // CopyCtrlCToolStripMenuItem1 // this.CopyCtrlCToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; this.CopyCtrlCToolStripMenuItem1.Name = "CopyCtrlCToolStripMenuItem1"; - this.CopyCtrlCToolStripMenuItem1.Size = new System.Drawing.Size(158, 22); + this.CopyCtrlCToolStripMenuItem1.Size = new System.Drawing.Size(150, 22); this.CopyCtrlCToolStripMenuItem1.Text = "Copy Ctrl+C"; // // EditToolStripMenuItem1 @@ -133,19 +135,21 @@ this.CopyCtrlCToolStripMenuItem1, this.PasteCtrlVToolStripMenuItem1}); this.EditToolStripMenuItem1.Name = "EditToolStripMenuItem1"; - this.EditToolStripMenuItem1.Size = new System.Drawing.Size(39, 20); + this.EditToolStripMenuItem1.Size = new System.Drawing.Size(37, 20); this.EditToolStripMenuItem1.Text = "Edit"; // // txtNumbers // this.txtNumbers.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtNumbers.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.txtNumbers.Location = new System.Drawing.Point(18, 62); + this.txtNumbers.BackColor = System.Drawing.Color.White; + this.txtNumbers.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.txtNumbers.Location = new System.Drawing.Point(11, 39); + this.txtNumbers.Margin = new System.Windows.Forms.Padding(4); this.txtNumbers.Multiline = true; this.txtNumbers.Name = "txtNumbers"; this.txtNumbers.ReadOnly = true; - this.txtNumbers.Size = new System.Drawing.Size(272, 28); + this.txtNumbers.Size = new System.Drawing.Size(249, 26); this.txtNumbers.TabIndex = 85; this.txtNumbers.Text = "0"; this.txtNumbers.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; @@ -153,11 +157,12 @@ // Button27 // this.Button27.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button27.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button27.ForeColor = System.Drawing.Color.Firebrick; - this.Button27.Location = new System.Drawing.Point(179, 96); + this.Button27.Location = new System.Drawing.Point(157, 71); this.Button27.Name = "Button27"; - this.Button27.Size = new System.Drawing.Size(53, 30); + this.Button27.Size = new System.Drawing.Size(49, 28); this.Button27.TabIndex = 84; this.Button27.Text = "CE"; this.Button27.UseVisualStyleBackColor = true; @@ -166,11 +171,12 @@ // Button26 // this.Button26.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button26.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button26.ForeColor = System.Drawing.Color.Firebrick; - this.Button26.Location = new System.Drawing.Point(237, 96); + this.Button26.Location = new System.Drawing.Point(210, 71); this.Button26.Name = "Button26"; - this.Button26.Size = new System.Drawing.Size(53, 30); + this.Button26.Size = new System.Drawing.Size(49, 28); this.Button26.TabIndex = 83; this.Button26.Text = "C"; this.Button26.UseVisualStyleBackColor = true; @@ -179,11 +185,12 @@ // Button1 // this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button1.ForeColor = System.Drawing.Color.Red; - this.Button1.Location = new System.Drawing.Point(18, 172); + this.Button1.Location = new System.Drawing.Point(11, 139); this.Button1.Name = "Button1"; - this.Button1.Size = new System.Drawing.Size(38, 30); + this.Button1.Size = new System.Drawing.Size(36, 28); this.Button1.TabIndex = 58; this.Button1.Text = "MR"; this.Button1.UseVisualStyleBackColor = true; @@ -191,11 +198,12 @@ // Button25 // this.Button25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button25.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button25.ForeColor = System.Drawing.Color.Firebrick; - this.Button25.Location = new System.Drawing.Point(120, 96); + this.Button25.Location = new System.Drawing.Point(104, 71); this.Button25.Name = "Button25"; - this.Button25.Size = new System.Drawing.Size(53, 30); + this.Button25.Size = new System.Drawing.Size(49, 28); this.Button25.TabIndex = 82; this.Button25.Text = "Back"; this.Button25.UseVisualStyleBackColor = true; @@ -204,11 +212,12 @@ // Button2 // this.Button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button2.ForeColor = System.Drawing.Color.Red; - this.Button2.Location = new System.Drawing.Point(18, 243); + this.Button2.Location = new System.Drawing.Point(11, 207); this.Button2.Name = "Button2"; - this.Button2.Size = new System.Drawing.Size(38, 30); + this.Button2.Size = new System.Drawing.Size(36, 28); this.Button2.TabIndex = 59; this.Button2.Text = "M+"; this.Button2.UseVisualStyleBackColor = true; @@ -216,11 +225,12 @@ // Button21 // this.Button21.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button21.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button21.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Button21.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button21.Location = new System.Drawing.Point(252, 243); + this.Button21.ForeColor = System.Drawing.Color.Red; + this.Button21.Location = new System.Drawing.Point(223, 207); this.Button21.Name = "Button21"; - this.Button21.Size = new System.Drawing.Size(38, 30); + this.Button21.Size = new System.Drawing.Size(36, 28); this.Button21.TabIndex = 81; this.Button21.Text = "="; this.Button21.UseVisualStyleBackColor = true; @@ -229,11 +239,12 @@ // Button3 // this.Button3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button3.ForeColor = System.Drawing.Color.Red; - this.Button3.Location = new System.Drawing.Point(18, 208); + this.Button3.Location = new System.Drawing.Point(11, 173); this.Button3.Name = "Button3"; - this.Button3.Size = new System.Drawing.Size(38, 30); + this.Button3.Size = new System.Drawing.Size(36, 28); this.Button3.TabIndex = 60; this.Button3.Text = "MS"; this.Button3.UseVisualStyleBackColor = true; @@ -241,24 +252,27 @@ // Button22 // this.Button22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button22.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button22.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button22.Location = new System.Drawing.Point(252, 136); + this.Button22.Location = new System.Drawing.Point(223, 105); this.Button22.Name = "Button22"; - this.Button22.Size = new System.Drawing.Size(38, 30); + this.Button22.Size = new System.Drawing.Size(36, 28); this.Button22.TabIndex = 80; this.Button22.Text = "sqrt"; + this.Button22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Button22.UseVisualStyleBackColor = true; this.Button22.Click += new System.EventHandler(this.Button22_Click); // // Button4 // this.Button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button4.ForeColor = System.Drawing.Color.Red; - this.Button4.Location = new System.Drawing.Point(18, 136); + this.Button4.Location = new System.Drawing.Point(11, 105); this.Button4.Name = "Button4"; - this.Button4.Size = new System.Drawing.Size(38, 30); + this.Button4.Size = new System.Drawing.Size(36, 28); this.Button4.TabIndex = 61; this.Button4.Text = "MC"; this.Button4.UseVisualStyleBackColor = true; @@ -266,11 +280,12 @@ // Button23 // this.Button23.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button23.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button23.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button23.Location = new System.Drawing.Point(252, 208); + this.Button23.Location = new System.Drawing.Point(223, 173); this.Button23.Name = "Button23"; - this.Button23.Size = new System.Drawing.Size(38, 30); + this.Button23.Size = new System.Drawing.Size(36, 28); this.Button23.TabIndex = 79; this.Button23.Text = "1/x"; this.Button23.UseVisualStyleBackColor = true; @@ -279,11 +294,12 @@ // Button11 // this.Button11.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button11.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button11.ForeColor = System.Drawing.Color.Blue; - this.Button11.Location = new System.Drawing.Point(162, 136); + this.Button11.Location = new System.Drawing.Point(143, 105); this.Button11.Name = "Button11"; - this.Button11.Size = new System.Drawing.Size(38, 30); + this.Button11.Size = new System.Drawing.Size(36, 28); this.Button11.TabIndex = 70; this.Button11.Text = "9"; this.Button11.UseVisualStyleBackColor = true; @@ -292,11 +308,12 @@ // Button7 // this.Button7.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button7.ForeColor = System.Drawing.Color.Blue; - this.Button7.Location = new System.Drawing.Point(74, 172); + this.Button7.Location = new System.Drawing.Point(63, 139); this.Button7.Name = "Button7"; - this.Button7.Size = new System.Drawing.Size(38, 30); + this.Button7.Size = new System.Drawing.Size(36, 28); this.Button7.TabIndex = 62; this.Button7.Text = "4"; this.Button7.UseVisualStyleBackColor = true; @@ -305,11 +322,12 @@ // Button16 // this.Button16.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button16.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button16.ForeColor = System.Drawing.Color.Blue; - this.Button16.Location = new System.Drawing.Point(74, 243); + this.Button16.Location = new System.Drawing.Point(63, 207); this.Button16.Name = "Button16"; - this.Button16.Size = new System.Drawing.Size(38, 30); + this.Button16.Size = new System.Drawing.Size(36, 28); this.Button16.TabIndex = 71; this.Button16.Text = "0"; this.Button16.UseVisualStyleBackColor = true; @@ -318,11 +336,12 @@ // Button24 // this.Button24.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button24.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button24.ForeColor = System.Drawing.Color.MidnightBlue; - this.Button24.Location = new System.Drawing.Point(252, 172); + this.Button24.Location = new System.Drawing.Point(223, 139); this.Button24.Name = "Button24"; - this.Button24.Size = new System.Drawing.Size(38, 30); + this.Button24.Size = new System.Drawing.Size(36, 28); this.Button24.TabIndex = 78; this.Button24.Text = "%"; this.Button24.UseVisualStyleBackColor = true; @@ -331,11 +350,12 @@ // Button12 // this.Button12.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button12.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button12.ForeColor = System.Drawing.Color.Blue; - this.Button12.Location = new System.Drawing.Point(162, 208); + this.Button12.Location = new System.Drawing.Point(143, 173); this.Button12.Name = "Button12"; - this.Button12.Size = new System.Drawing.Size(38, 30); + this.Button12.Size = new System.Drawing.Size(36, 28); this.Button12.TabIndex = 69; this.Button12.Text = "3"; this.Button12.UseVisualStyleBackColor = true; @@ -344,11 +364,12 @@ // Button6 // this.Button6.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button6.ForeColor = System.Drawing.Color.Blue; - this.Button6.Location = new System.Drawing.Point(74, 208); + this.Button6.Location = new System.Drawing.Point(63, 173); this.Button6.Name = "Button6"; - this.Button6.Size = new System.Drawing.Size(38, 30); + this.Button6.Size = new System.Drawing.Size(36, 28); this.Button6.TabIndex = 63; this.Button6.Text = "1"; this.Button6.UseVisualStyleBackColor = true; @@ -357,11 +378,12 @@ // Button15 // this.Button15.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button15.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button15.ForeColor = System.Drawing.Color.Blue; - this.Button15.Location = new System.Drawing.Point(118, 243); + this.Button15.Location = new System.Drawing.Point(103, 207); this.Button15.Name = "Button15"; - this.Button15.Size = new System.Drawing.Size(38, 30); + this.Button15.Size = new System.Drawing.Size(36, 28); this.Button15.TabIndex = 72; this.Button15.Text = "+/-"; this.Button15.UseVisualStyleBackColor = true; @@ -370,11 +392,12 @@ // Button17 // this.Button17.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button17.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button17.ForeColor = System.Drawing.Color.Red; - this.Button17.Location = new System.Drawing.Point(208, 243); + this.Button17.Location = new System.Drawing.Point(183, 207); this.Button17.Name = "Button17"; - this.Button17.Size = new System.Drawing.Size(38, 30); + this.Button17.Size = new System.Drawing.Size(36, 28); this.Button17.TabIndex = 77; this.Button17.Text = "+"; this.Button17.UseVisualStyleBackColor = true; @@ -383,11 +406,12 @@ // Button13 // this.Button13.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button13.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button13.ForeColor = System.Drawing.Color.Blue; - this.Button13.Location = new System.Drawing.Point(162, 172); + this.Button13.Location = new System.Drawing.Point(143, 139); this.Button13.Name = "Button13"; - this.Button13.Size = new System.Drawing.Size(38, 30); + this.Button13.Size = new System.Drawing.Size(36, 28); this.Button13.TabIndex = 68; this.Button13.Text = "6"; this.Button13.UseVisualStyleBackColor = true; @@ -396,11 +420,12 @@ // Button5 // this.Button5.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button5.ForeColor = System.Drawing.Color.Blue; - this.Button5.Location = new System.Drawing.Point(74, 136); + this.Button5.Location = new System.Drawing.Point(63, 105); this.Button5.Name = "Button5"; - this.Button5.Size = new System.Drawing.Size(38, 30); + this.Button5.Size = new System.Drawing.Size(36, 28); this.Button5.TabIndex = 64; this.Button5.Text = "7"; this.Button5.UseVisualStyleBackColor = true; @@ -409,11 +434,12 @@ // Button14 // this.Button14.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button14.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button14.ForeColor = System.Drawing.Color.Blue; - this.Button14.Location = new System.Drawing.Point(162, 243); + this.Button14.Location = new System.Drawing.Point(143, 207); this.Button14.Name = "Button14"; - this.Button14.Size = new System.Drawing.Size(38, 30); + this.Button14.Size = new System.Drawing.Size(36, 28); this.Button14.TabIndex = 73; this.Button14.Text = "."; this.Button14.UseVisualStyleBackColor = true; @@ -422,11 +448,12 @@ // Button18 // this.Button18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button18.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button18.ForeColor = System.Drawing.Color.Red; - this.Button18.Location = new System.Drawing.Point(208, 136); + this.Button18.Location = new System.Drawing.Point(183, 105); this.Button18.Name = "Button18"; - this.Button18.Size = new System.Drawing.Size(38, 30); + this.Button18.Size = new System.Drawing.Size(36, 28); this.Button18.TabIndex = 76; this.Button18.Text = "/"; this.Button18.UseVisualStyleBackColor = true; @@ -435,11 +462,12 @@ // Button8 // this.Button8.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button8.ForeColor = System.Drawing.Color.Blue; - this.Button8.Location = new System.Drawing.Point(118, 136); + this.Button8.Location = new System.Drawing.Point(103, 105); this.Button8.Name = "Button8"; - this.Button8.Size = new System.Drawing.Size(38, 30); + this.Button8.Size = new System.Drawing.Size(36, 28); this.Button8.TabIndex = 67; this.Button8.Text = "8"; this.Button8.UseVisualStyleBackColor = true; @@ -448,11 +476,12 @@ // Button10 // this.Button10.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button10.ForeColor = System.Drawing.Color.Blue; - this.Button10.Location = new System.Drawing.Point(118, 172); + this.Button10.Location = new System.Drawing.Point(103, 139); this.Button10.Name = "Button10"; - this.Button10.Size = new System.Drawing.Size(38, 30); + this.Button10.Size = new System.Drawing.Size(36, 28); this.Button10.TabIndex = 65; this.Button10.Text = "5"; this.Button10.UseVisualStyleBackColor = true; @@ -461,11 +490,12 @@ // Button20 // this.Button20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button20.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button20.ForeColor = System.Drawing.Color.Red; - this.Button20.Location = new System.Drawing.Point(208, 172); + this.Button20.Location = new System.Drawing.Point(183, 139); this.Button20.Name = "Button20"; - this.Button20.Size = new System.Drawing.Size(38, 30); + this.Button20.Size = new System.Drawing.Size(36, 28); this.Button20.TabIndex = 74; this.Button20.Text = "*"; this.Button20.UseVisualStyleBackColor = true; @@ -474,11 +504,12 @@ // Button19 // this.Button19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button19.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button19.ForeColor = System.Drawing.Color.Red; - this.Button19.Location = new System.Drawing.Point(208, 208); + this.Button19.Location = new System.Drawing.Point(183, 173); this.Button19.Name = "Button19"; - this.Button19.Size = new System.Drawing.Size(38, 30); + this.Button19.Size = new System.Drawing.Size(36, 28); this.Button19.TabIndex = 75; this.Button19.Text = "-"; this.Button19.UseVisualStyleBackColor = true; @@ -487,11 +518,12 @@ // Button9 // this.Button9.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.Button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.Button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Button9.ForeColor = System.Drawing.Color.Blue; - this.Button9.Location = new System.Drawing.Point(118, 208); + this.Button9.Location = new System.Drawing.Point(103, 173); this.Button9.Name = "Button9"; - this.Button9.Size = new System.Drawing.Size(38, 30); + this.Button9.Size = new System.Drawing.Size(36, 28); this.Button9.TabIndex = 66; this.Button9.Text = "2"; this.Button9.UseVisualStyleBackColor = true; @@ -500,20 +532,33 @@ // MenuStrip2 // this.MenuStrip2.BackColor = System.Drawing.Color.Silver; + this.MenuStrip2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.EditToolStripMenuItem1, this.HelpToolStripMenuItem2, this.HelpToolStripMenuItem3}); this.MenuStrip2.Location = new System.Drawing.Point(0, 0); this.MenuStrip2.Name = "MenuStrip2"; - this.MenuStrip2.Size = new System.Drawing.Size(308, 24); + this.MenuStrip2.Size = new System.Drawing.Size(270, 24); this.MenuStrip2.TabIndex = 86; this.MenuStrip2.Text = "MenuStrip2"; // + // pictureBox1 + // + this.pictureBox1.BackgroundImage = global::TimeHACK.Properties.Resources.ie4_hsplitter; + this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.pictureBox1.Location = new System.Drawing.Point(1, 24); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(268, 2); + this.pictureBox1.TabIndex = 87; + this.pictureBox1.TabStop = false; + // // WinClassicCalculator // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Silver; + this.Controls.Add(this.pictureBox1); this.Controls.Add(this.txtNumbers); this.Controls.Add(this.Button27); this.Controls.Add(this.Button26); @@ -544,10 +589,11 @@ this.Controls.Add(this.Button9); this.Controls.Add(this.MenuStrip2); this.Name = "WinClassicCalculator"; - this.Size = new System.Drawing.Size(308, 276); + this.Size = new System.Drawing.Size(270, 247); this.Load += new System.EventHandler(this.WinClassicCalculator_Load); this.MenuStrip2.ResumeLayout(false); this.MenuStrip2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -593,5 +639,6 @@ internal System.Windows.Forms.Button Button19; internal System.Windows.Forms.Button Button9; internal System.Windows.Forms.MenuStrip MenuStrip2; + private System.Windows.Forms.PictureBox pictureBox1; } } diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs index 14111c1..9e923bb 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicCalculator.cs @@ -16,6 +16,19 @@ namespace TimeHACK.OS.Win95.Win95Apps public WinClassicCalculator() { InitializeComponent(); + foreach (Control c in Controls) + { + if (c is Button) + { + c.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Bold, GraphicsUnit.Point, ((byte)(0))); + c.Paint += (sender, args) => Paintbrush.PaintClassicBorders(sender, args, 2); + } + else + { + c.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); + } + } + txtNumbers.Paint += (sender, args) => Paintbrush.PaintClassicBordersIndented(sender, args, 2); } public double prevnum = 0; public bool iszero = true; @@ -180,6 +193,10 @@ namespace TimeHACK.OS.Win95.Win95Apps switch (coperator) { case "+": + if (prevnum == 0) + { + break; + } txtNumbers.Text = (prevnum + double.Parse(txtNumbers.Text)).ToString(); prevnum = double.Parse(txtNumbers.Text); break; @@ -221,7 +238,7 @@ namespace TimeHACK.OS.Win95.Win95Apps coperator = "+"; Calculate(); prevnum = double.Parse(txtNumbers.Text); - txtNumbers.Text = "0"; + iszero = true; } private void Button19_Click(object sender, EventArgs e) diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs index 57fa683..e2c8d64 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTimeDistorter.cs @@ -26,6 +26,7 @@ namespace TimeHACK.OS.Win95 { lblCountDown.Visible = true; btnGo.Enabled = false; + ((WinClassic)ParentForm).closeDisabled = true; _action?.Invoke(); countDownTimer.Start(); diff --git a/TimeHACK.Main/Properties/Resources.Designer.cs b/TimeHACK.Main/Properties/Resources.Designer.cs index 65971a2..ee5c4c5 100644 --- a/TimeHACK.Main/Properties/Resources.Designer.cs +++ b/TimeHACK.Main/Properties/Resources.Designer.cs @@ -328,6 +328,16 @@ namespace TimeHACK.Properties { /// <summary> /// Looks up a localized resource of type System.Drawing.Bitmap. /// </summary> + internal static System.Drawing.Bitmap ie4about { + get { + object obj = ResourceManager.GetObject("ie4about", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// </summary> internal static System.Drawing.Bitmap LauncherSideBar { get { object obj = ResourceManager.GetObject("LauncherSideBar", resourceCulture); diff --git a/TimeHACK.Main/Properties/Resources.resx b/TimeHACK.Main/Properties/Resources.resx index 7fd3bd8..cf2df35 100644 --- a/TimeHACK.Main/Properties/Resources.resx +++ b/TimeHACK.Main/Properties/Resources.resx @@ -522,7 +522,7 @@ <data name="Win95IconIE4" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vwAADr8BOAVTJAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ + vgAADr4B6kKxwAAAAJVJREFUOE+VkQsSxCAMQj16bu4GFU3YdO2+Gaqi0F/7j96zfqKHqYiuByYBFfYJ 1okT9uuef4slmG9gWjdzN4Wnf9bRT1RhaCN+KriGieyvkjr8Rl7AMMbywE0zCBiIBS9Awbn7tUD29xME Q0rM8IHhPbziKRhMU0pqjVIfcgHAfB2oiugnuEnG/EkZ/4fLZEksutHaB6sGQO/gf7MbAAAAAElFTkSu QmCC @@ -651,4 +651,7 @@ <data name="ie4_vsplitter3" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\ie4_hsplitter2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="ie4about" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\IE4\ie4about.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> </root>
\ No newline at end of file diff --git a/TimeHACK.Main/Resources/IE4/ie4about.png b/TimeHACK.Main/Resources/IE4/ie4about.png Binary files differnew file mode 100644 index 0000000..c76c16c --- /dev/null +++ b/TimeHACK.Main/Resources/IE4/ie4about.png diff --git a/TimeHACK.Main/TimeHACK.Main.csproj b/TimeHACK.Main/TimeHACK.Main.csproj index ce7407e..b0ac5d0 100644 --- a/TimeHACK.Main/TimeHACK.Main.csproj +++ b/TimeHACK.Main/TimeHACK.Main.csproj @@ -471,6 +471,7 @@ <Content Include="Resources\IE4\google.jpg" /> <Content Include="Resources\IE4\googlehome.html" /> <Content Include="Resources\IE4\googleprototype.html" /> + <None Include="Resources\IE4\ie4about.png" /> <Content Include="Resources\IE4\ie4start.html" /> <None Include="Resources\IE4\nopage.bmp" /> <Content Include="Resources\IE4\padams.html" /> |
