aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.Designer.cs10
-rw-r--r--TimeHACK.Main/OS/Win95/Win95.cs783
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs247
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs1
4 files changed, 426 insertions, 615 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
index e789520..6464567 100644
--- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs
@@ -273,6 +273,7 @@ namespace TimeHACK.OS.Win95
this.ProgramsToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0);
this.ProgramsToolStripMenuItem.Size = new System.Drawing.Size(138, 36);
this.ProgramsToolStripMenuItem.Text = "Programs";
+ this.ProgramsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// AccessoriesToolStripMenuItem
//
@@ -298,6 +299,7 @@ namespace TimeHACK.OS.Win95
this.AccessoriesToolStripMenuItem.Name = "AccessoriesToolStripMenuItem";
this.AccessoriesToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
this.AccessoriesToolStripMenuItem.Text = "Accessories";
+ this.AccessoriesToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// CommunicationsToolStripMenuItem
//
@@ -312,6 +314,7 @@ namespace TimeHACK.OS.Win95
this.CommunicationsToolStripMenuItem.Name = "CommunicationsToolStripMenuItem";
this.CommunicationsToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
this.CommunicationsToolStripMenuItem.Text = "Communications";
+ this.CommunicationsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// InternetConnectionWizardToolStripMenuItem
//
@@ -352,6 +355,7 @@ namespace TimeHACK.OS.Win95
this.MultimediaToolStripMenuItem.Name = "MultimediaToolStripMenuItem";
this.MultimediaToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
this.MultimediaToolStripMenuItem.Text = "Multimedia";
+ this.MultimediaToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// CDPlayerToolStripMenuItem
//
@@ -410,6 +414,7 @@ namespace TimeHACK.OS.Win95
this.SystemToolsToolStripMenuItem.Name = "SystemToolsToolStripMenuItem";
this.SystemToolsToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
this.SystemToolsToolStripMenuItem.Text = "System Tools";
+ this.SystemToolsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// DiskDefragmenterToolStripMenuItem
//
@@ -551,6 +556,7 @@ namespace TimeHACK.OS.Win95
this.StartUpToolStripMenuItem.Name = "StartUpToolStripMenuItem";
this.StartUpToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
this.StartUpToolStripMenuItem.Text = "Online Services";
+ this.StartUpToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// AOLInternetFREETrialToolStripMenuItem
//
@@ -604,6 +610,7 @@ namespace TimeHACK.OS.Win95
this.MSDOSPromptToolStripMenuItem.Name = "MSDOSPromptToolStripMenuItem";
this.MSDOSPromptToolStripMenuItem.Size = new System.Drawing.Size(181, 28);
this.MSDOSPromptToolStripMenuItem.Text = "StartUp";
+ this.MSDOSPromptToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// EmptyToolStripMenuItem
//
@@ -741,6 +748,7 @@ namespace TimeHACK.OS.Win95
this.DocumentsToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0);
this.DocumentsToolStripMenuItem.Size = new System.Drawing.Size(138, 36);
this.DocumentsToolStripMenuItem.Text = "Documents";
+ this.DocumentsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// windowManagerTestToolStripMenuItem
//
@@ -791,6 +799,7 @@ namespace TimeHACK.OS.Win95
this.SettingsToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0);
this.SettingsToolStripMenuItem.Size = new System.Drawing.Size(138, 36);
this.SettingsToolStripMenuItem.Text = "Settings";
+ this.SettingsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// ControlPanelToolStripMenuItem
//
@@ -836,6 +845,7 @@ namespace TimeHACK.OS.Win95
this.FindToolStripMenuItem.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.FindToolStripMenuItem.Size = new System.Drawing.Size(138, 36);
this.FindToolStripMenuItem.Text = "Find";
+ this.FindToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
//
// FilesOrFoldersToolStripMenuItem
//
diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs
index b362c62..f8dcb63 100644
--- a/TimeHACK.Main/OS/Win95/Win95.cs
+++ b/TimeHACK.Main/OS/Win95/Win95.cs
@@ -1,367 +1,416 @@
-using System;
-using System.Collections.Generic;
-using System.Drawing;
-using System.IO;
-using System.Media;
-using System.Windows.Forms;
-using TimeHACK.Engine;
-using TimeHACK.Engine.Template;
-using TimeHACK.Engine.Template.Taskbars;
-using TimeHACK.OS.Win95.Win95Apps;
-using TimeHACK.WinClassicForms;
-using TimeHACK.OS.Win95.Win95Apps.Story;
-
-namespace TimeHACK.OS.Win95
-{
- public partial class Windows95 : Form
- {
- private SoundPlayer startsound;
- public WindowManager wm = new WindowManager();
-
- public List<WinClassic> nonimportantapps = new List<WinClassic>();
- public WinClassic webchat;
- public WinClassic ie;
- public TaskBarController tb = new TaskBarController();
-
- public int currentappcount = 0;
-
- public bool webchatInstalled = false;
-
- public bool hiddenpadamsFound = false;
-
- // Init the form
- public Windows95()
- {
- InitializeComponent();
- startmenu.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
- }
-
- // When New Game is clicked in TitleScreen.cs
- private void Desktop_Load(object sender, EventArgs e)
- {
- // Make Font Mandatory
- fontLoad();
-
- // Play Windows 95 Start Sound
- Stream audio = Properties.Resources.Win95Start;
- startsound = new SoundPlayer(audio);
- startsound.Play();
-
- // Hide the Startmenu
- startmenu.Hide();
-
- // Check for and set VM Mode
- if (this.FormBorderStyle != FormBorderStyle.None)
- {
- this.Text = "TimeHACK - VM Mode";
- }
-
- // Start the ClockTimer
- clockTimer.Start();
-
- // Set the StartMenu seperator
- startmenuitems.Items.Insert(6, new ToolStripSeparator());
-
- //nonimportantapps.Capacity = 100;
- this.SendToBack();
-
- // Update the taskbar
- UpdateTaskbar();
-
- // Bring to this the front
- this.BringToFront();
- }
-
- private void fontLoad()
- {
- this.taskbartime.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.ProgramsToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.DocumentsToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.SettingsToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.FindToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.HelpToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.RunToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.SuspendToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.ShutdownToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- this.desktopicons.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
- }
-
- #region StartMenu
-
- // StartButton Click
- private void startbutton_Click(object sender, EventArgs e)
- {
- startmenu.Show();
- startmenu.BringToFront();
- if (taskbar.Visible) taskbar.BringToFront();
- }
-
- // Shutdown button
- private void ShutdownToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Program.ShutdownApplication(Properties.Resources.tada);
- }
-
- #endregion //Region
-
- // When add new folder is clicked
- private void FolderToolStripMenuItem_Click(object sender, EventArgs e)
- {
- desktopicons.Items.Add("New Folder");
- }
-
- // Give Year Code - NYI
- private void taskbartime_Click(object sender, EventArgs e)
- {
- //TODO: Set Up Save System
- }
-
- // Set the Clock
- private void clockTimer_Tick(object sender, EventArgs e)
- {
- taskbartime.Text = DateTime.Now.ToString("h:mm tt");
- }
-
- // On Desktop MouseDown
- private void desktop_mousedown(object sender, MouseEventArgs e)
- {
- if (e.Button == MouseButtons.Right)
- {
- rightclickbackproperties.Show();
- rightclickbackproperties.BringToFront();
- rightclickbackproperties.Location = MousePosition;
- }
-
- // If
- else if (e.Button == MouseButtons.Left)
- {
- rightclickbackproperties.Hide();
- startmenu.Hide();
- }
-
- else if (e.Button == MouseButtons.Middle)
- {
- rightclickbackproperties.Hide();
- }
- }
-
- private void NotePadToolStripMenuItem_Click(object sender, EventArgs e)
- {
- WinClassicNotepad wp = new WinClassicNotepad();
- WinClassic app = wm.StartWin95(wp, "Notepad", Properties.Resources.Win95IconNotepad, true, true);
- AddTaskBarItem(app, app.Tag.ToString(), "Notepad", Properties.Resources.Win95IconNotepad);
-
- nonimportantapps.Add(app);
- nonimportantapps[nonimportantapps.Count - 1].BringToFront();
- nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
-
- app.BringToFront();
- startmenu.Hide();
- }
- private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e)
- {
- TestApp test = new TestApp();
- WinClassic app = wm.StartWin95(test, "TestApp", null, true, true);
- AddTaskBarItem(app, app.Tag.ToString(), "TestApp", null);
- app.BringToFront();
- startmenu.Hide();
- }
-
- private void downloaderTestToolStripMenuItem_Click(object sender, EventArgs e)
- {
- WinClassicDownloader opendownload = new WinClassicDownloader();
- WinClassic app = wm.StartWin95(opendownload, "Downloader", null, false, true);
- opendownload.appName.Text = "Downloading: Survive The Day";
-
- AddTaskBarItem(app, app.Tag.ToString(), "Downloader", null);
-
- app.BringToFront();
- startmenu.Hide();
- }
-
- private void installerTestToolStripMenuItem_Click(object sender, EventArgs e)
- {
- WinClassicInstaller openinstaller = new WinClassicInstaller();
- WinClassic app = wm.StartWin95(openinstaller, "Installer", null, false, true);
-
- AddTaskBarItem(app, app.Tag.ToString(), "Installer", null);
-
- app.BringToFront();
- startmenu.Hide();
- }
-
- private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e)
- {
- if (ie != null) { wm.StartInfobox95("Error Opening Internet Explorer", "An instance of Internet Explorer 4 is already open.", Properties.Resources.Win95Warning); return; }
- ie = wm.StartWin95(new WinClassicIE4(), "Internet Explorer 4", Properties.Resources.Win95IconIE4, true, true);
- AddTaskBarItem(ie, ie.Tag.ToString(), "Internet Explorer 4", Properties.Resources.Win95IconIE4);
- ie.BringToFront();
- ie.FormClosing += new FormClosingEventHandler(InternetExplorer4_Closing);
- startmenu.Hide();
- }
-
- private void desktopicons_Click(object sender, EventArgs e)
- {
- Point objDrawingPoint = desktopicons.PointToClient(Cursor.Position);
- ListViewItem objListViewItem;
-
- if (objDrawingPoint != null)
- {
- objListViewItem = desktopicons.GetItemAt(objDrawingPoint.X, objDrawingPoint.Y);
- if (objListViewItem != null)
- {
- if (objListViewItem.Text == "Internet Explorer")
- {
- if (ie != null) { wm.StartInfobox95("Error Opening Internet Explorer", "An instance of Internet Explorer 4 is already open.", Properties.Resources.Win95Warning); return; }
- ie = wm.StartWin95(new WinClassicIE4(), "Internet Explorer 4", Properties.Resources.Win95IconIE4, true, true);
- AddTaskBarItem(ie, ie.Tag.ToString(), "Internet Explorer 4", Properties.Resources.Win95IconIE4);
- ie.BringToFront();
- ie.FormClosing += new FormClosingEventHandler(InternetExplorer4_Closing);
- startmenu.Hide();
- }
- else if (objListViewItem.Text == "Web Chat Setup")
- {
- WinClassicInstaller inst = new WinClassicInstaller();
- inst.installname.Text = "Web Chat 1998";
- WinClassic app = wm.StartWin95(inst, "Web Chat Setup", null, true, true);
- AddTaskBarItem(app, app.Tag.ToString(), "Web Chat Setup", null);
- app.BringToFront();
- startmenu.Hide();
- }
- }
- }
- }
-
- private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e)
- {
- WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info);
-
- app.BringToFront();
- startmenu.Hide();
- }
- private void WebChatToolStripMenuItem_Click(object sender, EventArgs e)
- {
- WebChat1998 wc = new WebChat1998();
- WinClassic app = wm.StartWin95(wc, "Web Chat 1998", null, true, true);
-
- AddTaskBarItem(app, app.Tag.ToString(), "Web Chat 1998", null);
-
- app.BringToFront();
- startmenu.Hide();
- }
- public void NonImportantApp_Closing(object sender, FormClosingEventArgs e)
- {
- nonimportantapps.Remove((WinClassic)sender);
- }
- private void InternetExplorer4_Closing(object sender, FormClosingEventArgs e)
- {
- ie = null;
- }
-
- private void WordPadToolStripMenuItem_Click(object sender, EventArgs e)
- {
- WinClassicWordPad wp = new WinClassicWordPad();
- WinClassic app = wm.StartWin95(wp, "Wordpad", Properties.Resources.Win95IconWordpad, true, true);
- AddTaskBarItem(app, app.Tag.ToString(), "Wordpad", Properties.Resources.Win95IconWordpad);
-
- nonimportantapps.Add(app);
- nonimportantapps[nonimportantapps.Count - 1].BringToFront();
- nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
-
- app.BringToFront();
- startmenu.Hide();
- }
-
- public void AddTaskBarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon)
- {
- taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Win95TaskBarItem(), taskbarItems);
- Application.FormClosed += new FormClosedEventHandler(UpdateTaskbarFromClosedApplication);
- }
-
- public void UpdateTaskbarFromClosedApplication(object sender, FormClosedEventArgs e)
- {
- UpdateTaskbar();
- }
-
- public void UpdateTaskbar()
- {
- // Clears out all the items on the taskbar
- taskbarItems.Controls.Clear();
-
- // Loops through all the Applications which are open
-
- foreach (Form form in tb.GetAllOpenApps())
- {
- // Calls that "AddToTaskbar" thing
- taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Win95TaskBarItem(), taskbarItems);
- }
- }
-
- private void AddressBookToolStripMenuItem_Click(object sender, EventArgs e)
- {
- WinClassicAddressBook ab = new WinClassicAddressBook();
- WinClassic app = wm.StartWin95(ab, "Address Book", Properties.Resources.WinClassicAddressBook, true, true);
- AddTaskBarItem(app, app.Tag.ToString(), "Address Book", Properties.Resources.WinClassicAddressBook);
-
- nonimportantapps.Add(app);
- nonimportantapps[nonimportantapps.Count - 1].BringToFront();
- nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
-
- app.BringToFront();
- startmenu.Hide();
- }
-
- private void WindowsExplorerToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- FileDialogBoxManager.IsInOpenDialog = false;
- FileDialogBoxManager.IsInSaveDialog = false;
- WinClassicWindowsExplorer we = new WinClassicWindowsExplorer();
- WinClassic app = wm.StartWin95(we, "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true);
- AddTaskBarItem(app, app.Tag.ToString(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer);
-
- nonimportantapps.Add(app);
- nonimportantapps[nonimportantapps.Count - 1].BringToFront();
- nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
-
- app.BringToFront();
- startmenu.Hide();
- }
-
- private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e)
- {
- Hack1.startObjective();
- }
-
- private void temp_for_std(object sender, EventArgs e)
- {
- System.Threading.Thread thread = new System.Threading.Thread(StartSurviveTheDay);
-
- thread.Start();
- }
-
- void StartSurviveTheDay()
- {
- Win2K.Win2KApps.SurviveTheDay std = new Win2K.Win2KApps.SurviveTheDay();
- WinClassic app = wm.StartWin95(std, "Survive The Day", null, false, false);
- AddTaskBarItem(app, app.Tag.ToString(), "Survive The Day", null);
-
- nonimportantapps.Add(app);
- nonimportantapps[nonimportantapps.Count - 1].BringToFront();
- nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
-
- app.BringToFront();
- startmenu.Hide();
- }
-
- private void MSDOSPromptToolStripMenuItem1_Click (object sender, EventArgs e)
- {
- WinClassicTerminal msdos = new WinClassicTerminal(false);
- WinClassic app = wm.StartWin95(msdos, "MS-DOS Prompt", Properties.Resources.MS_DOS, true, true, false);
-
- AddTaskBarItem(app, app.Tag.ToString(), "MS-DOS Prompt", Properties.Resources.MS_DOS);
- app.BringToFront();
- startmenu.Hide();
- }
- }
-}
-
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.IO;
+using System.Media;
+using System.Windows.Forms;
+using TimeHACK.Engine;
+using TimeHACK.Engine.Template;
+using TimeHACK.Engine.Template.Taskbars;
+using TimeHACK.OS.Win95.Win95Apps;
+using TimeHACK.WinClassicForms;
+using TimeHACK.OS.Win95.Win95Apps.Story;
+
+namespace TimeHACK.OS.Win95
+{
+
+
+ public partial class Windows95 : Form
+ {
+ private SoundPlayer startsound;
+ public WindowManager wm = new WindowManager();
+
+ public List<WinClassic> nonimportantapps = new List<WinClassic>();
+ public WinClassic webchat;
+ public WinClassic ie;
+ public TaskBarController tb = new TaskBarController();
+
+ public int currentappcount = 0;
+
+ public bool webchatInstalled = false;
+
+ public bool hiddenpadamsFound = false;
+
+ // Init the form
+ public Windows95()
+ {
+ InitializeComponent();
+ startmenu.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
+ foreach (ToolStripMenuItem item in startmenuitems.Items)
+ {
+ item.MouseEnter += new EventHandler(MenuItem_MouseEnter);
+ item.MouseLeave += new EventHandler(MenuItem_MouseLeave);
+ }
+ foreach (ToolStripMenuItem item in ProgramsToolStripMenuItem.DropDown.Items)
+ {
+ item.MouseEnter += new EventHandler(MenuItem_MouseEnter);
+ item.MouseLeave += new EventHandler(MenuItem_MouseLeave);
+ }
+ }
+
+ private void MenuItem_MouseEnter(object sender, EventArgs e)
+ {
+ ((ToolStripMenuItem)sender).ForeColor = Color.White;
+ }
+
+ private void MenuItem_MouseLeave(object sender, EventArgs e)
+ {
+ ((ToolStripMenuItem)sender).ForeColor = Color.Black;
+ }
+
+ // When New Game is clicked in TitleScreen.cs
+ private void Desktop_Load(object sender, EventArgs e)
+ {
+ //Start Menu Color
+ startmenuitems.Renderer = new MyRenderer();
+ ProgramsToolStripMenuItem.DropDown.Renderer = new MyRenderer();
+ // Make Font Mandatory
+ fontLoad();
+
+ // Play Windows 95 Start Sound
+ Stream audio = Properties.Resources.Win95Start;
+ startsound = new SoundPlayer(audio);
+ startsound.Play();
+
+ // Hide the Startmenu
+ startmenu.Hide();
+
+ // Check for and set VM Mode
+ if (this.FormBorderStyle != FormBorderStyle.None)
+ {
+ this.Text = "TimeHACK - VM Mode";
+ }
+
+ // Start the ClockTimer
+ clockTimer.Start();
+
+ // Set the StartMenu seperator
+ startmenuitems.Items.Insert(6, new ToolStripSeparator());
+
+ //nonimportantapps.Capacity = 100;
+ this.SendToBack();
+
+ // Update the taskbar
+ UpdateTaskbar();
+
+ // Bring to this the front
+ this.BringToFront();
+ }
+
+ private void fontLoad()
+ {
+ this.taskbartime.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.ProgramsToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.DocumentsToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.SettingsToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.FindToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.HelpToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.RunToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.SuspendToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.ShutdownToolStripMenuItem.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ this.desktopicons.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
+ }
+
+ #region StartMenu
+
+ // StartButton Click
+ private void startbutton_Click(object sender, EventArgs e)
+ {
+ startmenu.Show();
+ startmenu.BringToFront();
+ if (taskbar.Visible) taskbar.BringToFront();
+ }
+
+ // Shutdown button
+ private void ShutdownToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ Program.ShutdownApplication(Properties.Resources.tada);
+ }
+
+ #endregion //Region
+
+ // When add new folder is clicked
+ private void FolderToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ desktopicons.Items.Add("New Folder");
+ }
+
+ // Give Year Code - NYI
+ private void taskbartime_Click(object sender, EventArgs e)
+ {
+ //TODO: Set Up Save System
+ }
+
+ // Set the Clock
+ private void clockTimer_Tick(object sender, EventArgs e)
+ {
+ taskbartime.Text = DateTime.Now.ToString("h:mm tt");
+ }
+
+ // On Desktop MouseDown
+ private void desktop_mousedown(object sender, MouseEventArgs e)
+ {
+ if (e.Button == MouseButtons.Right)
+ {
+ rightclickbackproperties.Show();
+ rightclickbackproperties.BringToFront();
+ rightclickbackproperties.Location = MousePosition;
+ }
+
+ // If
+ else if (e.Button == MouseButtons.Left)
+ {
+ rightclickbackproperties.Hide();
+ startmenu.Hide();
+ }
+
+ else if (e.Button == MouseButtons.Middle)
+ {
+ rightclickbackproperties.Hide();
+ }
+ }
+
+ private void NotePadToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WinClassicNotepad wp = new WinClassicNotepad();
+ WinClassic app = wm.StartWin95(wp, "Notepad", Properties.Resources.Win95IconNotepad, true, true);
+ AddTaskBarItem(app, app.Tag.ToString(), "Notepad", Properties.Resources.Win95IconNotepad);
+
+ nonimportantapps.Add(app);
+ nonimportantapps[nonimportantapps.Count - 1].BringToFront();
+ nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+ private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ TestApp test = new TestApp();
+ WinClassic app = wm.StartWin95(test, "TestApp", null, true, true);
+ AddTaskBarItem(app, app.Tag.ToString(), "TestApp", null);
+ app.BringToFront();
+ startmenu.Hide();
+ }
+
+ private void downloaderTestToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WinClassicDownloader opendownload = new WinClassicDownloader();
+ WinClassic app = wm.StartWin95(opendownload, "Downloader", null, false, true);
+ opendownload.appName.Text = "Downloading: Survive The Day";
+
+ AddTaskBarItem(app, app.Tag.ToString(), "Downloader", null);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+
+ private void installerTestToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WinClassicInstaller openinstaller = new WinClassicInstaller();
+ WinClassic app = wm.StartWin95(openinstaller, "Installer", null, false, true);
+
+ AddTaskBarItem(app, app.Tag.ToString(), "Installer", null);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+
+ private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ if (ie != null) { wm.StartInfobox95("Error Opening Internet Explorer", "An instance of Internet Explorer 4 is already open.", Properties.Resources.Win95Warning); return; }
+ ie = wm.StartWin95(new WinClassicIE4(), "Internet Explorer 4", Properties.Resources.Win95IconIE4, true, true);
+ AddTaskBarItem(ie, ie.Tag.ToString(), "Internet Explorer 4", Properties.Resources.Win95IconIE4);
+ ie.BringToFront();
+ ie.FormClosing += new FormClosingEventHandler(InternetExplorer4_Closing);
+ startmenu.Hide();
+ }
+
+ private void desktopicons_Click(object sender, EventArgs e)
+ {
+ Point objDrawingPoint = desktopicons.PointToClient(Cursor.Position);
+ ListViewItem objListViewItem;
+
+ if (objDrawingPoint != null)
+ {
+ objListViewItem = desktopicons.GetItemAt(objDrawingPoint.X, objDrawingPoint.Y);
+ if (objListViewItem != null)
+ {
+ if (objListViewItem.Text == "Internet Explorer")
+ {
+ if (ie != null) { wm.StartInfobox95("Error Opening Internet Explorer", "An instance of Internet Explorer 4 is already open.", Properties.Resources.Win95Warning); return; }
+ ie = wm.StartWin95(new WinClassicIE4(), "Internet Explorer 4", Properties.Resources.Win95IconIE4, true, true);
+ AddTaskBarItem(ie, ie.Tag.ToString(), "Internet Explorer 4", Properties.Resources.Win95IconIE4);
+ ie.BringToFront();
+ ie.FormClosing += new FormClosingEventHandler(InternetExplorer4_Closing);
+ startmenu.Hide();
+ }
+ else if (objListViewItem.Text == "Web Chat Setup")
+ {
+ WinClassicInstaller inst = new WinClassicInstaller();
+ inst.installname.Text = "Web Chat 1998";
+ WinClassic app = wm.StartWin95(inst, "Web Chat Setup", null, true, true);
+ AddTaskBarItem(app, app.Tag.ToString(), "Web Chat Setup", null);
+ app.BringToFront();
+ startmenu.Hide();
+ }
+ }
+ }
+ }
+
+ private void infoboxTestToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WinClassic app = wm.StartInfobox95("AShifter's Infobox", "This is the very first TimeHACK Infobox. It's really easy to call, too! \n Just use wm.startInfobox95(String title, String text, Image erroricon)!", Properties.Resources.Win95Info);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+ private void WebChatToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WebChat1998 wc = new WebChat1998();
+ WinClassic app = wm.StartWin95(wc, "Web Chat 1998", null, true, true);
+
+ AddTaskBarItem(app, app.Tag.ToString(), "Web Chat 1998", null);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+ public void NonImportantApp_Closing(object sender, FormClosingEventArgs e)
+ {
+ nonimportantapps.Remove((WinClassic)sender);
+ }
+ private void InternetExplorer4_Closing(object sender, FormClosingEventArgs e)
+ {
+ ie = null;
+ }
+
+ private void WordPadToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WinClassicWordPad wp = new WinClassicWordPad();
+ WinClassic app = wm.StartWin95(wp, "Wordpad", Properties.Resources.Win95IconWordpad, true, true);
+ AddTaskBarItem(app, app.Tag.ToString(), "Wordpad", Properties.Resources.Win95IconWordpad);
+
+ nonimportantapps.Add(app);
+ nonimportantapps[nonimportantapps.Count - 1].BringToFront();
+ nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+
+ public void AddTaskBarItem(Form Application, string ApplicationID, string ApplicationName, Image ApplicationIcon)
+ {
+ taskbarItems = tb.AddTaskbarItem95(ApplicationID, ApplicationName, ApplicationIcon, (UserControl)new Win95TaskBarItem(), taskbarItems);
+ Application.FormClosed += new FormClosedEventHandler(UpdateTaskbarFromClosedApplication);
+ }
+
+ public void UpdateTaskbarFromClosedApplication(object sender, FormClosedEventArgs e)
+ {
+ UpdateTaskbar();
+ }
+
+ public void UpdateTaskbar()
+ {
+ // Clears out all the items on the taskbar
+ taskbarItems.Controls.Clear();
+
+ // Loops through all the Applications which are open
+
+ foreach (Form form in tb.GetAllOpenApps())
+ {
+ // Calls that "AddToTaskbar" thing
+ taskbarItems = tb.AddTaskbarItem95(form.Tag.ToString(), form.Text.ToString(), (Image)form.Icon.ToBitmap(), (UserControl)new Win95TaskBarItem(), taskbarItems);
+ }
+ }
+
+ private void AddressBookToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ WinClassicAddressBook ab = new WinClassicAddressBook();
+ WinClassic app = wm.StartWin95(ab, "Address Book", Properties.Resources.WinClassicAddressBook, true, true);
+ AddTaskBarItem(app, app.Tag.ToString(), "Address Book", Properties.Resources.WinClassicAddressBook);
+
+ nonimportantapps.Add(app);
+ nonimportantapps[nonimportantapps.Count - 1].BringToFront();
+ nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+
+ private void WindowsExplorerToolStripMenuItem1_Click(object sender, EventArgs e)
+ {
+ FileDialogBoxManager.IsInOpenDialog = false;
+ FileDialogBoxManager.IsInSaveDialog = false;
+ WinClassicWindowsExplorer we = new WinClassicWindowsExplorer();
+ WinClassic app = wm.StartWin95(we, "Windows Explorer", Properties.Resources.WinClassicFileExplorer, true, true);
+ AddTaskBarItem(app, app.Tag.ToString(), "Windows Explorer", Properties.Resources.WinClassicFileExplorer);
+
+ nonimportantapps.Add(app);
+ nonimportantapps[nonimportantapps.Count - 1].BringToFront();
+ nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+
+ private void storyTest1ToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ Hack1.startObjective();
+ }
+
+ private void temp_for_std(object sender, EventArgs e)
+ {
+ System.Threading.Thread thread = new System.Threading.Thread(StartSurviveTheDay);
+
+ thread.Start();
+ }
+
+ void StartSurviveTheDay()
+ {
+ Win2K.Win2KApps.SurviveTheDay std = new Win2K.Win2KApps.SurviveTheDay();
+ WinClassic app = wm.StartWin95(std, "Survive The Day", null, false, false);
+ AddTaskBarItem(app, app.Tag.ToString(), "Survive The Day", null);
+
+ nonimportantapps.Add(app);
+ nonimportantapps[nonimportantapps.Count - 1].BringToFront();
+ nonimportantapps[nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(NonImportantApp_Closing);
+
+ app.BringToFront();
+ startmenu.Hide();
+ }
+
+ private void MSDOSPromptToolStripMenuItem1_Click (object sender, EventArgs e)
+ {
+ WinClassicTerminal msdos = new WinClassicTerminal(false);
+ WinClassic app = wm.StartWin95(msdos, "MS-DOS Prompt", Properties.Resources.MS_DOS, true, true, false);
+
+ AddTaskBarItem(app, app.Tag.ToString(), "MS-DOS Prompt", Properties.Resources.MS_DOS);
+ app.BringToFront();
+ startmenu.Hide();
+ }
+ }
+ public class MyRenderer : ToolStripProfessionalRenderer
+ {
+ public MyRenderer() : base(new MyColors()) { }
+ }
+
+ public class MyColors : ProfessionalColorTable
+ {
+ public override Color MenuItemSelectedGradientBegin
+ {
+ get { return Color.Navy; }
+ }
+ public override Color MenuItemSelectedGradientEnd
+ {
+ get { return Color.Navy; }
+ }
+ public override Color MenuItemPressedGradientBegin
+ {
+ get { return Color.Navy; }
+ }
+ public override Color MenuItemPressedGradientEnd
+ {
+ get { return Color.Navy; }
+ }
+ }
+}
+
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
index 76d62b1..d2cea2e 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
@@ -179,24 +179,6 @@
this.googlebetalink = new System.Windows.Forms.LinkLabel();
this.googleprototypelink = new System.Windows.Forms.LinkLabel();
this.Label6 = new System.Windows.Forms.Label();
- this.googleprototype = new System.Windows.Forms.Panel();
- this.Label10 = new System.Windows.Forms.Label();
- this.Panel3 = new System.Windows.Forms.Panel();
- this.LinkLabel4 = new System.Windows.Forms.LinkLabel();
- this.Button11 = new System.Windows.Forms.Button();
- this.TextBox3 = new System.Windows.Forms.TextBox();
- this.Label9 = new System.Windows.Forms.Label();
- this.LinkLabel3 = new System.Windows.Forms.LinkLabel();
- this.LinkLabel2 = new System.Windows.Forms.LinkLabel();
- this.LinkLabel1 = new System.Windows.Forms.LinkLabel();
- this.Panel2 = new System.Windows.Forms.Panel();
- this.Label8 = new System.Windows.Forms.Label();
- this.Button10 = new System.Windows.Forms.Button();
- this.GoogleSearchButton = new System.Windows.Forms.Button();
- this.ComboBox1 = new System.Windows.Forms.ComboBox();
- this.TextBox2 = new System.Windows.Forms.TextBox();
- this.Label7 = new System.Windows.Forms.Label();
- this.pboxgoogleprototypelogo = new System.Windows.Forms.PictureBox();
this.Panel14 = new System.Windows.Forms.Panel();
this.GoButton = new System.Windows.Forms.Button();
this.addressbar = new System.Windows.Forms.ComboBox();
@@ -351,10 +333,6 @@
this.skindows95advertisment.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox11)).BeginInit();
this.googlemain.SuspendLayout();
- this.googleprototype.SuspendLayout();
- this.Panel3.SuspendLayout();
- this.Panel2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pboxgoogleprototypelogo)).BeginInit();
this.Panel14.SuspendLayout();
this.Panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
@@ -389,7 +367,6 @@
this.browsingarea.Controls.Add(this.secretwebsite);
this.browsingarea.Controls.Add(this.skindows95advertisment);
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(0, 111);
this.browsingarea.Name = "browsingarea";
@@ -1978,205 +1955,6 @@
this.Label6.TabIndex = 0;
this.Label6.Text = "Welcome To Google";
//
- // googleprototype
- //
- this.googleprototype.AutoScroll = true;
- this.googleprototype.Controls.Add(this.Label10);
- this.googleprototype.Controls.Add(this.Panel3);
- this.googleprototype.Controls.Add(this.LinkLabel3);
- this.googleprototype.Controls.Add(this.LinkLabel2);
- this.googleprototype.Controls.Add(this.LinkLabel1);
- this.googleprototype.Controls.Add(this.Panel2);
- this.googleprototype.Controls.Add(this.pboxgoogleprototypelogo);
- this.googleprototype.Location = new System.Drawing.Point(6, 47);
- this.googleprototype.Name = "googleprototype";
- this.googleprototype.Size = new System.Drawing.Size(317, 260);
- this.googleprototype.TabIndex = 2;
- //
- // Label10
- //
- this.Label10.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.Label10.AutoSize = true;
- this.Label10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label10.Location = new System.Drawing.Point(38, 405);
- this.Label10.Name = "Label10";
- this.Label10.Size = new System.Drawing.Size(215, 15);
- this.Label10.TabIndex = 6;
- this.Label10.Text = "Copyright ©1997-8 Stanford University";
- //
- // Panel3
- //
- this.Panel3.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.Panel3.BackColor = System.Drawing.Color.WhiteSmoke;
- this.Panel3.Controls.Add(this.LinkLabel4);
- this.Panel3.Controls.Add(this.Button11);
- this.Panel3.Controls.Add(this.TextBox3);
- this.Panel3.Controls.Add(this.Label9);
- this.Panel3.Location = new System.Drawing.Point(-83, 334);
- this.Panel3.Name = "Panel3";
- this.Panel3.Size = new System.Drawing.Size(430, 65);
- this.Panel3.TabIndex = 5;
- //
- // LinkLabel4
- //
- this.LinkLabel4.AutoSize = true;
- this.LinkLabel4.Location = new System.Drawing.Point(301, 44);
- this.LinkLabel4.Name = "LinkLabel4";
- this.LinkLabel4.Size = new System.Drawing.Size(43, 13);
- this.LinkLabel4.TabIndex = 3;
- this.LinkLabel4.TabStop = true;
- this.LinkLabel4.Text = "Archive";
- //
- // Button11
- //
- this.Button11.BackColor = System.Drawing.Color.Silver;
- this.Button11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Button11.Location = new System.Drawing.Point(198, 34);
- this.Button11.Name = "Button11";
- this.Button11.Size = new System.Drawing.Size(96, 26);
- this.Button11.TabIndex = 2;
- this.Button11.Text = "Subscribe";
- this.Button11.UseVisualStyleBackColor = false;
- //
- // TextBox3
- //
- this.TextBox3.Location = new System.Drawing.Point(46, 36);
- this.TextBox3.Name = "TextBox3";
- this.TextBox3.Size = new System.Drawing.Size(146, 20);
- this.TextBox3.TabIndex = 1;
- this.TextBox3.Text = "your e-mail";
- //
- // Label9
- //
- this.Label9.AutoSize = true;
- this.Label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label9.Location = new System.Drawing.Point(111, 9);
- this.Label9.Name = "Label9";
- this.Label9.Size = new System.Drawing.Size(212, 16);
- this.Label9.TabIndex = 0;
- this.Label9.Text = "Get Google! updates monthly!";
- //
- // LinkLabel3
- //
- this.LinkLabel3.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.LinkLabel3.AutoSize = true;
- this.LinkLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.LinkLabel3.Location = new System.Drawing.Point(28, 309);
- this.LinkLabel3.Name = "LinkLabel3";
- this.LinkLabel3.Size = new System.Drawing.Size(115, 18);
- this.LinkLabel3.TabIndex = 4;
- this.LinkLabel3.TabStop = true;
- this.LinkLabel3.Text = "Stanford Search";
- //
- // LinkLabel2
- //
- this.LinkLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.LinkLabel2.AutoSize = true;
- this.LinkLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.LinkLabel2.Location = new System.Drawing.Point(141, 309);
- this.LinkLabel2.Name = "LinkLabel2";
- this.LinkLabel2.Size = new System.Drawing.Size(93, 18);
- this.LinkLabel2.TabIndex = 3;
- this.LinkLabel2.TabStop = true;
- this.LinkLabel2.Text = "Linux Search";
- //
- // LinkLabel1
- //
- this.LinkLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.LinkLabel1.AutoSize = true;
- this.LinkLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.LinkLabel1.Location = new System.Drawing.Point(50, 271);
- this.LinkLabel1.Name = "LinkLabel1";
- this.LinkLabel1.Size = new System.Drawing.Size(162, 25);
- this.LinkLabel1.TabIndex = 2;
- this.LinkLabel1.TabStop = true;
- this.LinkLabel1.Text = "About Google!";
- //
- // Panel2
- //
- this.Panel2.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.Panel2.BackColor = System.Drawing.Color.WhiteSmoke;
- this.Panel2.Controls.Add(this.Label8);
- this.Panel2.Controls.Add(this.Button10);
- this.Panel2.Controls.Add(this.GoogleSearchButton);
- this.Panel2.Controls.Add(this.ComboBox1);
- this.Panel2.Controls.Add(this.TextBox2);
- this.Panel2.Controls.Add(this.Label7);
- this.Panel2.Location = new System.Drawing.Point(-83, 135);
- this.Panel2.Name = "Panel2";
- this.Panel2.Size = new System.Drawing.Size(430, 117);
- this.Panel2.TabIndex = 1;
- //
- // Label8
- //
- this.Label8.AutoSize = true;
- this.Label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label8.Location = new System.Drawing.Point(18, 91);
- this.Label8.Name = "Label8";
- this.Label8.Size = new System.Drawing.Size(410, 16);
- this.Label8.TabIndex = 5;
- this.Label8.Text = "Index contains ~25 million pages (soon to be much bigger)";
- //
- // Button10
- //
- this.Button10.BackColor = System.Drawing.Color.Silver;
- this.Button10.Location = new System.Drawing.Point(263, 65);
- this.Button10.Name = "Button10";
- this.Button10.Size = new System.Drawing.Size(104, 23);
- this.Button10.TabIndex = 4;
- this.Button10.Text = "I\'m Feeling Lucky";
- this.Button10.UseVisualStyleBackColor = false;
- //
- // GoogleSearchButton
- //
- this.GoogleSearchButton.BackColor = System.Drawing.Color.Silver;
- this.GoogleSearchButton.Location = new System.Drawing.Point(153, 65);
- this.GoogleSearchButton.Name = "GoogleSearchButton";
- this.GoogleSearchButton.Size = new System.Drawing.Size(104, 23);
- this.GoogleSearchButton.TabIndex = 3;
- this.GoogleSearchButton.Text = "Google Search";
- this.GoogleSearchButton.UseVisualStyleBackColor = false;
- this.GoogleSearchButton.Click += new System.EventHandler(this.Button9_Click);
- //
- // ComboBox1
- //
- this.ComboBox1.FormattingEnabled = true;
- this.ComboBox1.Items.AddRange(new object[] {
- "10 results",
- "30 results",
- "100 results"});
- this.ComboBox1.Location = new System.Drawing.Point(54, 65);
- this.ComboBox1.Name = "ComboBox1";
- this.ComboBox1.Size = new System.Drawing.Size(92, 21);
- this.ComboBox1.TabIndex = 2;
- this.ComboBox1.Text = "10 results";
- //
- // TextBox2
- //
- this.TextBox2.Location = new System.Drawing.Point(83, 39);
- this.TextBox2.Name = "TextBox2";
- this.TextBox2.Size = new System.Drawing.Size(261, 20);
- this.TextBox2.TabIndex = 1;
- //
- // Label7
- //
- this.Label7.AutoSize = true;
- this.Label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label7.Location = new System.Drawing.Point(121, 15);
- this.Label7.Name = "Label7";
- this.Label7.Size = new System.Drawing.Size(186, 16);
- this.Label7.TabIndex = 0;
- this.Label7.Text = "Search the web using Google!";
- //
- // pboxgoogleprototypelogo
- //
- this.pboxgoogleprototypelogo.Anchor = System.Windows.Forms.AnchorStyles.Top;
- this.pboxgoogleprototypelogo.Location = new System.Drawing.Point(-49, 6);
- this.pboxgoogleprototypelogo.Name = "pboxgoogleprototypelogo";
- this.pboxgoogleprototypelogo.Size = new System.Drawing.Size(349, 116);
- this.pboxgoogleprototypelogo.TabIndex = 0;
- this.pboxgoogleprototypelogo.TabStop = false;
- //
// Panel14
//
this.Panel14.Controls.Add(this.GoButton);
@@ -3256,13 +3034,6 @@
((System.ComponentModel.ISupportInitialize)(this.PictureBox11)).EndInit();
this.googlemain.ResumeLayout(false);
this.googlemain.PerformLayout();
- this.googleprototype.ResumeLayout(false);
- this.googleprototype.PerformLayout();
- this.Panel3.ResumeLayout(false);
- this.Panel3.PerformLayout();
- this.Panel2.ResumeLayout(false);
- this.Panel2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pboxgoogleprototypelogo)).EndInit();
this.Panel14.ResumeLayout(false);
this.Panel14.PerformLayout();
this.Panel1.ResumeLayout(false);
@@ -3424,24 +3195,6 @@
internal System.Windows.Forms.LinkLabel googlebetalink;
internal System.Windows.Forms.LinkLabel googleprototypelink;
internal System.Windows.Forms.Label Label6;
- internal System.Windows.Forms.Panel googleprototype;
- internal System.Windows.Forms.Label Label10;
- internal System.Windows.Forms.Panel Panel3;
- internal System.Windows.Forms.LinkLabel LinkLabel4;
- internal System.Windows.Forms.Button Button11;
- internal System.Windows.Forms.TextBox TextBox3;
- internal System.Windows.Forms.Label Label9;
- internal System.Windows.Forms.LinkLabel LinkLabel3;
- internal System.Windows.Forms.LinkLabel LinkLabel2;
- internal System.Windows.Forms.LinkLabel LinkLabel1;
- internal System.Windows.Forms.Panel Panel2;
- internal System.Windows.Forms.Label Label8;
- internal System.Windows.Forms.Button Button10;
- internal System.Windows.Forms.Button GoogleSearchButton;
- internal System.Windows.Forms.ComboBox ComboBox1;
- internal System.Windows.Forms.TextBox TextBox2;
- internal System.Windows.Forms.Label Label7;
- internal System.Windows.Forms.PictureBox pboxgoogleprototypelogo;
internal System.Windows.Forms.Panel Panel14;
internal System.Windows.Forms.Button GoButton;
internal System.Windows.Forms.ComboBox addressbar;
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
index bf05104..d70b520 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.cs
@@ -38,7 +38,6 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void hidePrograms()
{
googlemain.Hide();
- googleprototype.Hide();
googlealpha.Hide();
padamsmain.Hide();
hotmailmain.Hide();