aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-04-09 19:38:33 -0400
committerlempamo <[email protected]>2017-04-09 19:38:33 -0400
commit486d33b73a8beec3c1080cf5c501ceeafcddc4fa (patch)
treef84d14bbcb4fdcae4e0ed414359e1d6674a08bdb /TimeHACK.Main/OS/Win95
parent5825e897515553ea4306ac3e41073f92501510a5 (diff)
downloadhistacom2-486d33b73a8beec3c1080cf5c501ceeafcddc4fa.tar.gz
histacom2-486d33b73a8beec3c1080cf5c501ceeafcddc4fa.tar.bz2
histacom2-486d33b73a8beec3c1080cf5c501ceeafcddc4fa.zip
about boxes!
Diffstat (limited to 'TimeHACK.Main/OS/Win95')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.Designer.cs3
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs4
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs3
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs7
4 files changed, 13 insertions, 4 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
index e54bd3a..36f249a 100644
--- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
@@ -29,7 +29,7 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95));
+ this.resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95));
System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("My Computer", 0);
System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Network Neighborhood", 5);
System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("Inbox", 3);
@@ -1232,6 +1232,7 @@
internal System.Windows.Forms.ToolStripMenuItem BitmapImageToolStripMenuItem;
internal System.Windows.Forms.ToolStripMenuItem MicrosoftDataLinkToolStripMenuItem;
internal System.Windows.Forms.ToolStripMenuItem PropertiesToolStripMenuItem1;
+ internal System.ComponentModel.ComponentResourceManager resources;
private System.Windows.Forms.ToolStripMenuItem windowManagerTestToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem downloaderTestToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem installerTestToolStripMenuItem;
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index 3a0883a..00adbdb 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -169,7 +169,7 @@ namespace TimeHACK.OS.Win95
private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e)
{
WinClassicIE4 ie = new WinClassicIE4();
- Engine.Template.WinClassic app = wm.startWin95(ie, "Internet Explorer 4", null, true, true);
+ Engine.Template.WinClassic app = wm.startWin95(ie, "Internet Explorer 4", (Image)resources.GetObject("InternetExplorerToolStripMenuItem.Image"), true, true);
app.BringToFront();
startmenu.Hide();
}
@@ -187,7 +187,7 @@ namespace TimeHACK.OS.Win95
if (objListViewItem.Text == "Internet Explorer")
{
WinClassicIE4 ie = new WinClassicIE4();
- Engine.Template.WinClassic app = wm.startWin95(ie, "Internet Explorer 4", null, true, true);
+ Engine.Template.WinClassic app = wm.startWin95(ie, "Internet Explorer 4", (Image)resources.GetObject("InternetExplorerToolStripMenuItem.Image"), true, true);
app.BringToFront();
startmenu.Hide();
} else if (objListViewItem.Text == "Web Chat Setup")
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs
index 255feaa..240670c 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.Designer.cs
@@ -304,12 +304,13 @@
this.aboutNotepadToolStripMenuItem.Name = "aboutNotepadToolStripMenuItem";
this.aboutNotepadToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
this.aboutNotepadToolStripMenuItem.Text = "About Notepad";
+ this.aboutNotepadToolStripMenuItem.Click += new System.EventHandler(this.aboutNotepadToolStripMenuItem_Click);
//
// textBox1
//
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.textBox1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.Location = new System.Drawing.Point(0, 27);
this.textBox1.MaxLength = 131072;
this.textBox1.Multiline = true;
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs
index 5835c6d..6542f4c 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/Win95Notepad.cs
@@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
+using TimeHACK.Engine;
namespace TimeHACK.OS.Win95.Win95Apps
{
@@ -29,5 +30,11 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
this.ParentForm.Close();
}
+
+ private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WindowManager wm = new WindowManager();
+ wm.startAboutBox95("Notepad", "Microsoft Notepad", Properties.Resources.WinClassicNotepad);
+ }
}
}