diff options
| author | lempamo <[email protected]> | 2017-07-02 17:54:32 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-07-02 17:54:32 -0400 |
| commit | 17ca0d0942c2a4e568349a74e87807eb00838666 (patch) | |
| tree | d77d29e319123092319cb88377a9da0d1da9cf4d /TimeHACK.Main/OS/Win95 | |
| parent | 776adbafcbcccb4661589794a73933d518bbf4be (diff) | |
| download | histacom2-17ca0d0942c2a4e568349a74e87807eb00838666.tar.gz histacom2-17ca0d0942c2a4e568349a74e87807eb00838666.tar.bz2 histacom2-17ca0d0942c2a4e568349a74e87807eb00838666.zip | |
ALEX DONT FUCK THINGS UP AGAIN PLZ
Diffstat (limited to 'TimeHACK.Main/OS/Win95')
33 files changed, 8013 insertions, 22 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95.Designer.cs b/TimeHACK.Main/OS/Win95/Win95.Designer.cs index f238b70..a2b6e51 100644 --- a/TimeHACK.Main/OS/Win95/Win95.Designer.cs +++ b/TimeHACK.Main/OS/Win95/Win95.Designer.cs @@ -30,23 +30,938 @@ namespace TimeHACK.OS.Win95 /// </summary> private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager 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); + System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("Recycle Bin", 7); + System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem("Internet Explorer", 2); + System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem("Online Services", 1); + System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem("Set Up The Microsoft Network", 4); + System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem("Outlook Express", 6); + this.panel1 = new System.Windows.Forms.Panel(); + this.panel2 = new System.Windows.Forms.Panel(); + this.taskbar = new System.Windows.Forms.Panel(); + this.clockPanel = new System.Windows.Forms.Panel(); + this.taskbartime = new System.Windows.Forms.Label(); + this.taskbarItems = new System.Windows.Forms.Panel(); + this.startbutton = new System.Windows.Forms.PictureBox(); + this.startmenu = new System.Windows.Forms.Panel(); + this.startmenuitems = new System.Windows.Forms.MenuStrip(); + this.ProgramsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.AccessoriesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CommunicationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.InternetConnectionWizardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.NetMeetingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.MultimediaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CDPlayerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SoundRecorderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.VolumeControlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WindowsMediaPlayerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SystemToolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.DiskDefragmenterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ScanDiskToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.AddressBookToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CalculatorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.HyperTerminalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ImagingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.NotePadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.OnlineRegistrationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PaintToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PhoneDialerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WordPadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.StartUpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.AOLInternetFREETrialToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ATTWorldNetSignupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SetupCompuServe30ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SetupWOWFromCompuServeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.MSDOSPromptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.EmptyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.InternetExplorerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.MSDOSPromptToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.OutlookExpressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WindowsExplorerToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.GuessTheNumberToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.StartRunnerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ErrorBlasterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SkindowsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WebChatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TimeDistorterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.DocumentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.windowManagerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.downloaderTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.installerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.storyTest1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ControlPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PrintersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TaskbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FindToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FilesOrFoldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ComputerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.OnTheInternetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PeopleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.HelpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.RunToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SuspendToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShutdownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ossidestartmenu = new System.Windows.Forms.Panel(); + this.osimage = new System.Windows.Forms.PictureBox(); + this.clockTimer = new System.Windows.Forms.Timer(this.components); + this.desktopImages = new System.Windows.Forms.ImageList(this.components); + this.desktopicons = new System.Windows.Forms.ListView(); + this.rightclickbackproperties = new System.Windows.Forms.ContextMenuStrip(this.components); + this.PropertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ByNameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ByTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BySizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.AutoArrangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ByDateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.LineUpIconsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PasteShortcutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.NewToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.FolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShortcutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WaveSoundToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TextDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.WordPadDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BitmapImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.MicrosoftDataLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PropertiesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); this.taskbar.SuspendLayout(); + this.clockPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.startbutton)).BeginInit(); this.startmenu.SuspendLayout(); + this.startmenuitems.SuspendLayout(); this.ossidestartmenu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.osimage)).BeginInit(); - this.clockPanel.SuspendLayout(); + this.rightclickbackproperties.SuspendLayout(); this.SuspendLayout(); // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.AutoSize = true; + this.panel1.Controls.Add(this.panel2); + this.panel1.Location = new System.Drawing.Point(0, 451); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(640, 29); + this.panel1.TabIndex = 0; + // + // panel2 + // + this.panel2.Location = new System.Drawing.Point(3, 4); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(54, 22); + this.panel2.TabIndex = 1; + // + // taskbar + // + this.taskbar.BackColor = System.Drawing.Color.Silver; + this.taskbar.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicTaskBar; + this.taskbar.Controls.Add(this.clockPanel); + this.taskbar.Controls.Add(this.taskbarItems); + this.taskbar.Controls.Add(this.startbutton); + this.taskbar.Dock = System.Windows.Forms.DockStyle.Bottom; + this.taskbar.Location = new System.Drawing.Point(0, 452); + this.taskbar.Name = "taskbar"; + this.taskbar.Size = new System.Drawing.Size(640, 28); + this.taskbar.TabIndex = 2; + // + // clockPanel + // + this.clockPanel.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicTime; + this.clockPanel.Controls.Add(this.taskbartime); + this.clockPanel.Dock = System.Windows.Forms.DockStyle.Right; + this.clockPanel.Location = new System.Drawing.Point(575, 0); + this.clockPanel.Name = "clockPanel"; + this.clockPanel.Size = new System.Drawing.Size(65, 28); + this.clockPanel.TabIndex = 4; + // + // taskbartime + // + this.taskbartime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.taskbartime.AutoSize = true; + this.taskbartime.BackColor = System.Drawing.Color.Transparent; + this.taskbartime.Location = new System.Drawing.Point(10, 7); + this.taskbartime.Name = "taskbartime"; + this.taskbartime.Size = new System.Drawing.Size(26, 13); + this.taskbartime.TabIndex = 2; + this.taskbartime.Text = "time"; + this.taskbartime.Click += new System.EventHandler(this.taskbartime_Click); + // + // taskbarItems + // + this.taskbarItems.BackColor = System.Drawing.Color.Transparent; + this.taskbarItems.Cursor = System.Windows.Forms.Cursors.Default; + this.taskbarItems.Location = new System.Drawing.Point(63, 4); + this.taskbarItems.Name = "taskbarItems"; + this.taskbarItems.Size = new System.Drawing.Size(3648, 22); + this.taskbarItems.TabIndex = 5; + // + // startbutton + // + this.startbutton.Image = global::TimeHACK.Properties.Resources.WinClassicStart; + this.startbutton.Location = new System.Drawing.Point(2, 4); + this.startbutton.Name = "startbutton"; + this.startbutton.Size = new System.Drawing.Size(54, 22); + this.startbutton.TabIndex = 3; + this.startbutton.TabStop = false; + this.startbutton.Click += new System.EventHandler(this.startbutton_Click); + // + // startmenu + // + this.startmenu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.startmenu.BackColor = System.Drawing.Color.Silver; + this.startmenu.Controls.Add(this.startmenuitems); + this.startmenu.Controls.Add(this.ossidestartmenu); + this.startmenu.Location = new System.Drawing.Point(0, 160); + this.startmenu.Name = "startmenu"; + this.startmenu.Size = new System.Drawing.Size(174, 300); + this.startmenu.TabIndex = 3; + // + // startmenuitems + // + this.startmenuitems.BackColor = System.Drawing.Color.Silver; + this.startmenuitems.Dock = System.Windows.Forms.DockStyle.None; + this.startmenuitems.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ProgramsToolStripMenuItem, + this.DocumentsToolStripMenuItem, + this.SettingsToolStripMenuItem, + this.FindToolStripMenuItem, + this.HelpToolStripMenuItem, + this.RunToolStripMenuItem, + this.SuspendToolStripMenuItem, + this.ShutdownToolStripMenuItem}); + this.startmenuitems.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow; + this.startmenuitems.Location = new System.Drawing.Point(28, 2); + this.startmenuitems.Margin = new System.Windows.Forms.Padding(0, 0, 5, 0); + this.startmenuitems.Name = "startmenuitems"; + this.startmenuitems.Padding = new System.Windows.Forms.Padding(6, 2, 0, 0); + this.startmenuitems.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; + this.startmenuitems.Size = new System.Drawing.Size(145, 311); + this.startmenuitems.TabIndex = 0; + this.startmenuitems.Text = "StartMenu"; + // + // ProgramsToolStripMenuItem + // + this.ProgramsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ProgramsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.ProgramsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.ProgramsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.AccessoriesToolStripMenuItem, + this.StartUpToolStripMenuItem, + this.MSDOSPromptToolStripMenuItem, + this.InternetExplorerToolStripMenuItem, + this.MSDOSPromptToolStripMenuItem1, + this.OutlookExpressToolStripMenuItem, + this.WindowsExplorerToolStripMenuItem1, + this.GuessTheNumberToolStripMenuItem, + this.StartRunnerToolStripMenuItem, + this.ErrorBlasterToolStripMenuItem, + this.SkindowsToolStripMenuItem, + this.WebChatToolStripMenuItem, + this.TimeDistorterToolStripMenuItem}); + this.ProgramsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicPrograms; + this.ProgramsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.ProgramsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.ProgramsToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.ProgramsToolStripMenuItem.Name = "ProgramsToolStripMenuItem"; + 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"; + // + // AccessoriesToolStripMenuItem + // + this.AccessoriesToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.AccessoriesToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.AccessoriesToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.AccessoriesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.CommunicationsToolStripMenuItem, + this.MultimediaToolStripMenuItem, + this.SystemToolsToolStripMenuItem, + this.AddressBookToolStripMenuItem, + this.CalculatorToolStripMenuItem, + this.HyperTerminalToolStripMenuItem, + this.ImagingToolStripMenuItem, + this.NotePadToolStripMenuItem, + this.OnlineRegistrationToolStripMenuItem, + this.PaintToolStripMenuItem, + this.PhoneDialerToolStripMenuItem, + this.WordPadToolStripMenuItem}); + this.AccessoriesToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicProgramItem; + this.AccessoriesToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.AccessoriesToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.AccessoriesToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.AccessoriesToolStripMenuItem.Name = "AccessoriesToolStripMenuItem"; + this.AccessoriesToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.AccessoriesToolStripMenuItem.Text = "Accessories"; + // + // CommunicationsToolStripMenuItem + // + this.CommunicationsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.CommunicationsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.CommunicationsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.CommunicationsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.InternetConnectionWizardToolStripMenuItem, + this.NetMeetingToolStripMenuItem}); + this.CommunicationsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicProgramItem; + this.CommunicationsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.CommunicationsToolStripMenuItem.Name = "CommunicationsToolStripMenuItem"; + this.CommunicationsToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.CommunicationsToolStripMenuItem.Text = "Communications"; + // + // InternetConnectionWizardToolStripMenuItem + // + this.InternetConnectionWizardToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.InternetConnectionWizardToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.InternetConnectionWizardToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.InternetConnectionWizardToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("InternetConnectionWizardToolStripMenuItem.Image"))); + this.InternetConnectionWizardToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.InternetConnectionWizardToolStripMenuItem.Name = "InternetConnectionWizardToolStripMenuItem"; + this.InternetConnectionWizardToolStripMenuItem.Size = new System.Drawing.Size(219, 22); + this.InternetConnectionWizardToolStripMenuItem.Text = "Internet Connection Wizard"; + this.InternetConnectionWizardToolStripMenuItem.Click += new System.EventHandler(this.temp_for_std); + // + // NetMeetingToolStripMenuItem + // + this.NetMeetingToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.NetMeetingToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.NetMeetingToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.NetMeetingToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("NetMeetingToolStripMenuItem.Image"))); + this.NetMeetingToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.NetMeetingToolStripMenuItem.Name = "NetMeetingToolStripMenuItem"; + this.NetMeetingToolStripMenuItem.Size = new System.Drawing.Size(219, 22); + this.NetMeetingToolStripMenuItem.Text = "NetMeeting"; + this.NetMeetingToolStripMenuItem.Click += new System.EventHandler(this.WebChatToolStripMenuItem_Click); + // + // MultimediaToolStripMenuItem + // + this.MultimediaToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.MultimediaToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.MultimediaToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.MultimediaToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.CDPlayerToolStripMenuItem, + this.SoundRecorderToolStripMenuItem, + this.VolumeControlToolStripMenuItem, + this.WindowsMediaPlayerToolStripMenuItem}); + this.MultimediaToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicProgramItem; + this.MultimediaToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.MultimediaToolStripMenuItem.Name = "MultimediaToolStripMenuItem"; + this.MultimediaToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.MultimediaToolStripMenuItem.Text = "Multimedia"; + // + // CDPlayerToolStripMenuItem + // + this.CDPlayerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.CDPlayerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.CDPlayerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.CDPlayerToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("CDPlayerToolStripMenuItem.Image"))); + this.CDPlayerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.CDPlayerToolStripMenuItem.Name = "CDPlayerToolStripMenuItem"; + this.CDPlayerToolStripMenuItem.Size = new System.Drawing.Size(194, 22); + this.CDPlayerToolStripMenuItem.Text = "CD Player"; + // + // SoundRecorderToolStripMenuItem + // + this.SoundRecorderToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.SoundRecorderToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.SoundRecorderToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.SoundRecorderToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("SoundRecorderToolStripMenuItem.Image"))); + this.SoundRecorderToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.SoundRecorderToolStripMenuItem.Name = "SoundRecorderToolStripMenuItem"; + this.SoundRecorderToolStripMenuItem.Size = new System.Drawing.Size(194, 22); + this.SoundRecorderToolStripMenuItem.Text = "Sound Recorder"; + // + // VolumeControlToolStripMenuItem + // + this.VolumeControlToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.VolumeControlToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.VolumeControlToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.VolumeControlToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("VolumeControlToolStripMenuItem.Image"))); + this.VolumeControlToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.VolumeControlToolStripMenuItem.Name = "VolumeControlToolStripMenuItem"; + this.VolumeControlToolStripMenuItem.Size = new System.Drawing.Size(194, 22); + this.VolumeControlToolStripMenuItem.Text = "Volume Control"; + // + // WindowsMediaPlayerToolStripMenuItem + // + this.WindowsMediaPlayerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.WindowsMediaPlayerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.WindowsMediaPlayerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.WindowsMediaPlayerToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("WindowsMediaPlayerToolStripMenuItem.Image"))); + this.WindowsMediaPlayerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.WindowsMediaPlayerToolStripMenuItem.Name = "WindowsMediaPlayerToolStripMenuItem"; + this.WindowsMediaPlayerToolStripMenuItem.Size = new System.Drawing.Size(194, 22); + this.WindowsMediaPlayerToolStripMenuItem.Text = "Windows Media Player"; + // + // SystemToolsToolStripMenuItem + // + this.SystemToolsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.SystemToolsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.SystemToolsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.SystemToolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.DiskDefragmenterToolStripMenuItem, + this.ScanDiskToolStripMenuItem}); + this.SystemToolsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicProgramItem; + this.SystemToolsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.SystemToolsToolStripMenuItem.Name = "SystemToolsToolStripMenuItem"; + this.SystemToolsToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.SystemToolsToolStripMenuItem.Text = "System Tools"; + // + // DiskDefragmenterToolStripMenuItem + // + this.DiskDefragmenterToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.DiskDefragmenterToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.DiskDefragmenterToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.DiskDefragmenterToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("DiskDefragmenterToolStripMenuItem.Image"))); + this.DiskDefragmenterToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.DiskDefragmenterToolStripMenuItem.Name = "DiskDefragmenterToolStripMenuItem"; + this.DiskDefragmenterToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.DiskDefragmenterToolStripMenuItem.Text = "Disk Defragmenter"; + // + // ScanDiskToolStripMenuItem + // + this.ScanDiskToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ScanDiskToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.ScanDiskToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.ScanDiskToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ScanDiskToolStripMenuItem.Image"))); + this.ScanDiskToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.ScanDiskToolStripMenuItem.Name = "ScanDiskToolStripMenuItem"; + this.ScanDiskToolStripMenuItem.Size = new System.Drawing.Size(172, 22); + this.ScanDiskToolStripMenuItem.Text = "ScanDisk"; + // + // AddressBookToolStripMenuItem + // + this.AddressBookToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.AddressBookToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.AddressBookToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.AddressBookToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("AddressBookToolStripMenuItem.Image"))); + this.AddressBookToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.AddressBookToolStripMenuItem.Name = "AddressBookToolStripMenuItem"; + this.AddressBookToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.AddressBookToolStripMenuItem.Text = "Address Book"; + this.AddressBookToolStripMenuItem.Click += new System.EventHandler(this.AddressBookToolStripMenuItem_Click); + // + // CalculatorToolStripMenuItem + // + this.CalculatorToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.CalculatorToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.CalculatorToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.CalculatorToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("CalculatorToolStripMenuItem.Image"))); + this.CalculatorToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.CalculatorToolStripMenuItem.Name = "CalculatorToolStripMenuItem"; + this.CalculatorToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.CalculatorToolStripMenuItem.Text = "Calculator"; + // + // HyperTerminalToolStripMenuItem + // + this.HyperTerminalToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.HyperTerminalToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.HyperTerminalToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.HyperTerminalToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicFolderSmall; + this.HyperTerminalToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.HyperTerminalToolStripMenuItem.Name = "HyperTerminalToolStripMenuItem"; + this.HyperTerminalToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.HyperTerminalToolStripMenuItem.Text = "HyperTerminal"; + // + // ImagingToolStripMenuItem + // + this.ImagingToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ImagingToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.ImagingToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.ImagingToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ImagingToolStripMenuItem.Image"))); + this.ImagingToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.ImagingToolStripMenuItem.Name = "ImagingToolStripMenuItem"; + this.ImagingToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.ImagingToolStripMenuItem.Text = "Imaging"; + // + // NotePadToolStripMenuItem + // + this.NotePadToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.NotePadToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.NotePadToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.NotePadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("NotePadToolStripMenuItem.Image"))); + this.NotePadToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.NotePadToolStripMenuItem.Name = "NotePadToolStripMenuItem"; + this.NotePadToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.NotePadToolStripMenuItem.Text = "Notepad"; + this.NotePadToolStripMenuItem.Click += new System.EventHandler(this.NotePadToolStripMenuItem_Click); + // + // OnlineRegistrationToolStripMenuItem + // + this.OnlineRegistrationToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.OnlineRegistrationToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.OnlineRegistrationToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.OnlineRegistrationToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("OnlineRegistrationToolStripMenuItem.Image"))); + this.OnlineRegistrationToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.OnlineRegistrationToolStripMenuItem.Name = "OnlineRegistrationToolStripMenuItem"; + this.OnlineRegistrationToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.OnlineRegistrationToolStripMenuItem.Text = "Online Registration"; + // + // PaintToolStripMenuItem + // + this.PaintToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.PaintToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.PaintToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.PaintToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("PaintToolStripMenuItem.Image"))); + this.PaintToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.PaintToolStripMenuItem.Name = "PaintToolStripMenuItem"; + this.PaintToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.PaintToolStripMenuItem.Text = "Paintbrush"; + // + // PhoneDialerToolStripMenuItem + // + this.PhoneDialerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.PhoneDialerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.PhoneDialerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.PhoneDialerToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("PhoneDialerToolStripMenuItem.Image"))); + this.PhoneDialerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.PhoneDialerToolStripMenuItem.Name = "PhoneDialerToolStripMenuItem"; + this.PhoneDialerToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.PhoneDialerToolStripMenuItem.Text = "Phone Dialer"; + // + // WordPadToolStripMenuItem + // + this.WordPadToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.WordPadToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.WordPadToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.WordPadToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("WordPadToolStripMenuItem.Image"))); + this.WordPadToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.WordPadToolStripMenuItem.Name = "WordPadToolStripMenuItem"; + this.WordPadToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.WordPadToolStripMenuItem.Text = "WordPad"; + this.WordPadToolStripMenuItem.Click += new System.EventHandler(this.WordPadToolStripMenuItem_Click); + // + // StartUpToolStripMenuItem + // + this.StartUpToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.StartUpToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.StartUpToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.StartUpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.AOLInternetFREETrialToolStripMenuItem, + this.ATTWorldNetSignupToolStripMenuItem, + this.SetupCompuServe30ToolStripMenuItem, + this.SetupWOWFromCompuServeToolStripMenuItem}); + this.StartUpToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicProgramItem; + this.StartUpToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.StartUpToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.StartUpToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.StartUpToolStripMenuItem.Name = "StartUpToolStripMenuItem"; + this.StartUpToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.StartUpToolStripMenuItem.Text = "Online Services"; + // + // AOLInternetFREETrialToolStripMenuItem + // + this.AOLInternetFREETrialToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.AOLInternetFREETrialToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.AOLInternetFREETrialToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.AOLInternetFREETrialToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.AOLInternetFREETrialToolStripMenuItem.Name = "AOLInternetFREETrialToolStripMenuItem"; + this.AOLInternetFREETrialToolStripMenuItem.Size = new System.Drawing.Size(241, 22); + this.AOLInternetFREETrialToolStripMenuItem.Text = "AOL & Internet FREE Trial!"; + // + // ATTWorldNetSignupToolStripMenuItem + // + this.ATTWorldNetSignupToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ATTWorldNetSignupToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.ATTWorldNetSignupToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.ATTWorldNetSignupToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.ATTWorldNetSignupToolStripMenuItem.Name = "ATTWorldNetSignupToolStripMenuItem"; + this.ATTWorldNetSignupToolStripMenuItem.Size = new System.Drawing.Size(241, 22); + this.ATTWorldNetSignupToolStripMenuItem.Text = "AT&T WorldNet Signup"; + // + // SetupCompuServe30ToolStripMenuItem + // + this.SetupCompuServe30ToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.SetupCompuServe30ToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.SetupCompuServe30ToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.SetupCompuServe30ToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.SetupCompuServe30ToolStripMenuItem.Name = "SetupCompuServe30ToolStripMenuItem"; + this.SetupCompuServe30ToolStripMenuItem.Size = new System.Drawing.Size(241, 22); + this.SetupCompuServe30ToolStripMenuItem.Text = "Setup CompuServe 3.0"; + // + // SetupWOWFromCompuServeToolStripMenuItem + // + this.SetupWOWFromCompuServeToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.SetupWOWFromCompuServeToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.SetupWOWFromCompuServeToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.SetupWOWFromCompuServeToolStripMenuItem.Name = "SetupWOWFromCompuServeToolStripMenuItem"; + this.SetupWOWFromCompuServeToolStripMenuItem.Size = new System.Drawing.Size(241, 22); + this.SetupWOWFromCompuServeToolStripMenuItem.Text = "Setup WOW! from CompuServe"; + // + // MSDOSPromptToolStripMenuItem + // + this.MSDOSPromptToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.MSDOSPromptToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.MSDOSPromptToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.MSDOSPromptToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.EmptyToolStripMenuItem}); + this.MSDOSPromptToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicProgramItem; + this.MSDOSPromptToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.MSDOSPromptToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.MSDOSPromptToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.MSDOSPromptToolStripMenuItem.Name = "MSDOSPromptToolStripMenuItem"; + this.MSDOSPromptToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.MSDOSPromptToolStripMenuItem.Text = "StartUp"; + // + // EmptyToolStripMenuItem + // + this.EmptyToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.EmptyToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.EmptyToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.EmptyToolStripMenuItem.Name = "EmptyToolStripMenuItem"; + this.EmptyToolStripMenuItem.Size = new System.Drawing.Size(116, 22); + this.EmptyToolStripMenuItem.Text = "(Empty)"; + // + // InternetExplorerToolStripMenuItem + // + this.InternetExplorerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.InternetExplorerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.InternetExplorerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.InternetExplorerToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("InternetExplorerToolStripMenuItem.Image"))); + this.InternetExplorerToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.InternetExplorerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.InternetExplorerToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.InternetExplorerToolStripMenuItem.Name = "InternetExplorerToolStripMenuItem"; + this.InternetExplorerToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.InternetExplorerToolStripMenuItem.Text = "Internet Explorer"; + this.InternetExplorerToolStripMenuItem.Click += new System.EventHandler(this.InternetExplorerToolStripMenuItem_Click); + // + // MSDOSPromptToolStripMenuItem1 + // + this.MSDOSPromptToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.MSDOSPromptToolStripMenuItem1.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.MSDOSPromptToolStripMenuItem1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.MSDOSPromptToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("MSDOSPromptToolStripMenuItem1.Image"))); + this.MSDOSPromptToolStripMenuItem1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.MSDOSPromptToolStripMenuItem1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.MSDOSPromptToolStripMenuItem1.ImageTransparentColor = System.Drawing.Color.Silver; + this.MSDOSPromptToolStripMenuItem1.Name = "MSDOSPromptToolStripMenuItem1"; + this.MSDOSPromptToolStripMenuItem1.Size = new System.Drawing.Size(181, 28); + this.MSDOSPromptToolStripMenuItem1.Text = "MS-DOS Prompt"; + this.MSDOSPromptToolStripMenuItem1.Click += new System.EventHandler(MSDOSPromptToolStripMenuItem1_Click); + // + // OutlookExpressToolStripMenuItem + // + this.OutlookExpressToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.OutlookExpressToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.OutlookExpressToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.OutlookExpressToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("OutlookExpressToolStripMenuItem.Image"))); + this.OutlookExpressToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.OutlookExpressToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.OutlookExpressToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.OutlookExpressToolStripMenuItem.Name = "OutlookExpressToolStripMenuItem"; + this.OutlookExpressToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.OutlookExpressToolStripMenuItem.Text = "Outlook Express"; + // + // WindowsExplorerToolStripMenuItem1 + // + this.WindowsExplorerToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.WindowsExplorerToolStripMenuItem1.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.WindowsExplorerToolStripMenuItem1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.WindowsExplorerToolStripMenuItem1.Image = ((System.Drawing.Image)(resources.GetObject("WindowsExplorerToolStripMenuItem1.Image"))); + this.WindowsExplorerToolStripMenuItem1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.WindowsExplorerToolStripMenuItem1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.WindowsExplorerToolStripMenuItem1.ImageTransparentColor = System.Drawing.Color.Silver; + this.WindowsExplorerToolStripMenuItem1.Name = "WindowsExplorerToolStripMenuItem1"; + this.WindowsExplorerToolStripMenuItem1.Size = new System.Drawing.Size(181, 28); + this.WindowsExplorerToolStripMenuItem1.Text = "Windows Explorer"; + this.WindowsExplorerToolStripMenuItem1.Click += new System.EventHandler(this.WindowsExplorerToolStripMenuItem1_Click); + // + // GuessTheNumberToolStripMenuItem + // + this.GuessTheNumberToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.GuessTheNumberToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.GuessTheNumberToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.GuessTheNumberToolStripMenuItem.Name = "GuessTheNumberToolStripMenuItem"; + this.GuessTheNumberToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.GuessTheNumberToolStripMenuItem.Text = "Guess The Number"; + this.GuessTheNumberToolStripMenuItem.Visible = false; + // + // StartRunnerToolStripMenuItem + // + this.StartRunnerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.StartRunnerToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.StartRunnerToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.StartRunnerToolStripMenuItem.Name = "StartRunnerToolStripMenuItem"; + this.StartRunnerToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.StartRunnerToolStripMenuItem.Text = "Start Runner"; + this.StartRunnerToolStripMenuItem.Visible = false; + // + // ErrorBlasterToolStripMenuItem + // + this.ErrorBlasterToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ErrorBlasterToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.ErrorBlasterToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.ErrorBlasterToolStripMenuItem.Name = "ErrorBlasterToolStripMenuItem"; + this.ErrorBlasterToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.ErrorBlasterToolStripMenuItem.Text = "Error Blaster"; + this.ErrorBlasterToolStripMenuItem.Visible = false; + // + // SkindowsToolStripMenuItem + // + this.SkindowsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.SkindowsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.SkindowsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.SkindowsToolStripMenuItem.Name = "SkindowsToolStripMenuItem"; + this.SkindowsToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.SkindowsToolStripMenuItem.Text = "Skindows 95"; + this.SkindowsToolStripMenuItem.Visible = false; + // + // WebChatToolStripMenuItem + // + this.WebChatToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.WebChatToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.WebChatToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.WebChatToolStripMenuItem.Name = "WebChatToolStripMenuItem"; + this.WebChatToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.WebChatToolStripMenuItem.Text = "Web Chat"; + this.WebChatToolStripMenuItem.Visible = false; + // + // TimeDistorterToolStripMenuItem + // + this.TimeDistorterToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.TimeDistorterToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.TimeDistorterToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.TimeDistorterToolStripMenuItem.Name = "TimeDistorterToolStripMenuItem"; + this.TimeDistorterToolStripMenuItem.Size = new System.Drawing.Size(181, 28); + this.TimeDistorterToolStripMenuItem.Text = "Time Distorter"; + this.TimeDistorterToolStripMenuItem.Visible = false; + // + // DocumentsToolStripMenuItem + // + this.DocumentsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.DocumentsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.DocumentsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.windowManagerTestToolStripMenuItem, + this.downloaderTestToolStripMenuItem, + this.installerTestToolStripMenuItem, + this.storyTest1ToolStripMenuItem}); + this.DocumentsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicDocuments; + this.DocumentsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.DocumentsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.DocumentsToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.DocumentsToolStripMenuItem.Name = "DocumentsToolStripMenuItem"; + 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"; + // + // windowManagerTestToolStripMenuItem + // + this.windowManagerTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.windowManagerTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("windowManagerTestToolStripMenuItem.BackgroundImage"))); + this.windowManagerTestToolStripMenuItem.Name = "windowManagerTestToolStripMenuItem"; + this.windowManagerTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.windowManagerTestToolStripMenuItem.Text = "WindowManagerTest"; + this.windowManagerTestToolStripMenuItem.Click += new System.EventHandler(this.windowManagerTestToolStripMenuItem_Click); + // + // downloaderTestToolStripMenuItem + // + this.downloaderTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.downloaderTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("downloaderTestToolStripMenuItem.BackgroundImage"))); + this.downloaderTestToolStripMenuItem.Name = "downloaderTestToolStripMenuItem"; + this.downloaderTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.downloaderTestToolStripMenuItem.Text = "DownloaderTest"; + this.downloaderTestToolStripMenuItem.Click += new System.EventHandler(this.downloaderTestToolStripMenuItem_Click); + // + // installerTestToolStripMenuItem + // + this.installerTestToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.installerTestToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("installerTestToolStripMenuItem.BackgroundImage"))); + this.installerTestToolStripMenuItem.Name = "installerTestToolStripMenuItem"; + this.installerTestToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.installerTestToolStripMenuItem.Text = "InstallerTest"; + this.installerTestToolStripMenuItem.Click += new System.EventHandler(this.installerTestToolStripMenuItem_Click); + // + // storyTest1ToolStripMenuItem + // + this.storyTest1ToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.storyTest1ToolStripMenuItem.Name = "storyTest1ToolStripMenuItem"; + this.storyTest1ToolStripMenuItem.Size = new System.Drawing.Size(186, 22); + this.storyTest1ToolStripMenuItem.Text = "StoryTest1"; + this.storyTest1ToolStripMenuItem.Click += new System.EventHandler(this.storyTest1ToolStripMenuItem_Click); + // + // SettingsToolStripMenuItem + // + this.SettingsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.SettingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ControlPanelToolStripMenuItem, + this.PrintersToolStripMenuItem, + this.TaskbarToolStripMenuItem}); + this.SettingsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicSettings; + this.SettingsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.SettingsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.SettingsToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.SettingsToolStripMenuItem.Name = "SettingsToolStripMenuItem"; + 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"; + // + // ControlPanelToolStripMenuItem + // + this.ControlPanelToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ControlPanelToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ControlPanelToolStripMenuItem.BackgroundImage"))); + this.ControlPanelToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.ControlPanelToolStripMenuItem.Name = "ControlPanelToolStripMenuItem"; + this.ControlPanelToolStripMenuItem.Size = new System.Drawing.Size(146, 22); + this.ControlPanelToolStripMenuItem.Text = "Control Panel"; + // + // PrintersToolStripMenuItem + // + this.PrintersToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.PrintersToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("PrintersToolStripMenuItem.BackgroundImage"))); + this.PrintersToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.PrintersToolStripMenuItem.Name = "PrintersToolStripMenuItem"; + this.PrintersToolStripMenuItem.Size = new System.Drawing.Size(146, 22); + this.PrintersToolStripMenuItem.Text = "Printers"; + // + // TaskbarToolStripMenuItem + // + this.TaskbarToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.TaskbarToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("TaskbarToolStripMenuItem.BackgroundImage"))); + this.TaskbarToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.TaskbarToolStripMenuItem.Name = "TaskbarToolStripMenuItem"; + this.TaskbarToolStripMenuItem.Size = new System.Drawing.Size(146, 22); + this.TaskbarToolStripMenuItem.Text = "Taskbar"; + // + // FindToolStripMenuItem + // + this.FindToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.FindToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("FindToolStripMenuItem.BackgroundImage"))); + this.FindToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FilesOrFoldersToolStripMenuItem, + this.ComputerToolStripMenuItem, + this.OnTheInternetToolStripMenuItem, + this.PeopleToolStripMenuItem}); + this.FindToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicFind; + this.FindToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.FindToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.FindToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.FindToolStripMenuItem.Name = "FindToolStripMenuItem"; + this.FindToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0); + this.FindToolStripMenuItem.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.FindToolStripMenuItem.Size = new System.Drawing.Size(138, 36); + this.FindToolStripMenuItem.Text = "Find"; + // + // FilesOrFoldersToolStripMenuItem + // + this.FilesOrFoldersToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.FilesOrFoldersToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("FilesOrFoldersToolStripMenuItem.BackgroundImage"))); + this.FilesOrFoldersToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.FilesOrFoldersToolStripMenuItem.Name = "FilesOrFoldersToolStripMenuItem"; + this.FilesOrFoldersToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.FilesOrFoldersToolStripMenuItem.Text = "Files or Folders..."; + // + // ComputerToolStripMenuItem + // + this.ComputerToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ComputerToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("ComputerToolStripMenuItem.BackgroundImage"))); + this.ComputerToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.ComputerToolStripMenuItem.Name = "ComputerToolStripMenuItem"; + this.ComputerToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.ComputerToolStripMenuItem.Text = "Computer..."; + // + // OnTheInternetToolStripMenuItem + // + this.OnTheInternetToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.OnTheInternetToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("OnTheInternetToolStripMenuItem.BackgroundImage"))); + this.OnTheInternetToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.OnTheInternetToolStripMenuItem.Name = "OnTheInternetToolStripMenuItem"; + this.OnTheInternetToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.OnTheInternetToolStripMenuItem.Text = "On the Internet..."; + // + // PeopleToolStripMenuItem + // + this.PeopleToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.PeopleToolStripMenuItem.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("PeopleToolStripMenuItem.BackgroundImage"))); + this.PeopleToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.PeopleToolStripMenuItem.Name = "PeopleToolStripMenuItem"; + this.PeopleToolStripMenuItem.Size = new System.Drawing.Size(163, 22); + this.PeopleToolStripMenuItem.Text = "People..."; + // + // HelpToolStripMenuItem + // + this.HelpToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.HelpToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicHelp; + this.HelpToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.HelpToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.HelpToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.HelpToolStripMenuItem.Name = "HelpToolStripMenuItem"; + this.HelpToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0); + this.HelpToolStripMenuItem.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.HelpToolStripMenuItem.Size = new System.Drawing.Size(138, 36); + this.HelpToolStripMenuItem.Text = "Help"; + // + // RunToolStripMenuItem + // + this.RunToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.RunToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicRun; + this.RunToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.RunToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.RunToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.RunToolStripMenuItem.Name = "RunToolStripMenuItem"; + this.RunToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0); + this.RunToolStripMenuItem.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.RunToolStripMenuItem.Size = new System.Drawing.Size(138, 36); + this.RunToolStripMenuItem.Text = "Run..."; + // + // SuspendToolStripMenuItem + // + this.SuspendToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.SuspendToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicSuspend; + this.SuspendToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.SuspendToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.SuspendToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.SuspendToolStripMenuItem.Name = "SuspendToolStripMenuItem"; + this.SuspendToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0); + this.SuspendToolStripMenuItem.Size = new System.Drawing.Size(138, 36); + this.SuspendToolStripMenuItem.Text = "Suspend"; + // + // ShutdownToolStripMenuItem + // + this.ShutdownToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ShutdownToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicShutdown; + this.ShutdownToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.ShutdownToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.ShutdownToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Silver; + this.ShutdownToolStripMenuItem.Name = "ShutdownToolStripMenuItem"; + this.ShutdownToolStripMenuItem.Padding = new System.Windows.Forms.Padding(4, 0, 25, 0); + this.ShutdownToolStripMenuItem.Size = new System.Drawing.Size(138, 36); + this.ShutdownToolStripMenuItem.Text = "Shut Down..."; + this.ShutdownToolStripMenuItem.Click += new System.EventHandler(this.ShutdownToolStripMenuItem_Click); + // + // ossidestartmenu + // + this.ossidestartmenu.Controls.Add(this.osimage); + this.ossidestartmenu.Location = new System.Drawing.Point(0, 0); + this.ossidestartmenu.Name = "ossidestartmenu"; + this.ossidestartmenu.Size = new System.Drawing.Size(26, 297); + this.ossidestartmenu.TabIndex = 4; + // + // osimage + // + this.osimage.Dock = System.Windows.Forms.DockStyle.Fill; + this.osimage.Image = global::TimeHACK.Properties.Resources.Win95SideBar; + this.osimage.Location = new System.Drawing.Point(0, 0); + this.osimage.Name = "osimage"; + this.osimage.Size = new System.Drawing.Size(26, 297); + this.osimage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.osimage.TabIndex = 0; + this.osimage.TabStop = false; + // // clockTimer // - this.clockTimer.Enabled = true; + this.clockTimer.Tick += new System.EventHandler(this.clockTimer_Tick); // // desktopImages // this.desktopImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("desktopImages.ImageStream"))); + this.desktopImages.TransparentColor = System.Drawing.Color.Transparent; this.desktopImages.Images.SetKeyName(0, "WinClassicComputer.png"); this.desktopImages.Images.SetKeyName(1, "WinClassicFolder.png"); this.desktopImages.Images.SetKeyName(2, "WinClassicIE4.png"); @@ -60,33 +975,311 @@ namespace TimeHACK.OS.Win95 this.desktopImages.Images.SetKeyName(10, "WinClassicSetup.png"); this.desktopImages.Images.SetKeyName(11, "WinClassicSetup.png"); // + // desktopicons + // + this.desktopicons.Alignment = System.Windows.Forms.ListViewAlignment.Left; + this.desktopicons.BackColor = System.Drawing.Color.Teal; + this.desktopicons.BackgroundImageTiled = true; + this.desktopicons.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.desktopicons.Dock = System.Windows.Forms.DockStyle.Fill; + this.desktopicons.ForeColor = System.Drawing.Color.White; + this.desktopicons.Items.AddRange(new System.Windows.Forms.ListViewItem[] { + listViewItem1, + listViewItem2, + listViewItem3, + listViewItem4, + listViewItem5, + listViewItem6, + listViewItem7, + listViewItem8}); + this.desktopicons.LargeImageList = this.desktopImages; + this.desktopicons.Location = new System.Drawing.Point(0, 0); + this.desktopicons.Name = "desktopicons"; + this.desktopicons.Size = new System.Drawing.Size(640, 480); + this.desktopicons.TabIndex = 6; + this.desktopicons.UseCompatibleStateImageBehavior = false; + this.desktopicons.DoubleClick += new System.EventHandler(this.desktopicons_Click); + this.desktopicons.MouseDown += new System.Windows.Forms.MouseEventHandler(this.desktop_mousedown); + // + // rightclickbackproperties + // + this.rightclickbackproperties.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.PropertiesToolStripMenuItem, + this.LineUpIconsToolStripMenuItem, + this.PasteToolStripMenuItem, + this.PasteShortcutToolStripMenuItem, + this.NewToolStripMenuItem1, + this.PropertiesToolStripMenuItem1}); + this.rightclickbackproperties.Name = "ContextMenuStrip1"; + this.rightclickbackproperties.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; + this.rightclickbackproperties.Size = new System.Drawing.Size(151, 136); + // + // PropertiesToolStripMenuItem + // + this.PropertiesToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.PropertiesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ByNameToolStripMenuItem, + this.ByTypeToolStripMenuItem, + this.BySizeToolStripMenuItem, + this.AutoArrangeToolStripMenuItem, + this.ByDateToolStripMenuItem}); + this.PropertiesToolStripMenuItem.Name = "PropertiesToolStripMenuItem"; + this.PropertiesToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.PropertiesToolStripMenuItem.Text = "Arrange Icons"; + // + // ByNameToolStripMenuItem + // + this.ByNameToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ByNameToolStripMenuItem.Name = "ByNameToolStripMenuItem"; + this.ByNameToolStripMenuItem.Size = new System.Drawing.Size(145, 22); + this.ByNameToolStripMenuItem.Text = "by Name"; + // + // ByTypeToolStripMenuItem + // + this.ByTypeToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ByTypeToolStripMenuItem.Name = "ByTypeToolStripMenuItem"; + this.ByTypeToolStripMenuItem.Size = new System.Drawing.Size(145, 22); + this.ByTypeToolStripMenuItem.Text = "by Type"; + // + // BySizeToolStripMenuItem + // + this.BySizeToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.BySizeToolStripMenuItem.Name = "BySizeToolStripMenuItem"; + this.BySizeToolStripMenuItem.Size = new System.Drawing.Size(145, 22); + this.BySizeToolStripMenuItem.Text = "by Size"; + // + // AutoArrangeToolStripMenuItem + // + this.AutoArrangeToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.AutoArrangeToolStripMenuItem.Name = "AutoArrangeToolStripMenuItem"; + this.AutoArrangeToolStripMenuItem.Size = new System.Drawing.Size(145, 22); + this.AutoArrangeToolStripMenuItem.Text = "Auto Arrange"; + // + // ByDateToolStripMenuItem + // + this.ByDateToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ByDateToolStripMenuItem.Name = "ByDateToolStripMenuItem"; + this.ByDateToolStripMenuItem.Size = new System.Drawing.Size(145, 22); + this.ByDateToolStripMenuItem.Text = "by Date"; + // + // LineUpIconsToolStripMenuItem + // + this.LineUpIconsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.LineUpIconsToolStripMenuItem.Name = "LineUpIconsToolStripMenuItem"; + this.LineUpIconsToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.LineUpIconsToolStripMenuItem.Text = "Line Up Icons"; + // + // PasteToolStripMenuItem + // + this.PasteToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.PasteToolStripMenuItem.Name = "PasteToolStripMenuItem"; + this.PasteToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.PasteToolStripMenuItem.Text = "Paste"; + // + // PasteShortcutToolStripMenuItem + // + this.PasteShortcutToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.PasteShortcutToolStripMenuItem.Name = "PasteShortcutToolStripMenuItem"; + this.PasteShortcutToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.PasteShortcutToolStripMenuItem.Text = "Paste Shortcut"; + // + // NewToolStripMenuItem1 + // + this.NewToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.NewToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FolderToolStripMenuItem, + this.ShortcutToolStripMenuItem, + this.WaveSoundToolStripMenuItem, + this.TextDocumentToolStripMenuItem, + this.WordPadDocumentToolStripMenuItem, + this.BitmapImageToolStripMenuItem, + this.MicrosoftDataLinkToolStripMenuItem}); + this.NewToolStripMenuItem1.Name = "NewToolStripMenuItem1"; + this.NewToolStripMenuItem1.Size = new System.Drawing.Size(150, 22); + this.NewToolStripMenuItem1.Text = "New"; + // + // FolderToolStripMenuItem + // + this.FolderToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.FolderToolStripMenuItem.Name = "FolderToolStripMenuItem"; + this.FolderToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.FolderToolStripMenuItem.Text = "Folder"; + this.FolderToolStripMenuItem.Click += new System.EventHandler(this.FolderToolStripMenuItem_Click); + // + // ShortcutToolStripMenuItem + // + this.ShortcutToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.ShortcutToolStripMenuItem.Name = "ShortcutToolStripMenuItem"; + this.ShortcutToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.ShortcutToolStripMenuItem.Text = "Shortcut"; + // + // WaveSoundToolStripMenuItem + // + this.WaveSoundToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.WaveSoundToolStripMenuItem.Name = "WaveSoundToolStripMenuItem"; + this.WaveSoundToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.WaveSoundToolStripMenuItem.Text = "Wave Sound"; + // + // TextDocumentToolStripMenuItem + // + this.TextDocumentToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.TextDocumentToolStripMenuItem.Name = "TextDocumentToolStripMenuItem"; + this.TextDocumentToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.TextDocumentToolStripMenuItem.Text = "Text Document"; + // + // WordPadDocumentToolStripMenuItem + // + this.WordPadDocumentToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.WordPadDocumentToolStripMenuItem.Name = "WordPadDocumentToolStripMenuItem"; + this.WordPadDocumentToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.WordPadDocumentToolStripMenuItem.Text = "WordPad Document"; + // + // BitmapImageToolStripMenuItem + // + this.BitmapImageToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.BitmapImageToolStripMenuItem.Name = "BitmapImageToolStripMenuItem"; + this.BitmapImageToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.BitmapImageToolStripMenuItem.Text = "Bitmap Image"; + // + // MicrosoftDataLinkToolStripMenuItem + // + this.MicrosoftDataLinkToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.MicrosoftDataLinkToolStripMenuItem.Name = "MicrosoftDataLinkToolStripMenuItem"; + this.MicrosoftDataLinkToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.MicrosoftDataLinkToolStripMenuItem.Text = "Microsoft Data Link"; + // + // PropertiesToolStripMenuItem1 + // + this.PropertiesToolStripMenuItem1.BackColor = System.Drawing.Color.Silver; + this.PropertiesToolStripMenuItem1.Name = "PropertiesToolStripMenuItem1"; + this.PropertiesToolStripMenuItem1.Size = new System.Drawing.Size(150, 22); + this.PropertiesToolStripMenuItem1.Text = "Properties"; + // // Windows95 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Teal; this.ClientSize = new System.Drawing.Size(640, 480); + this.Controls.Add(this.taskbar); + this.Controls.Add(this.startmenu); + this.Controls.Add(this.panel1); + this.Controls.Add(this.desktopicons); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Windows95"; + this.Tag = "ignoreFormOnTaskbar"; + this.Text = "TimeHACKDesktop"; this.Load += new System.EventHandler(this.Desktop_Load); - this.Controls.SetChildIndex(this.desktopicons, 0); - this.Controls.SetChildIndex(this.panel1, 0); - this.Controls.SetChildIndex(this.startmenu, 0); - this.Controls.SetChildIndex(this.taskbar, 0); this.panel1.ResumeLayout(false); this.taskbar.ResumeLayout(false); + this.clockPanel.ResumeLayout(false); + this.clockPanel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.startbutton)).EndInit(); this.startmenu.ResumeLayout(false); this.startmenu.PerformLayout(); + this.startmenuitems.ResumeLayout(false); + this.startmenuitems.PerformLayout(); this.ossidestartmenu.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.osimage)).EndInit(); - this.clockPanel.ResumeLayout(false); - this.clockPanel.PerformLayout(); + this.rightclickbackproperties.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); } #endregion + + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Panel panel2; + internal System.Windows.Forms.Panel taskbar; + internal System.Windows.Forms.PictureBox startbutton; + internal System.Windows.Forms.Label taskbartime; + internal System.Windows.Forms.Panel startmenu; + internal System.Windows.Forms.MenuStrip startmenuitems; + internal System.Windows.Forms.ToolStripMenuItem ProgramsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem AccessoriesToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CommunicationsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem InternetConnectionWizardToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem NetMeetingToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem MultimediaToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CDPlayerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SoundRecorderToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem VolumeControlToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem WindowsMediaPlayerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SystemToolsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem DiskDefragmenterToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ScanDiskToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem AddressBookToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CalculatorToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem HyperTerminalToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ImagingToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem NotePadToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem OnlineRegistrationToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PaintToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PhoneDialerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem WordPadToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem StartUpToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem AOLInternetFREETrialToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ATTWorldNetSignupToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SetupCompuServe30ToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SetupWOWFromCompuServeToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem MSDOSPromptToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem EmptyToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem InternetExplorerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem MSDOSPromptToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem OutlookExpressToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem WindowsExplorerToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem GuessTheNumberToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem StartRunnerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ErrorBlasterToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SkindowsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem WebChatToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TimeDistorterToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem DocumentsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SettingsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ControlPanelToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PrintersToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TaskbarToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem FindToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem FilesOrFoldersToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ComputerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem OnTheInternetToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PeopleToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem RunToolStripMenuItem; + internal System.Windows.Forms.Panel ossidestartmenu; + internal System.Windows.Forms.PictureBox osimage; + internal System.Windows.Forms.ToolStripMenuItem ShutdownToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SuspendToolStripMenuItem; + private System.Windows.Forms.Panel clockPanel; + private System.Windows.Forms.Timer clockTimer; + private System.Windows.Forms.ImageList desktopImages; + internal System.Windows.Forms.ListView desktopicons; + internal System.Windows.Forms.ContextMenuStrip rightclickbackproperties; + internal System.Windows.Forms.ToolStripMenuItem PropertiesToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ByNameToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ByTypeToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem BySizeToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem AutoArrangeToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ByDateToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem LineUpIconsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PasteToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PasteShortcutToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem NewToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem FolderToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ShortcutToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem WaveSoundToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TextDocumentToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem WordPadDocumentToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem BitmapImageToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem MicrosoftDataLinkToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PropertiesToolStripMenuItem1; + internal System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Windows95)); + private System.Windows.Forms.ToolStripMenuItem windowManagerTestToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem downloaderTestToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem installerTestToolStripMenuItem; + private System.Windows.Forms.Panel taskbarItems; + private System.Windows.Forms.ToolStripMenuItem storyTest1ToolStripMenuItem; } }
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index c1b8601..9dbc395 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -10,16 +10,15 @@ using TimeHACK.Engine.Template.Taskbars; using TimeHACK.OS.Win95.Win95Apps;
using TimeHACK.WinClassicForms;
using TimeHACK.OS.Win95.Win95Apps.Story;
-using TimeHACK.OS;
namespace TimeHACK.OS.Win95
{
- public partial class Windows95 : BaseOS
+ public partial class Windows95 : Form
{
private SoundPlayer startsound;
- private SoundPlayer stopsound;
public WindowManager wm = new WindowManager();
+ public List<WinClassic> nonimportantapps = new List<WinClassic>();
public WinClassic webchat;
public WinClassic ie;
public TaskBarController tb = new TaskBarController();
@@ -34,14 +33,12 @@ namespace TimeHACK.OS.Win95 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)
{
- // Setup the Form
- startmenu.Hide();
-
// Make Font Mandatory
fontLoad();
@@ -50,7 +47,23 @@ namespace TimeHACK.OS.Win95 startsound = new SoundPlayer(audio);
startsound.Play();
- //Program.nonimportantapps.Capacity = 100;
+ // 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();
@@ -75,8 +88,40 @@ namespace TimeHACK.OS.Win95 #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)
{
@@ -102,8 +147,15 @@ namespace TimeHACK.OS.Win95 private void NotePadToolStripMenuItem_Click(object sender, EventArgs e)
{
- openApp.OpenApp("notepad");
+ 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)
@@ -140,7 +192,44 @@ namespace TimeHACK.OS.Win95 private void InternetExplorerToolStripMenuItem_Click(object sender, EventArgs e)
{
- openApp.OpenApp("ie4");
+ 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)
@@ -160,13 +249,119 @@ namespace TimeHACK.OS.Win95 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();
}
- //TODO: Add Outlook Express 4
+ 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();
+ 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();
+ }
}
}
diff --git a/TimeHACK.Main/OS/Win95/Win95.resx b/TimeHACK.Main/OS/Win95/Win95.resx index d9d5bd0..38f1073 100644 --- a/TimeHACK.Main/OS/Win95/Win95.resx +++ b/TimeHACK.Main/OS/Win95/Win95.resx @@ -117,6 +117,285 @@ <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="taskbar.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAMAAAAcCAIAAAArypKmAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAABdJREFUKFNjOAADDP9hAEkMSo801oEDAK4uvzipdjzMAAAAAElFTkSuQmCC +</value> + </data> + <data name="startbutton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAADYAAAAWCAIAAAAEi/i8AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAARJJREFUSEvdlQEOwjAMA/f0PY2f8JSROl6apg1jgonCCRXHSam1amLZ5mYR5Os+ + K+u61oi3Kfm7iGV0h9b1vBoRqQawfSWDiP3BZQLg1QJVNcO0AK23SSPaakiqJuJeYFPBl5k+pB9OLxqT + DaciejJ/SD88iChHqzCwy+VTTkYUQikEJ2gljWhrTNaBTYQWoLWbLBzmmwhaSS9aw3URWel/ksINLb7l + taClYY7vqlaGr8umwsAuoQaWiJaSQy2+dahNBK2kEW3FRzmI6MtT2kTQSnrRe6Aay4nC8CnSArSAd1Qb + oSuEcvgUm18XykQOhy4jjWirB31C6ysRFZxeodvxpPUp0ojz8FMRRU1LiTg7y/IA/2bUcHiDzYsAAAAA + SUVORK5CYII= +</value> + </data> + <metadata name="startmenuitems.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <data name="InternetConnectionWizardToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAALRJREFUOE+N + kgEOwCAIA3m6T/NnG6UwBZ1bk6pTemIy2am1dlX70VlR3Hu/IBE1wr5/BOEQymFZLRvIHMZtGjUjEHOG + mIdS214UkGi92qM5zDnCENfYn+0AQvAxC2/nHsNe+HgLwCbEmW1HmLOOZtYuAB0SJKAsivAPgBXpOgNQ + PPwCyDcF4M0TAIZw84CUgq1TF2xvhP+oACBCAoBW9dg6szWLzeUZs9Y/7mQNVMCjOPywyA3MF+cOKQF9 + RAAAAABJRU5ErkJggg== +</value> + </data> + <data name="NetMeetingToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAKpJREFUOE/N + UskNgDAMy+gdrZsVO3cL/HhgySKJD/WB/BdjjNXpZ9wFu+R+QwTmnDAtY5UsbErOGuiIIKmBoJYwwEJ7 + QZbEk066qCHbo8R0Qj0OPbA1vrxpCKxSm3dPIYWtwMNED28Fp5Ai7lWwe17DFNKwFRBHmKj2EDCZ4eEF + pxeIdj+AnH33gtIeGO11jAJQw20X+5nAG7SE5GykuTO1V5yGHur3LyFyAZP8TrljsWNAAAAAAElFTkSu + QmCC +</value> + </data> + <data name="CDPlayerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcwxstlzQAAALVJREFU + OE+dj4ERwyAMAxmd0diMImMZYaC9q3xOIJaeUP5Q936r1tpz+wgi4ATR3Huxbq1FC4ihHWDDEWM4A9jD + ukJczzBqRl8AD+iVMgB1B7j5BGATpqgJ4XfbeTi8vt8ANnCAn2JvnZuH4RvADKgx5MnHfAHm/bMB0j8A + KnueAEjX+Bs+1RcAiBBITWYUACEjssIQAFAOmzmissoAKF9FARvkFqYAySACxvh7WEXQWP4IlvIBh1rl + tmCAq4kAAAAASUVORK5CYII= +</value> + </data> + <data name="SoundRecorderToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcZhHn9oQAAAJ9JREFU + OE+VkAEOxCAIBH26P6s/8zrgeqTS05uEKMouaNnQR/zPdZVeazWDsZ6DuHfv3lqz8JsDJKYrgRiyKZYz + ieFOpxhiscxH6sIojuMLCV669lD8nYAQi1CosxusE7DCoQG44L6SyPL4hBic2ftJnhMQQsVvWHH8SPLs + E3dME/aZwYnRfBIholB3I00xE1amIDLBscmu8Bdm4NuMUj70z1LCUTedOwAAAABJRU5ErkJggg== +</value> + </data> + <data name="VolumeControlToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCcbanecjQAAAItJREFU + OE+VjgEOhCAMBHk6T+Nn2iFuXEEtTLLBbNu5K6LWeuzkOruhXCXWvwWttd9cv74miLrHu1TASyQAHSr0 + /chh4PiBz/iO9W+B/mpUj6hPBbxEEtChQt+PHAbOKBCpgGUl6qlLBbxkFKgn9P3IYeCMApEKWFaEd1uC + t6QC3iyxPgsCDVYTlHICH5QKXtIjRNoAAAAASUVORK5CYII= +</value> + </data> + <data name="WindowsMediaPlayerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6 + JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAB3RJTUUH4QQIFCgUfVCd0wAAAHpJREFU + OE+djgsOgDAIQzn6bubRlF+zOZV1vqRBGK0IS2vthHK0ZjQBHdcBhcllc9t7UJnsvSSM4tKWM03cAvLM + Ve3YwNBPuqYCJONxVbGvCnABSx2QfwJjK0c03wHYzjq1RICB7WRsf10AeU9dQPAasCu19YAEww2JXJGJ + 13tFDjjJAAAAAElFTkSuQmCC +</value> + </data> + <data name="DiskDefragmenterToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAMFJREFUOE+V + kAsShDAIQzk6R/Nm3SSU2g/uaJxMi5Bnq81yt0b38pCbnz03hGDtEaYq0HVdraF9QBiORoAyXIFKyAhO + IG6m8P+TRDDMPV4JkBDWGkSNYe0JcS8AGoArAEPYDcjQAcgheL9CCVkAU1iP3sd9887L8akDkE//OoMo + ByhSkxYAl3x0EgTg6QTk3FZ/B6TRpLSiHoAOpXWVR8D4wgYopMad7KAPgJQGIh3WMbEu/+CFNEhAhKPu + /qQXQbMf8nZYxbrHLzUAAAAASUVORK5CYII= +</value> + </data> + <data name="ScanDiskToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAACmSURBVDhPnZFR + EsQgCEM9ukfzZl0CREmrO7uNw0ghL360ndR7v7L9X4BfBxDeVVrOmsaLQqd1DKowK7QmYwxvza4hC66H + UpiV6IJlm+UQOnvxvg7aBAPkIWpY87rICtpkX/4SX5MgmkvnxzD4JIC3BCUGzZCEfWb9I4D3M2gDp3xY + oXsQ9vRAYAJVbYNqAARf2M+aQa3Hr2QAdmH5TTPoDVz1BW7tA7ajvYP7sMmIAAAAAElFTkSuQmCC +</value> + </data> + <data name="AddressBookToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAG1JREFUOE/N + j1sOgCAQAzk6N/exdqRsAuqH0THNrm2DWP5DrXVxyQ5mWRc6FLO/Wa5WYBKyZyLfn9EBoMJwl65vwA4p + e+EGDkXneJ8coODcM+TSvV9wwmfu5C8jPOZA7YCMleT0KAu68kN9TikrCNOnE4xyRLMAAAAASUVORK5C + YII= +</value> + </data> + <data name="CalculatorToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAABzSURBVDhPxZBR + DsAgCEM9ukfzZowW9UdFmUtG8mR0UtiSiFwxFSPYkbO8gb31gXahDBOdb9MhsHCoUzsJ4J0WdNRiFaUU + 36BtgIsrXAPEcGHHsAFF+4yT/M8GCP4Pa2z5iw26EEUNMNyc4rAXxw1T8RxJD2E2VfJhfZIbAAAAAElF + TkSuQmCC +</value> + </data> + <data name="ImagingToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAH9JREFUOE+l + jgESgCAIBHk6T/NnxjFCVlBKzJyhc7sTEXH/FzmYqJSLYHdCAc40AMaOqQmGBJMKmOVx7B6UeUGgsMQk + +jV4RQDYAri1dsKTBPMqcBilG/z5BwZbIgkmFNxhl0ww7trdESDo2K7dTJBGOrZrNxLszENQiQvq4X4A + JbFDpxtWNlIAAAAASUVORK5CYII= +</value> + </data> + <data name="NotePadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAACFSURBVDhPpZNB + DsAgCAR9uk/zZ1S0i6CoDTUZQ5EdTk1EtFAPX0dkFoU0aivnTOnFrZVkCZvGjjpXSuki02c7F9g0gzdP + YD7mIDMGW3gV6KEdPOMJjOmECltBYLsIxHJjCg9BYDufIejXFYQ17Q1LwG7YIyTA4Tok0PwStB/LE0Dy + BSJKDySVfIiSNKD1AAAAAElFTkSuQmCC +</value> + </data> + <data name="OnlineRegistrationToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wAAADsABataJCQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAACzSURBVDhPhZJR + EsUgCAN7dI7mzawRl1KLU2fygMimfryr9/6rcUY53FVmluDWmpoxFveViQSZuU4h72GMyMwm5AF2DPnA + QPTM9FIOCTiMBarSI1712qeZwwbkkApejBuqLLK8h7Cb5T8HGI8QBLPq8+wdzr722FUNL7+gEsuE06MI + qELk6T7DOhNcwTNAcuMJAZYAdQgiJAIk/kAZdr8OmCHD+5UWeRkBfKgEduUAYL/r1w0ie5EGNPvMCQAA + AABJRU5ErkJggg== +</value> + </data> + <data name="PaintToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAADBSURBVDhPhZAB + GoUgCIM9ukfrZj02mBJhb32U5v6JjpfmuGP0pQ8PAg4h0/6jbKj1xgcDniYEMGTDGpR0CLCJAIPnfV2X + 5lve4hTMXbirjVETQHQQtaX23LFN9mIRXtMCh14BIirctm/yiyGNkB7mHvxXAgTj/Os4jegzmHeVQ3KA + TWlAq7UUQOgUYE3KxCDMXd5drEGnADfz/Qj6d4QC569ZukoKUwfrq3ugewmgnmgP5eCztGaVFK0HnJUB + VdEYP35ybB/eOVN7AAAAAElFTkSuQmCC +</value> + </data> + <data name="PhoneDialerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAK5JREFUOE+V + kAESwyAIBH06T/Nnlju8FNFJ7c0w0sBuTVqNWRu15uh3sDzGXleiDJsZlnleiyTwloXgzGLVUTIfcqH3 + zhO/UZrlG20S/RNg9JLodSSUAD045gR/JUj0vsoeM/SEkRAosVBhQTgPgvy1lfVWBazw8KGxsiiDGdbr + gKfAWwJIFp3AuFF8WPAUaOBPwuJJSwuomjNmWcqiF/CBczbRLVjziP4Fay7A1j6MmatnPf0QdQAAAABJ + RU5ErkJggg== +</value> + </data> + <data name="WordPadToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAACMSURBVDhPnZAB + DsAgCAN9Ok/zZ4yiEINsMkkKRNezWWNmlZSM84wabVwyEX3ODNLCZXWiyUrsgEr13h2gZlmvAGZGKQAX + VRlAzfcJIAB+/gMiM5smIMbMBLO8uUMqCcxsOzww4/AIiGZ7eR4OQBYZ2uIGswOyWj72ArQMyOoVsMY+ + aQNok1HVambm9gBAYeI/oBSQZwAAAABJRU5ErkJggg== +</value> + </data> + <data name="InternetExplorerToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACVSURBVDhPlZELEsQgDEI9em7uBhVN2HTtvhmqotBf+4/e + s36ih6mIrgcmARX2CdaJE/brnn+LJZhvYFo3czeFp3/W0U9UYWgjfiq4honsr5I6/EZewDDG8sBNMwgY + iAUvQMG5+7VA9vcTBENKzPCB4T284ikYTFNKao1SH3IBwHwdqIroJ7hJxvxJGf+Hy2RJLLrR2gerBkDv + 4H+zGwAAAABJRU5ErkJggg== +</value> + </data> + <data name="MSDOSPromptToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC7SURBVDhPdU8BEgQhCOrp/bwT0WKpY4bRCMlGYc05FyqP + CdWSOD98Y5QI7KqaDbqXAX9MwOvu6/EAMQPde9CBD5upez1rvQNQi8DWlaUn1jRCi1ghAg55LwHRbTIA + Qy3hxWjWlxKULttgfTbBQPeotskJaNNMHo0BvVX7kgkNCFwBQFQG+OvAFcCQdwB6bARSp9rmJHpofYZZ + Xs3+CnAysLapAaV+Yw8o+Q0SHgw4d8A93OQGJIdkMDjGD7QCaoJbLIxPAAAAAElFTkSuQmCC +</value> + </data> + <data name="OutlookExpressToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACVSURBVDhPlZCBEoAgCEP9dP6cGrCa5ZG9u51GbKKjxz21 + jZWBwjfYCjE3Ozt9SICGtDzNhBN9hKxPVjUBMNcums22Rr5BQIZwXCjJsK0JwlSNDKHwPmulJ4iA2Kik + 8eyYQQ3lWkHeX1U/ZjOCb6MG8M4zZbuAuQ1QYFcpZeGaPAM6ytIH6OmQUhauyeoNPnj1o/BDww9Iu0V1 + d9BzlgAAAABJRU5ErkJggg== +</value> + </data> + <data name="WindowsExplorerToolStripMenuItem1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACSSURBVDhPrZGBDoAgCET9dP7c5OBSEme2brsw8J6uCiUi + 9Wkf7cXNtZZQX0FW4RGSWWeQvpxKBHCDdEA8sS1Rs5ulgLDGE70UkgKmsNo0QZaAKWyVAYS1bm+AAasD + GNaaArhGM4T1o0ZICuhD+wPqG6jnNhMyAXhC5rajRQxAiPUd4GJj4Qjx/ql+h3wCQEO4lAsJcX7eS0qA + zQAAAABJRU5ErkJggg== +</value> + </data> + <data name="windowManagerTestToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="downloaderTestToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="installerTestToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="ControlPanelToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="PrintersToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="TaskbarToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="FindToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="FilesOrFoldersToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="ComputerToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="OnTheInternetToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> + <data name="PeopleToolStripMenuItem.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wQAADsEBuJFr7QAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAAMSURBVBhXYzhw + 4AAABIQCQUtXaBsAAAAASUVORK5CYII= +</value> + </data> <metadata name="clockTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <value>153, 17</value> </metadata> @@ -127,8 +406,8 @@ <value> AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADs - ggAAAk1TRnQBSQFMAgEBDAEAAXABAQF4AQEBIAEAASABAAT/ASEBEAj/AUIBTQE2BwABNgMAASgDAAGA + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADq + ggAAAk1TRnQBSQFMAgEBDAEAAWABAQFgAQEBIAEAASABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAGA AwABgAMAAQEBAAEgBwABAf8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8AXAAB/wMAAf8DAAH/AwAB/wMAAf8DAAH/AwAB/x8AAf8DAAH/ @@ -686,13 +965,15 @@ AeABAwHwAwAB/gIAAQcEAAHwAgABAwH4AgABAQH+AgABBwQAAfgCAAEHAfgCAAEBAf4CAAEHBAAB/AIA AQcB/AIAAQMB/gIAAQcDAAEBAf4CAAEOAfwCAAEDAf4CAAEHAYABAAP/AgABHgH8AgABBwH+AgABBwHA AQED/wHAAQABfgH8AgABDwH+AgABBwHgAQMD/wH4AQEB/gH8AgABHwH/AgABBwHwAQcE/wHhAvwCAAE/ - Af8BgAEAAQcG/wH8AXkB/wIAAv8BwAEAAQ8H/wEDAf8BxAEDAf8WAAs= + Af8BgAEAAQcG/wH8AXkB/wIAAv8BwAEAAQ8H/wEDAf8BxAEDAf8L </value> </data> + <metadata name="rightclickbackproperties.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>398, 17</value> + </metadata> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <value>63</value> </metadata> - <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value> AAABAAUAEBAAAAAAIABoBAAAVgAAACAgAAAAACAAqBAAAL4EAAAwMAAAAAAgAKglAABmFQAAQEAAAAAA diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.Designer.cs new file mode 100644 index 0000000..4319d9e --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.Designer.cs @@ -0,0 +1,227 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class FRMWinClassicAddressBookNewContact + { + /// <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 Component 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() + { + this.button1 = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.txtFirst = new System.Windows.Forms.TextBox(); + this.txtMiddle = new System.Windows.Forms.TextBox(); + this.txtLast = new System.Windows.Forms.TextBox(); + this.emails = new System.Windows.Forms.ListView(); + this.label4 = new System.Windows.Forms.Label(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.pnlAdd = new System.Windows.Forms.Panel(); + this.button4 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.pnlAdd.SuspendLayout(); + this.SuspendLayout(); + // + // button1 + // + this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.button1.Location = new System.Drawing.Point(107, 239); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(105, 23); + this.button1.TabIndex = 0; + this.button1.Text = "OK"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(16, 13); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(60, 13); + this.label1.TabIndex = 1; + this.label1.Text = "First Name:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(16, 36); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(72, 13); + this.label2.TabIndex = 1; + this.label2.Text = "Middle Name:"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(16, 59); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(61, 13); + this.label3.TabIndex = 1; + this.label3.Text = "Last Name:"; + // + // txtFirst + // + this.txtFirst.Location = new System.Drawing.Point(94, 13); + this.txtFirst.Name = "txtFirst"; + this.txtFirst.Size = new System.Drawing.Size(203, 20); + this.txtFirst.TabIndex = 2; + // + // txtMiddle + // + this.txtMiddle.Location = new System.Drawing.Point(94, 36); + this.txtMiddle.Name = "txtMiddle"; + this.txtMiddle.Size = new System.Drawing.Size(203, 20); + this.txtMiddle.TabIndex = 2; + // + // txtLast + // + this.txtLast.Location = new System.Drawing.Point(94, 59); + this.txtLast.Name = "txtLast"; + this.txtLast.Size = new System.Drawing.Size(203, 20); + this.txtLast.TabIndex = 2; + // + // emails + // + this.emails.Location = new System.Drawing.Point(94, 114); + this.emails.Name = "emails"; + this.emails.Size = new System.Drawing.Size(203, 119); + this.emails.TabIndex = 3; + this.emails.UseCompatibleStateImageBehavior = false; + this.emails.View = System.Windows.Forms.View.List; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(91, 89); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(40, 13); + this.label4.TabIndex = 4; + this.label4.Text = "Emails:"; + // + // button2 + // + this.button2.Location = new System.Drawing.Point(13, 114); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(75, 23); + this.button2.TabIndex = 5; + this.button2.Text = "Add"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(13, 143); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(75, 23); + this.button3.TabIndex = 5; + this.button3.Text = "Remove"; + this.button3.UseVisualStyleBackColor = true; + // + // pnlAdd + // + this.pnlAdd.Controls.Add(this.button4); + this.pnlAdd.Controls.Add(this.textBox1); + this.pnlAdd.Controls.Add(this.label5); + this.pnlAdd.Location = new System.Drawing.Point(94, 114); + this.pnlAdd.Name = "pnlAdd"; + this.pnlAdd.Size = new System.Drawing.Size(203, 119); + this.pnlAdd.TabIndex = 6; + this.pnlAdd.Visible = false; + // + // button4 + // + this.button4.Location = new System.Drawing.Point(59, 73); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(75, 23); + this.button4.TabIndex = 8; + this.button4.Text = "Add"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(9, 31); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(187, 20); + this.textBox1.TabIndex = 7; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(60, 18); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(68, 13); + this.label5.TabIndex = 0; + this.label5.Text = "Email to add:"; + // + // FRMWinClassicAddressBookNewContact + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.label4); + this.Controls.Add(this.txtLast); + this.Controls.Add(this.txtMiddle); + this.Controls.Add(this.txtFirst); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.label1); + this.Controls.Add(this.button1); + this.Controls.Add(this.emails); + this.Controls.Add(this.pnlAdd); + this.Name = "FRMWinClassicAddressBookNewContact"; + this.Size = new System.Drawing.Size(332, 265); + this.Load += new System.EventHandler(this.FRMWinClassicAddressBookNewContact_Load); + this.pnlAdd.ResumeLayout(false); + this.pnlAdd.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox txtFirst; + private System.Windows.Forms.TextBox txtMiddle; + private System.Windows.Forms.TextBox txtLast; + private System.Windows.Forms.ListView emails; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Button button3; + private System.Windows.Forms.Panel pnlAdd; + private System.Windows.Forms.Button button4; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label5; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs new file mode 100644 index 0000000..fe75e83 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs @@ -0,0 +1,71 @@ +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 System.Windows.Forms; + + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class FRMWinClassicAddressBookNewContact : UserControl + { + public AddressBookContact toSet = new AddressBookContact(); + public FRMWinClassicAddressBookNewContact() + { + InitializeComponent(); + Program.AddressBookSelectedContact = null; + } + + private void button2_Click(object sender, EventArgs e) + { + pnlAdd.Show(); + pnlAdd.BringToFront(); + } + + private void button1_Click(object sender, EventArgs e) + { + if (txtFirst.Text != "" && txtMiddle.Text != "" && txtLast.Text != "") + { + toSet.FirstName = txtFirst.Text; + toSet.MiddleName = txtMiddle.Text; + toSet.LastName = txtLast.Text; + + Program.AddressBookSelectedContact = toSet; + ((Form)this.TopLevelControl).Close(); + } else { + MessageBox.Show("Please fill out the First, Middle and Last name."); + } + } + + private void button4_Click(object sender, EventArgs e) + { + emails.Items.Add(textBox1.Text); + toSet.Emails.Add(textBox1.Text); + emails.BringToFront(); + } + + private void FRMWinClassicAddressBookNewContact_Load(object sender, EventArgs e) + { + if (toSet != null) + { + txtFirst.Text = toSet.FirstName; + txtMiddle.Text = toSet.MiddleName; + txtLast.Text = toSet.LastName; + if (toSet.Emails != null) + { + foreach (String email in toSet.Emails) + { + emails.Items.Add(email); + } + } + } else + { + MessageBox.Show("NULL CONTACT!"); + } + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.resx b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.resx @@ -0,0 +1,120 @@ +<?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> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.Designer.cs new file mode 100644 index 0000000..c7efcd0 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.Designer.cs @@ -0,0 +1,81 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class FRMWinClassicAddressBookNewFolder + { + /// <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 Component 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() + { + this.label1 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(102, 11); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(70, 13); + this.label1.TabIndex = 1; + this.label1.Text = "Folder Name:"; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(97, 78); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(75, 23); + this.button1.TabIndex = 2; + this.button1.Text = "OK"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(3, 40); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(295, 20); + this.textBox1.TabIndex = 3; + // + // FRMWinClassicAddressBookNewFolder + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.textBox1); + this.Controls.Add(this.button1); + this.Controls.Add(this.label1); + this.Name = "FRMWinClassicAddressBookNewFolder"; + this.Size = new System.Drawing.Size(301, 116); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.TextBox textBox1; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.cs new file mode 100644 index 0000000..705fd0d --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.cs @@ -0,0 +1,27 @@ +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 System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class FRMWinClassicAddressBookNewFolder : UserControl + { + + public FRMWinClassicAddressBookNewFolder() + { + InitializeComponent(); + } + + private void button1_Click(object sender, EventArgs e) + { + Program.AddressBookSelectedFolderName = textBox1.Text; + ((Form)this.TopLevelControl).Close(); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.resx b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewFolder.resx @@ -0,0 +1,120 @@ +<?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> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.Designer.cs new file mode 100644 index 0000000..41107e8 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.Designer.cs @@ -0,0 +1,398 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicAddressBook + { + /// <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 Component 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() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Shared Contacts"); + this.topmenu = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newContactToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.propertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.foldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.actionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.sendMailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.dialToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.internetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.aboutAddressBookToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.contactsView = new System.Windows.Forms.ListView(); + this.treeView1 = new System.Windows.Forms.TreeView(); + this.toolbar = new System.Windows.Forms.Panel(); + this.toolProp = new System.Windows.Forms.PictureBox(); + this.toolNew = new System.Windows.Forms.PictureBox(); + this.toolDelete = new System.Windows.Forms.PictureBox(); + this.newContext = new System.Windows.Forms.ContextMenuStrip(this.components); + this.newContactToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.newFolderToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.topmenu.SuspendLayout(); + this.toolbar.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.toolProp)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.toolNew)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.toolDelete)).BeginInit(); + this.newContext.SuspendLayout(); + this.SuspendLayout(); + // + // topmenu + // + this.topmenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200))))); + this.topmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.viewToolStripMenuItem, + this.toolsToolStripMenuItem, + this.helpToolStripMenuItem}); + this.topmenu.Location = new System.Drawing.Point(0, 0); + this.topmenu.Name = "topmenu"; + this.topmenu.Size = new System.Drawing.Size(666, 24); + this.topmenu.TabIndex = 1; + this.topmenu.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newContactToolStripMenuItem, + this.newFolderToolStripMenuItem, + this.toolStripSeparator1, + this.propertiesToolStripMenuItem, + this.deleteToolStripMenuItem, + this.toolStripSeparator2, + this.importToolStripMenuItem, + this.exportToolStripMenuItem, + this.toolStripSeparator3, + this.toolStripSeparator4, + this.exitToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // newContactToolStripMenuItem + // + this.newContactToolStripMenuItem.Name = "newContactToolStripMenuItem"; + this.newContactToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.newContactToolStripMenuItem.Text = "New contact..."; + this.newContactToolStripMenuItem.Click += new System.EventHandler(this.newContactToolStripMenuItem_Click); + // + // newFolderToolStripMenuItem + // + this.newFolderToolStripMenuItem.Name = "newFolderToolStripMenuItem"; + this.newFolderToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.newFolderToolStripMenuItem.Text = "New folder..."; + this.newFolderToolStripMenuItem.Click += new System.EventHandler(this.newFolderToolStripMenuItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(149, 6); + // + // propertiesToolStripMenuItem + // + this.propertiesToolStripMenuItem.Name = "propertiesToolStripMenuItem"; + this.propertiesToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.propertiesToolStripMenuItem.Text = "Properties"; + this.propertiesToolStripMenuItem.Click += new System.EventHandler(this.propertiesToolStripMenuItem_Click); + // + // deleteToolStripMenuItem + // + this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; + this.deleteToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.deleteToolStripMenuItem.Text = "Delete"; + this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(149, 6); + // + // importToolStripMenuItem + // + this.importToolStripMenuItem.Name = "importToolStripMenuItem"; + this.importToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.importToolStripMenuItem.Text = "Import..."; + // + // exportToolStripMenuItem + // + this.exportToolStripMenuItem.Name = "exportToolStripMenuItem"; + this.exportToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.exportToolStripMenuItem.Text = "Export..."; + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(149, 6); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.exitToolStripMenuItem.Text = "Exit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // viewToolStripMenuItem + // + this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolbarToolStripMenuItem, + this.foldersToolStripMenuItem}); + this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; + this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.viewToolStripMenuItem.Text = "View"; + // + // toolbarToolStripMenuItem + // + this.toolbarToolStripMenuItem.Checked = true; + this.toolbarToolStripMenuItem.CheckOnClick = true; + this.toolbarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.toolbarToolStripMenuItem.Name = "toolbarToolStripMenuItem"; + this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.toolbarToolStripMenuItem.Text = "Toolbar"; + this.toolbarToolStripMenuItem.Click += new System.EventHandler(this.toolbarToolStripMenuItem_Click); + // + // foldersToolStripMenuItem + // + this.foldersToolStripMenuItem.Checked = true; + this.foldersToolStripMenuItem.CheckOnClick = true; + this.foldersToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.foldersToolStripMenuItem.Name = "foldersToolStripMenuItem"; + this.foldersToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.foldersToolStripMenuItem.Text = "Folders"; + this.foldersToolStripMenuItem.Click += new System.EventHandler(this.foldersToolStripMenuItem_Click); + // + // toolsToolStripMenuItem + // + this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.actionToolStripMenuItem}); + this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; + this.toolsToolStripMenuItem.Size = new System.Drawing.Size(47, 20); + this.toolsToolStripMenuItem.Text = "Tools"; + // + // actionToolStripMenuItem + // + this.actionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.sendMailToolStripMenuItem, + this.dialToolStripMenuItem, + this.internetToolStripMenuItem}); + this.actionToolStripMenuItem.Name = "actionToolStripMenuItem"; + this.actionToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.actionToolStripMenuItem.Text = "Action"; + // + // sendMailToolStripMenuItem + // + this.sendMailToolStripMenuItem.Name = "sendMailToolStripMenuItem"; + this.sendMailToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.sendMailToolStripMenuItem.Text = "Send Mail"; + // + // dialToolStripMenuItem + // + this.dialToolStripMenuItem.Name = "dialToolStripMenuItem"; + this.dialToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.dialToolStripMenuItem.Text = "Dial"; + // + // internetToolStripMenuItem + // + this.internetToolStripMenuItem.Name = "internetToolStripMenuItem"; + this.internetToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.internetToolStripMenuItem.Text = "Internet Call"; + // + // helpToolStripMenuItem + // + this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.aboutAddressBookToolStripMenuItem}); + this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; + this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.helpToolStripMenuItem.Text = "Help"; + // + // aboutAddressBookToolStripMenuItem + // + this.aboutAddressBookToolStripMenuItem.Name = "aboutAddressBookToolStripMenuItem"; + this.aboutAddressBookToolStripMenuItem.Size = new System.Drawing.Size(182, 22); + this.aboutAddressBookToolStripMenuItem.Text = "About Address Book"; + // + // contactsView + // + this.contactsView.Dock = System.Windows.Forms.DockStyle.Fill; + this.contactsView.Location = new System.Drawing.Point(208, 72); + this.contactsView.Name = "contactsView"; + this.contactsView.Size = new System.Drawing.Size(458, 353); + this.contactsView.TabIndex = 3; + this.contactsView.UseCompatibleStateImageBehavior = false; + this.contactsView.View = System.Windows.Forms.View.List; + // + // treeView1 + // + this.treeView1.Dock = System.Windows.Forms.DockStyle.Left; + this.treeView1.Location = new System.Drawing.Point(0, 72); + this.treeView1.Name = "treeView1"; + treeNode1.Name = "Node0"; + treeNode1.Text = "Shared Contacts"; + this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { + treeNode1}); + this.treeView1.Size = new System.Drawing.Size(208, 353); + this.treeView1.TabIndex = 4; + this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); + // + // toolbar + // + this.toolbar.BackColor = System.Drawing.Color.Silver; + this.toolbar.BackgroundImage = global::TimeHACK.Properties.Resources.WinClassicGENERALApplicationToolbarBackground; + this.toolbar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.toolbar.Controls.Add(this.toolProp); + this.toolbar.Controls.Add(this.toolNew); + this.toolbar.Controls.Add(this.toolDelete); + this.toolbar.Dock = System.Windows.Forms.DockStyle.Top; + this.toolbar.Location = new System.Drawing.Point(0, 24); + this.toolbar.Name = "toolbar"; + this.toolbar.Size = new System.Drawing.Size(666, 48); + this.toolbar.TabIndex = 5; + // + // toolProp + // + this.toolProp.BackColor = System.Drawing.Color.Transparent; + this.toolProp.Image = global::TimeHACK.Properties.Resources.WinClassicAddressBookPropertiesIcon; + this.toolProp.Location = new System.Drawing.Point(65, 3); + this.toolProp.Name = "toolProp"; + this.toolProp.Size = new System.Drawing.Size(61, 39); + this.toolProp.TabIndex = 0; + this.toolProp.TabStop = false; + this.toolProp.Click += new System.EventHandler(this.toolProp_Click); + // + // toolNew + // + this.toolNew.BackColor = System.Drawing.Color.Transparent; + this.toolNew.Image = global::TimeHACK.Properties.Resources.WinClassicAddressBookNewIcon; + this.toolNew.Location = new System.Drawing.Point(16, 4); + this.toolNew.Name = "toolNew"; + this.toolNew.Size = new System.Drawing.Size(43, 39); + this.toolNew.TabIndex = 0; + this.toolNew.TabStop = false; + // + // toolDelete + // + this.toolDelete.BackColor = System.Drawing.Color.Transparent; + this.toolDelete.Image = global::TimeHACK.Properties.Resources.WinClassicAddressBookDeleteIcon; + this.toolDelete.Location = new System.Drawing.Point(132, 3); + this.toolDelete.Name = "toolDelete"; + this.toolDelete.Size = new System.Drawing.Size(61, 39); + this.toolDelete.TabIndex = 0; + this.toolDelete.TabStop = false; + this.toolDelete.Click += new System.EventHandler(this.toolDelete_Click); + // + // newContext + // + this.newContext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newContactToolStripMenuItem1, + this.newFolderToolStripMenuItem1}); + this.newContext.Name = "newContext"; + this.newContext.Size = new System.Drawing.Size(153, 48); + // + // newContactToolStripMenuItem1 + // + this.newContactToolStripMenuItem1.Name = "newContactToolStripMenuItem1"; + this.newContactToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.newContactToolStripMenuItem1.Text = "New Contact..."; + this.newContactToolStripMenuItem1.Click += new System.EventHandler(this.newContactToolStripMenuItem1_Click); + // + // newFolderToolStripMenuItem1 + // + this.newFolderToolStripMenuItem1.Name = "newFolderToolStripMenuItem1"; + this.newFolderToolStripMenuItem1.Size = new System.Drawing.Size(152, 22); + this.newFolderToolStripMenuItem1.Text = "New Folder..."; + this.newFolderToolStripMenuItem1.Click += new System.EventHandler(this.newFolderToolStripMenuItem1_Click); + // + // WinClassicAddressBook + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.contactsView); + this.Controls.Add(this.treeView1); + this.Controls.Add(this.toolbar); + this.Controls.Add(this.topmenu); + this.Name = "WinClassicAddressBook"; + this.Size = new System.Drawing.Size(666, 425); + this.topmenu.ResumeLayout(false); + this.topmenu.PerformLayout(); + this.toolbar.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.toolProp)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.toolNew)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.toolDelete)).EndInit(); + this.newContext.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + private System.Windows.Forms.MenuStrip topmenu; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem newContactToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem newFolderToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem propertiesToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.ListView contactsView; + private System.Windows.Forms.TreeView treeView1; + private System.Windows.Forms.ToolStripMenuItem toolbarToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem foldersToolStripMenuItem; + private System.Windows.Forms.Panel toolbar; + private System.Windows.Forms.PictureBox toolNew; + private System.Windows.Forms.PictureBox toolDelete; + private System.Windows.Forms.PictureBox toolProp; + private System.Windows.Forms.ToolStripMenuItem actionToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem sendMailToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem dialToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem internetToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem aboutAddressBookToolStripMenuItem; + private System.Windows.Forms.ContextMenuStrip newContext; + private System.Windows.Forms.ToolStripMenuItem newContactToolStripMenuItem1; + private System.Windows.Forms.ToolStripMenuItem newFolderToolStripMenuItem1; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs new file mode 100644 index 0000000..24404bf --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.cs @@ -0,0 +1,293 @@ +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 System.Windows.Forms; +using TimeHACK.Engine; +using TimeHACK.Engine.Template; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicAddressBook : UserControl + { + WindowManager wm = new WindowManager(); + + public List<AddressBookContactList> AddressBookObjects; + public WinClassicAddressBook() + { + InitializeComponent(); + foreach (ToolStripMenuItem item in topmenu.Items) + { + item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); + item.BackColor = Color.Silver; + item.BackgroundImage = Properties.Resources.sliversilver; + item.BackgroundImageLayout = ImageLayout.Center; + item.DisplayStyle = ToolStripItemDisplayStyle.Text; + } + + //Time to prepare to load all the fonts up for the combo boxes + + //foreach (FontFamily font in System.Drawing.FontFamily.Families) + //{ + // Added to the ComboBox here + + //comboFont.Items.Add(font.Name); + //} + + AddressBookObjects = new List<AddressBookContactList> + { + new AddressBookContactList() + { + AttachedNode = treeView1.Nodes[0].Text, + } + }; + } + + private void treeView1_AfterSelect(object sender, TreeViewEventArgs e) + { + UpdateContactListFromNodeName(treeView1.SelectedNode.Text); + } + + //AddressBookContactList GetAddressBookContactListFromNode(string NodeText) + //{ + // AddressBookContactList toReturn = new AddressBookContactList(); + // foreach (AddressBookContactList lstitem in AddressBookObjects) + // { + // if (lstitem.AttachedNode == NodeText) + // { + // toReturn = lstitem; + // } + // } + // if (toReturn == null) + // { + // // Something has gone wrong! + // MessageBox.Show("Unable to find list of items"); + // } + // MessageBox.Show("Gone through process!"); + // return toReturn; + //} + + public void UpdateContactListFromNodeName(string NodeName) + { + contactsView.Items.Clear(); + try + { + foreach (AddressBookContactList ContactList in AddressBookObjects) + { + if (ContactList.AttachedNode == NodeName) + { + foreach (AddressBookContact contact in ContactList.Contacts) + { + if (contact != null) + { + if (contact.FirstName != null) + { + contactsView.Items.Add(contact.FirstName + " " + contact.MiddleName + " " + contact.LastName); + } + } + else + { + MessageBox.Show("Null contact!"); + } + } + } + } + } catch + { + + } + } + + public void AddFolderToNode(TreeNode OldTreeNode, string NewNodeName) + { + if (OldTreeNode != null) + { + OldTreeNode.Nodes.Add(NewNodeName); + + AddressBookObjects.Add(new AddressBookContactList + { + AttachedNode = NewNodeName, + }); + } + } + + private void newFolderToolStripMenuItem_Click(object sender, EventArgs e) + { + NewFolder(); + } + + void NewFolder() + { + FRMWinClassicAddressBookNewFolder abnf = new FRMWinClassicAddressBookNewFolder(); + WinClassic app = wm.StartWin95(abnf, "Address Book - New Folder", Properties.Resources.Win95IconWordpad, true, true, true); + + if (treeView1.SelectedNode != null) + { + if (Program.AddressBookSelectedFolderName != null) + { + AddFolderToNode(treeView1.SelectedNode, Program.AddressBookSelectedFolderName); + } + else + { + wm.StartInfobox95("Address Book - New Folder", "You must enter a folder name!", Properties.Resources.Win95Error); + } + } + } + + private void newContactToolStripMenuItem_Click(object sender, EventArgs e) + { + NewContact(); + } + + void NewContact() + { + FRMWinClassicAddressBookNewContact abnc = new FRMWinClassicAddressBookNewContact(); + WinClassic app = wm.StartWin95(abnc, "Address Book - New Contact", Properties.Resources.Win95IconWordpad, true, true, true); + + if (treeView1.SelectedNode != null) + { + if (Program.AddressBookSelectedContact != null) + { + foreach (AddressBookContactList ContactList in AddressBookObjects) + { + if (ContactList.AttachedNode == treeView1.SelectedNode.Text) + { + ContactList.Contacts.Add(Program.AddressBookSelectedContact); + contactsView.Items.Add(Program.AddressBookSelectedContact.FirstName + " " + Program.AddressBookSelectedContact.MiddleName + " " + Program.AddressBookSelectedContact.LastName); + } + } + } + } + } + + private void toolProp_Click(object sender, EventArgs e) + { + OpenProperties(); + } + + void OpenProperties() + { + FRMWinClassicAddressBookNewContact abnc = new FRMWinClassicAddressBookNewContact(); + + // Finds the selected contact + if (treeView1.SelectedNode != null) + { + foreach (AddressBookContactList ContactList in AddressBookObjects) + { + if (ContactList.AttachedNode == treeView1.SelectedNode.Text) + { + foreach (AddressBookContact Contact in ContactList.Contacts) + { + if ((Contact.FirstName + " " + Contact.MiddleName + " " + Contact.LastName) == contactsView.FocusedItem.Text) + { + abnc.toSet = Contact; + } + } + } + } + WinClassic app = wm.StartWin95(abnc, "Address Book - Contact Properties", Properties.Resources.Win95IconWordpad, true, true, true); + + if (treeView1.SelectedNode != null) + { + if (Program.AddressBookSelectedContact != null) + { + foreach (AddressBookContactList ContactList in AddressBookObjects) + { + if (ContactList.AttachedNode == treeView1.SelectedNode.Text) + { + foreach (AddressBookContact Contact in ContactList.Contacts) + { + if ((Contact.FirstName + " " + Contact.MiddleName + " " + Contact.LastName) == contactsView.FocusedItem.Text) + { + ContactList.Contacts.Remove(Contact); + ContactList.Contacts.Add(Program.AddressBookSelectedContact); + } + } + } + } + } + } + } + + + } + + private void propertiesToolStripMenuItem_Click(object sender, EventArgs e) + { + OpenProperties(); + } + + private void deleteToolStripMenuItem_Click(object sender, EventArgs e) + { + DeleteContact(); + } + + void DeleteContact() + { + if (treeView1.SelectedNode != null) + { + foreach (AddressBookContactList ContactList in AddressBookObjects) + { + if (ContactList.AttachedNode == treeView1.SelectedNode.Text) + { + foreach (AddressBookContact Contact in ContactList.Contacts) + { + if ((Contact.FirstName + " " + Contact.MiddleName + " " + Contact.LastName) == contactsView.FocusedItem.Text) + { + ContactList.Contacts.Remove(Contact); + } + } + } + } + } + } + + private void toolDelete_Click(object sender, EventArgs e) + { + DeleteContact(); + } + + private void newContactToolStripMenuItem1_Click(object sender, EventArgs e) + { + NewContact(); + } + + private void newFolderToolStripMenuItem1_Click(object sender, EventArgs e) + { + NewFolder(); + } + + private void toolbarToolStripMenuItem_Click(object sender, EventArgs e) + { + toolbar.Visible = toolbarToolStripMenuItem.Checked; + } + + private void foldersToolStripMenuItem_Click(object sender, EventArgs e) + { + treeView1.Visible = foldersToolStripMenuItem.Checked; + } + + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + ((Form)this.TopLevelControl).Close(); + } + } + + public class AddressBookContact + { + public string FirstName; + public string MiddleName; + public string LastName; + public List<String> Emails = new List<String>(); + } + + public class AddressBookContactList + { + public String AttachedNode; + public List<AddressBookContact> Contacts = new List<AddressBookContact>(); + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.resx b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.resx new file mode 100644 index 0000000..e1c367e --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/WinClassicAddressBook.resx @@ -0,0 +1,126 @@ +<?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="topmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <metadata name="newContext.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>118, 17</value> + </metadata> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs new file mode 100644 index 0000000..2e9742b --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.Designer.cs @@ -0,0 +1,61 @@ +namespace TimeHACK.WinClassicForms +{ + partial class TestApp + { + /// <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 Component 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() + { + 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/OS/Win95/Win95Apps/TestApp.cs b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.cs new file mode 100644 index 0000000..0c2e6a8 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.cs @@ -0,0 +1,13 @@ +using System.Windows.Forms; + +namespace TimeHACK.WinClassicForms +{ + public partial class TestApp : UserControl + { + public TestApp() + { + InitializeComponent(); + } + } +} + diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/TestApp.resx @@ -0,0 +1,120 @@ +<?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> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs new file mode 100644 index 0000000..45203e1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs @@ -0,0 +1,276 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicFTPClient + { + /// <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 Component 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() + { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { + "/software/"}, -1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null); + System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { + "index.html"}, -1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null); + System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] { + "???.html"}, -1, System.Drawing.Color.Black, System.Drawing.Color.Empty, null); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicFTPClient)); + this.topBar = new System.Windows.Forms.Panel(); + this.button1 = new System.Windows.Forms.Button(); + this.infoLabel = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.passBox = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.usernameBox = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.hostnameBox = new System.Windows.Forms.TextBox(); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.panel1 = new System.Windows.Forms.Panel(); + this.button2 = new System.Windows.Forms.Button(); + this.welcomeLabel = new System.Windows.Forms.Label(); + this.ftpFiles = new System.Windows.Forms.ListView(); + this.fileIcons = new System.Windows.Forms.ImageList(this.components); + this.topBar.SuspendLayout(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // topBar + // + this.topBar.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.topBar.Controls.Add(this.button1); + this.topBar.Controls.Add(this.infoLabel); + this.topBar.Controls.Add(this.label4); + this.topBar.Controls.Add(this.textBox4); + this.topBar.Controls.Add(this.label3); + this.topBar.Controls.Add(this.passBox); + this.topBar.Controls.Add(this.label2); + this.topBar.Controls.Add(this.usernameBox); + this.topBar.Controls.Add(this.label1); + this.topBar.Controls.Add(this.hostnameBox); + this.topBar.Dock = System.Windows.Forms.DockStyle.Top; + this.topBar.Location = new System.Drawing.Point(0, 0); + this.topBar.Name = "topBar"; + this.topBar.Size = new System.Drawing.Size(762, 30); + this.topBar.TabIndex = 0; + // + // button1 + // + this.button1.Location = new System.Drawing.Point(585, 2); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(44, 23); + this.button1.TabIndex = 5; + this.button1.Text = "Login"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // infoLabel + // + this.infoLabel.AutoSize = true; + this.infoLabel.ForeColor = System.Drawing.Color.Red; + this.infoLabel.Location = new System.Drawing.Point(635, 7); + this.infoLabel.Name = "infoLabel"; + this.infoLabel.Size = new System.Drawing.Size(35, 13); + this.infoLabel.TabIndex = 8; + this.infoLabel.Text = "label5"; + this.infoLabel.Visible = false; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(503, 7); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(29, 13); + this.label4.TabIndex = 6; + this.label4.Text = "&Port:"; + // + // textBox4 + // + this.textBox4.Enabled = false; + this.textBox4.Location = new System.Drawing.Point(538, 4); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(41, 20); + this.textBox4.TabIndex = 7; + this.textBox4.Text = "21"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(335, 7); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(56, 13); + this.label3.TabIndex = 4; + this.label3.Text = "Pass&word:"; + // + // passBox + // + this.passBox.Location = new System.Drawing.Point(397, 4); + this.passBox.Name = "passBox"; + this.passBox.PasswordChar = '*'; + this.passBox.Size = new System.Drawing.Size(100, 20); + this.passBox.TabIndex = 5; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(156, 7); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(58, 13); + this.label2.TabIndex = 2; + this.label2.Text = "&Username:"; + // + // usernameBox + // + this.usernameBox.Location = new System.Drawing.Point(214, 4); + this.usernameBox.Name = "usernameBox"; + this.usernameBox.Size = new System.Drawing.Size(100, 20); + this.usernameBox.TabIndex = 3; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(8, 7); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(32, 13); + this.label1.TabIndex = 1; + this.label1.Text = "&Host:"; + // + // hostnameBox + // + this.hostnameBox.Location = new System.Drawing.Point(41, 4); + this.hostnameBox.Name = "hostnameBox"; + this.hostnameBox.Size = new System.Drawing.Size(100, 20); + this.hostnameBox.TabIndex = 1; + // + // contextMenuStrip1 + // + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.panel1.Controls.Add(this.button2); + this.panel1.Controls.Add(this.welcomeLabel); + this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel1.Location = new System.Drawing.Point(0, 469); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(762, 30); + this.panel1.TabIndex = 9; + // + // button2 + // + this.button2.Location = new System.Drawing.Point(3, 2); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(75, 23); + this.button2.TabIndex = 0; + this.button2.Text = "button2"; + this.button2.UseVisualStyleBackColor = true; + // + // welcomeLabel + // + this.welcomeLabel.BackColor = System.Drawing.Color.WhiteSmoke; + this.welcomeLabel.Location = new System.Drawing.Point(577, 7); + this.welcomeLabel.Name = "welcomeLabel"; + this.welcomeLabel.Size = new System.Drawing.Size(178, 13); + this.welcomeLabel.TabIndex = 0; + this.welcomeLabel.Text = "Please login to a remote FTP server."; + this.welcomeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // ftpFiles + // + this.ftpFiles.Alignment = System.Windows.Forms.ListViewAlignment.Left; + this.ftpFiles.AutoArrange = false; + this.ftpFiles.BackColor = System.Drawing.Color.White; + this.ftpFiles.BackgroundImageTiled = true; + this.ftpFiles.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.ftpFiles.Cursor = System.Windows.Forms.Cursors.Default; + this.ftpFiles.Dock = System.Windows.Forms.DockStyle.Fill; + this.ftpFiles.ForeColor = System.Drawing.Color.White; + listViewItem1.StateImageIndex = 0; + listViewItem2.Checked = true; + listViewItem2.StateImageIndex = 1; + listViewItem3.Checked = true; + listViewItem3.StateImageIndex = 1; + this.ftpFiles.Items.AddRange(new System.Windows.Forms.ListViewItem[] { + listViewItem1, + listViewItem2, + listViewItem3}); + this.ftpFiles.Location = new System.Drawing.Point(0, 30); + this.ftpFiles.Name = "ftpFiles"; + this.ftpFiles.Size = new System.Drawing.Size(762, 439); + this.ftpFiles.SmallImageList = this.fileIcons; + this.ftpFiles.StateImageList = this.fileIcons; + this.ftpFiles.TabIndex = 7; + this.ftpFiles.TileSize = new System.Drawing.Size(32, 32); + this.ftpFiles.UseCompatibleStateImageBehavior = false; + this.ftpFiles.View = System.Windows.Forms.View.List; + this.ftpFiles.Visible = false; + this.ftpFiles.Click += new System.EventHandler(this.ftpItems_Click); + // + // fileIcons + // + this.fileIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("fileIcons.ImageStream"))); + this.fileIcons.TransparentColor = System.Drawing.Color.Transparent; + this.fileIcons.Images.SetKeyName(0, "WinClassicFolder.png"); + this.fileIcons.Images.SetKeyName(1, "WinClassicNotepad.png"); + // + // WinClassicFTPClient + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.ftpFiles); + this.Controls.Add(this.panel1); + this.Controls.Add(this.topBar); + this.Name = "WinClassicFTPClient"; + this.Size = new System.Drawing.Size(762, 499); + this.topBar.ResumeLayout(false); + this.topBar.PerformLayout(); + this.panel1.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Panel topBar; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox passBox; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox usernameBox; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + public System.Windows.Forms.TextBox hostnameBox; + private System.Windows.Forms.Label infoLabel; + private System.Windows.Forms.Button button1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Button button2; + private System.Windows.Forms.Label welcomeLabel; + internal System.Windows.Forms.ListView ftpFiles; + private System.Windows.Forms.ImageList fileIcons; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs new file mode 100644 index 0000000..ab7e61f --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.cs @@ -0,0 +1,66 @@ +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 System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicFTPClient : UserControl + { + public WinClassicFTPClient() + { + InitializeComponent(); + } + + + private void button1_Click(object sender, EventArgs e) + { + if (hostnameBox.Text == "172.68.119.42") + { + infoLabel.Hide(); + if (usernameBox.Text == "12padams") + { + infoLabel.Hide(); + if (passBox.Text == "projectDeath98") + { + infoLabel.Hide(); + infoLabel.ForeColor = Color.Green; + infoLabel.Text = "[200] OK"; + welcomeLabel.Hide(); + infoLabel.Show(); + } + else + { + infoLabel.Text = "[430] Incorrect Password"; + infoLabel.Show(); + } + } + else + { + infoLabel.Text = "[430] Incorrect Username"; + infoLabel.Show(); + } + } + else + { + infoLabel.Text = "[404] Not Found"; + infoLabel.Show(); + } + } + + private void ftpItems_Click(object sender, EventArgs e) + { + Point objDrawingPoint = ftpFiles.PointToClient(Cursor.Position); + ListViewItem objListViewItem = new ListViewItem(); + if (objListViewItem.Text == "/software/") + { + + } + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx new file mode 100644 index 0000000..7b49ca1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicFTPClient.resx @@ -0,0 +1,198 @@ +<?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="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <metadata name="fileIcons.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>172, 17</value> + </metadata> + <data name="fileIcons.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> + <value> + AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w + LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAO + DwAAAk1TRnQBSQFMAgEBAgEAAQgBAAEIAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA + AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 + AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA + AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm + AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM + AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA + ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz + AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ + AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM + AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA + AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA + AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ + AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/ + AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA + AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm + ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ + Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz + AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA + AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM + AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM + ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM + Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA + AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM + AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ + AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz + AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm + AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw + AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/6QAAewVBwEAAQdnAAHs + Fv8BBwEAAQdmAAHsFv8BBwEAAQdEAAHsHgMDAAHsAv8GAA7/AQcBAAEHRAAB7AH/AfsBBwH7AQcB+wEH + AfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcBAwMAAewW/wEHAQABB0QA + AewB/wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7 + AQMDAAHsAv8GAA7/AQcBAAEHRAAB7AH/AfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEH + AfsBBwH7AQcB+wEHAfsBBwH7AQcBAwMAAewW/wEHAQABB0QAAewB/wEHAfsBBwH7AQcB+wEHAfsBBwH7 + AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQMDAAHsFv8BBwEAAQdEAAHsAf8B+wEH + AfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwEDAwAB7AL/ + EgAC/wEHAQABB0QAAewB/wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7 + AQcB+wEHAfsBBwH7AQMDAAHsFv8BBwEAAQdEAAHsAf8B+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEH + AfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwEDAwAB7AL/EgAC/wEHAQABB0QAAewB/wEHAfsBBwH7 + AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQMDAAHsFv8BBwEA + AQdEAAHsAf8B+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEH + AfsBBwEDAwAB7AL/EgAC/wEHAQABB0QAAewB/wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7 + AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQMDAAHsFv8BBwEAAQdEAAHsAf8B+wEHAfsBBwH7AQcB+wEH + AfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwEDAwAB7AL/EgAC/wEHAQABB0QA + AewB/wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7 + AQMDAAHsFv8BBwEAAQdEAAHsAf8B+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEH + AfsBBwH7AQcB+wEHAfsBBwEDAwAB7Bb/AQcBAAEHRAAB7AH/AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7 + AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBAwMAAewC/wYADv8BBwEAAQdEAAHsAf8B+wEH + AfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwEDAwAB7Bb/ + AQcBAAEHRAAB7AH/AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7 + AQcB+wEHAfsBAwMAAewW/wEHAQABB0QAAewB/wH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEH + AfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAQMDAAHsFv8BBwEAAQdEAAHsAf8BBwH7AQcB+wEHAfsBBwH7 + AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEDAwAB7AL/BgAO/wEHAQABB0QA + AewB/wH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwH7AQcB+wEH + AQMDAAHsFv8BBwEAAQdEAAHsHf8EAAHsAv8GAAf/AQAB/wMAAv8BBwEAAQdEAAHsDwcO7AQAAewW/wEH + AQABB0UAAewB/wH7AQcB+wEHAfsBBwH7AQcB+wEHAfsBBwHsEgAB7Bb/AQcBAAEHRgAB7AH/AfsBBwH7 + AQcB+wEHAfsBBwH7AQcB7BMAAewW/wEHAQABB0cAAewJ/wHsFAAB7AH/AQAC/wEAAv8BAAL/AQAC/wEA + Av8BAAL/AQAC/wHsAQABB0gACewVAAHsAf8BAAL/AQAC/wEAAv8BAAL/AQAC/wEAAv8BAAL/AewBAAEH + ZwAB7AH/AuwB/wLsAf8C7AH/AuwB/wLsAf8C7AH/AuwB/wHsxQABQgFNAT4HAAE+AwABKAMAAYADAAEg + AwABAQEAAQEGAAECFgAD/wEABP8B8AIAAR8IAAT/AeACAAEPCAAE/wHAAgABBwgAAYACAAEBAcACAAEH + DAABwAIAAQcMAAHAAgABBwwAAcACAAEHDAABwAIAAQcMAAHAAgABBwwAAcACAAEHDAABwAIAAQcMAAHA + AgABBwwAAcACAAEHDAABwAIAAQcMAAHAAgABBwwAAcACAAEHDAABwAIAAQcMAAHAAgABBwwAAcACAAEH + DAABwAIAAQcMAAHAAgABBwwAAcACAAEHDAABwAIAAQcMAAHAAgABBwwAAcACAAEHCwABAQHAAgABBwgA + AYABAAL/AcACAAEHCAABwAEBAv8BwAIAAQcIAAHgAQMC/wHAAgABBwgAAfABBwL/AcACAAEHCAAE/wHg + AgABDwgABP8B8gFJASQBvwgACw== +</value> + </data> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs new file mode 100644 index 0000000..0006026 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.Designer.cs @@ -0,0 +1,193 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicHWCV + { + /// <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 Component 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(WinClassicHWCV)); + this.program = new System.Windows.Forms.Panel(); + this.Panel2 = new System.Windows.Forms.Panel(); + this.Label3 = new System.Windows.Forms.Label(); + this.Button1 = new System.Windows.Forms.Button(); + this.TextBox2 = new System.Windows.Forms.TextBox(); + this.TextBox1 = new System.Windows.Forms.TextBox(); + 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.PictureBox1 = new System.Windows.Forms.PictureBox(); + this.program.SuspendLayout(); + this.Panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // program + // + this.program.BackColor = System.Drawing.Color.Silver; + this.program.Controls.Add(this.PictureBox1); + this.program.Controls.Add(this.Panel2); + 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.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(361, 324); + this.program.TabIndex = 11; + // + // Panel2 + // + this.Panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.Panel2.Controls.Add(this.Label3); + this.Panel2.Controls.Add(this.Button1); + this.Panel2.Controls.Add(this.TextBox2); + this.Panel2.Controls.Add(this.TextBox1); + this.Panel2.Dock = System.Windows.Forms.DockStyle.Bottom; + this.Panel2.Location = new System.Drawing.Point(0, 135); + this.Panel2.Name = "Panel2"; + this.Panel2.Size = new System.Drawing.Size(361, 189); + this.Panel2.TabIndex = 9; + // + // Label3 + // + this.Label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.Label3.AutoSize = true; + this.Label3.Location = new System.Drawing.Point(7, 168); + this.Label3.Name = "Label3"; + this.Label3.Size = new System.Drawing.Size(148, 13); + this.Label3.TabIndex = 3; + this.Label3.Text = "Content Found: Time Distortor"; + // + // Button1 + // + this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.Button1.Location = new System.Drawing.Point(278, 145); + this.Button1.Name = "Button1"; + this.Button1.Size = new System.Drawing.Size(75, 20); + this.Button1.TabIndex = 2; + this.Button1.Text = "Display"; + this.Button1.UseVisualStyleBackColor = true; + this.Button1.Click += new System.EventHandler(this.Button1_Click); + // + // TextBox2 + // + this.TextBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.TextBox2.Location = new System.Drawing.Point(12, 144); + this.TextBox2.Name = "TextBox2"; + this.TextBox2.Size = new System.Drawing.Size(226, 20); + this.TextBox2.TabIndex = 1; + // + // TextBox1 + // + this.TextBox1.Anchor = System.Windows.Forms.AnchorStyles.None; + this.TextBox1.BackColor = System.Drawing.Color.Silver; + this.TextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.TextBox1.Location = new System.Drawing.Point(22, 4); + this.TextBox1.Multiline = true; + this.TextBox1.Name = "TextBox1"; + this.TextBox1.ReadOnly = true; + this.TextBox1.Size = new System.Drawing.Size(321, 137); + this.TextBox1.TabIndex = 0; + this.TextBox1.Text = resources.GetString("TextBox1.Text"); + this.TextBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // toprightcorner + // + this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.toprightcorner.Location = new System.Drawing.Point(357, 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.Cursor = System.Windows.Forms.Cursors.SizeNWSE; + this.bottomrightcorner.Location = new System.Drawing.Point(357, 320); + 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.Location = new System.Drawing.Point(0, 320); + this.bottomleftcorner.Name = "bottomleftcorner"; + this.bottomleftcorner.Size = new System.Drawing.Size(4, 4); + this.bottomleftcorner.TabIndex = 2; + // + // topleftcorner + // + 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; + // + // PictureBox1 + // + this.PictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.PictureBox1.Image = global::TimeHACK.Properties.Resources.WinClassicHWCV; + this.PictureBox1.Location = new System.Drawing.Point(5, 24); + this.PictureBox1.Name = "PictureBox1"; + this.PictureBox1.Size = new System.Drawing.Size(351, 107); + this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.PictureBox1.TabIndex = 0; + this.PictureBox1.TabStop = false; + // + // WinClassicHWCV + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.program); + this.Name = "WinClassicHWCV"; + this.Size = new System.Drawing.Size(361, 324); + this.program.ResumeLayout(false); + this.Panel2.ResumeLayout(false); + this.Panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + internal System.Windows.Forms.Panel program; + internal System.Windows.Forms.PictureBox PictureBox1; + internal System.Windows.Forms.Panel Panel2; + internal System.Windows.Forms.Label Label3; + internal System.Windows.Forms.Button Button1; + internal System.Windows.Forms.TextBox TextBox2; + internal System.Windows.Forms.TextBox TextBox1; + internal System.Windows.Forms.Panel toprightcorner; + internal System.Windows.Forms.Panel bottomrightcorner; + internal System.Windows.Forms.Panel bottomleftcorner; + internal System.Windows.Forms.Panel topleftcorner; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs new file mode 100644 index 0000000..6f9bb07 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.cs @@ -0,0 +1,35 @@ +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 System.Windows.Forms; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicHWCV : UserControl + { + public WinClassicHWCV() + { + InitializeComponent(); + } + + private void Button1_Click(object sender, EventArgs e) + { + if (TextBox1.Text == "www.12padams.com") + { + Label3.Show(); + Label3.Text = "Hidden Content Found: Time Distorter"; + TitleScreen.frm95.hiddenpadamsFound = true; + } + else + { + Label3.Show(); + Label3.Text = "No Content Found"; + } + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx new file mode 100644 index 0000000..fb1f692 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicHWCV.resx @@ -0,0 +1,128 @@ +<?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> + <data name="TextBox1.Text" xml:space="preserve"> + <value>This Program is a hacking tool which is able to view hidden content on websites. + +To view hidden content just type the name of the website in the box below and this will enable you to see all the hidden features on a website. + +WARNING: This only displays hidden content which can not be accessed in anyway without this software. +</value> + </data> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs new file mode 100644 index 0000000..c2b5db2 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.Designer.cs @@ -0,0 +1,376 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + 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 Component 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() + { + this.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pageSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.timeDateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.wordWrapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.findToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.findNextToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpTopicsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.aboutNotepadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mainText = new System.Windows.Forms.TextBox(); + this.menuStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.BackColor = System.Drawing.Color.Silver; + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.editToolStripMenuItem, + this.searchToolStripMenuItem, + this.helpToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(619, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.fileToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.fileToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newToolStripMenuItem, + this.openToolStripMenuItem, + this.saveToolStripMenuItem, + this.saveAsToolStripMenuItem, + this.pageSetupToolStripMenuItem, + this.printToolStripMenuItem, + this.exitToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // newToolStripMenuItem + // + this.newToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.newToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.newToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.newToolStripMenuItem.Name = "newToolStripMenuItem"; + this.newToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.newToolStripMenuItem.Text = "New"; + // + // openToolStripMenuItem + // + this.openToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.openToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.openToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.openToolStripMenuItem.Name = "openToolStripMenuItem"; + this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.openToolStripMenuItem.Text = "Open..."; + this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); + // + // saveToolStripMenuItem + // + this.saveToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.saveToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.saveToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; + this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.saveToolStripMenuItem.Text = "Save"; + this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); + // + // saveAsToolStripMenuItem + // + this.saveAsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.saveAsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.saveAsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; + this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.saveAsToolStripMenuItem.Text = "Save As..."; + // + // pageSetupToolStripMenuItem + // + this.pageSetupToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.pageSetupToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.pageSetupToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.pageSetupToolStripMenuItem.Name = "pageSetupToolStripMenuItem"; + this.pageSetupToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.pageSetupToolStripMenuItem.Text = "Page Setup..."; + // + // printToolStripMenuItem + // + this.printToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.printToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.printToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.printToolStripMenuItem.Name = "printToolStripMenuItem"; + this.printToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.printToolStripMenuItem.Text = "Print"; + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.exitToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.exitToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.exitToolStripMenuItem.Text = "Exit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // editToolStripMenuItem + // + this.editToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.editToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.editToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.undoToolStripMenuItem, + this.cutToolStripMenuItem, + this.copyToolStripMenuItem, + this.pasteToolStripMenuItem, + this.deleteToolStripMenuItem, + this.selectAllToolStripMenuItem, + this.timeDateToolStripMenuItem, + this.wordWrapToolStripMenuItem}); + this.editToolStripMenuItem.Name = "editToolStripMenuItem"; + this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); + this.editToolStripMenuItem.Text = "Edit"; + // + // undoToolStripMenuItem + // + this.undoToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.undoToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.undoToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; + this.undoToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.undoToolStripMenuItem.Text = "Undo"; + this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); + // + // cutToolStripMenuItem + // + this.cutToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.cutToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.cutToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; + this.cutToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.cutToolStripMenuItem.Text = "Cut"; + this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); + // + // copyToolStripMenuItem + // + this.copyToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.copyToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.copyToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; + this.copyToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.copyToolStripMenuItem.Text = "Copy"; + this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); + // + // pasteToolStripMenuItem + // + this.pasteToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.pasteToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.pasteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; + this.pasteToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.pasteToolStripMenuItem.Text = "Paste"; + this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); + // + // deleteToolStripMenuItem + // + this.deleteToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.deleteToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.deleteToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem"; + this.deleteToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.deleteToolStripMenuItem.Text = "Delete"; + this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click); + // + // selectAllToolStripMenuItem + // + this.selectAllToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.selectAllToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.selectAllToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; + this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.selectAllToolStripMenuItem.Text = "Select All"; + this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); + // + // timeDateToolStripMenuItem + // + this.timeDateToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.timeDateToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.timeDateToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.timeDateToolStripMenuItem.Name = "timeDateToolStripMenuItem"; + this.timeDateToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.timeDateToolStripMenuItem.Text = "Time/Date"; + this.timeDateToolStripMenuItem.Click += new System.EventHandler(this.timeDateToolStripMenuItem_Click); + // + // wordWrapToolStripMenuItem + // + this.wordWrapToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.wordWrapToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.wordWrapToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.wordWrapToolStripMenuItem.CheckOnClick = true; + this.wordWrapToolStripMenuItem.Name = "wordWrapToolStripMenuItem"; + this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(134, 22); + this.wordWrapToolStripMenuItem.Text = "Word Wrap"; + this.wordWrapToolStripMenuItem.Click += new System.EventHandler(this.wordWrapToolStripMenuItem_Click); + // + // searchToolStripMenuItem + // + this.searchToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.searchToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.searchToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.searchToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.searchToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.findToolStripMenuItem, + this.findNextToolStripMenuItem}); + this.searchToolStripMenuItem.Name = "searchToolStripMenuItem"; + this.searchToolStripMenuItem.Size = new System.Drawing.Size(54, 20); + this.searchToolStripMenuItem.Text = "Search"; + // + // findToolStripMenuItem + // + this.findToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.findToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.findToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.findToolStripMenuItem.Name = "findToolStripMenuItem"; + this.findToolStripMenuItem.Size = new System.Drawing.Size(124, 22); + this.findToolStripMenuItem.Text = "Find..."; + // + // findNextToolStripMenuItem + // + this.findNextToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.findNextToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.findNextToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.findNextToolStripMenuItem.Name = "findNextToolStripMenuItem"; + this.findNextToolStripMenuItem.Size = new System.Drawing.Size(124, 22); + this.findNextToolStripMenuItem.Text = "Find Next"; + // + // helpToolStripMenuItem + // + this.helpToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.helpToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.helpToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.helpToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.helpTopicsToolStripMenuItem, + this.aboutNotepadToolStripMenuItem}); + this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; + this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.helpToolStripMenuItem.Text = "Help"; + // + // helpTopicsToolStripMenuItem + // + this.helpTopicsToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.helpTopicsToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.helpTopicsToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.helpTopicsToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.helpTopicsToolStripMenuItem.Name = "helpTopicsToolStripMenuItem"; + this.helpTopicsToolStripMenuItem.Size = new System.Drawing.Size(156, 22); + this.helpTopicsToolStripMenuItem.Text = "Help Topics"; + // + // aboutNotepadToolStripMenuItem + // + this.aboutNotepadToolStripMenuItem.BackColor = System.Drawing.Color.Silver; + this.aboutNotepadToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.aboutNotepadToolStripMenuItem.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.aboutNotepadToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.aboutNotepadToolStripMenuItem.Name = "aboutNotepadToolStripMenuItem"; + this.aboutNotepadToolStripMenuItem.Size = new System.Drawing.Size(156, 22); + this.aboutNotepadToolStripMenuItem.Text = "About Notepad"; + this.aboutNotepadToolStripMenuItem.Click += new System.EventHandler(this.aboutNotepadToolStripMenuItem_Click); + // + // mainText + // + this.mainText.Dock = System.Windows.Forms.DockStyle.Fill; + this.mainText.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.mainText.Location = new System.Drawing.Point(0, 24); + this.mainText.MaxLength = 131072; + this.mainText.Multiline = true; + this.mainText.Name = "mainText"; + this.mainText.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.mainText.Size = new System.Drawing.Size(619, 341); + this.mainText.TabIndex = 1; + this.mainText.WordWrap = false; + // + // WinClassicNotepad + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.mainText); + this.Controls.Add(this.menuStrip1); + this.Name = "WinClassicNotepad"; + this.Size = new System.Drawing.Size(619, 365); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip menuStrip1; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem pageSetupToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem printToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem; + private System.Windows.Forms.TextBox mainText; + private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem timeDateToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem wordWrapToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem findToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem findNextToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem helpTopicsToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem aboutNotepadToolStripMenuItem; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs new file mode 100644 index 0000000..f1920ed --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.cs @@ -0,0 +1,125 @@ +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 System.Windows.Forms; +using TimeHACK.Engine; +using static TimeHACK.Engine.FileDialogBoxManager; +using System.IO; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicNotepad : UserControl + { + public WinClassicNotepad() + { + InitializeComponent(); + foreach (ToolStripMenuItem item in menuStrip1.Items) + { + item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); + item.BackColor = Color.Silver; + item.BackgroundImage = Properties.Resources.sliversilver; + item.BackgroundImageLayout = ImageLayout.Center; + item.DisplayStyle = ToolStripItemDisplayStyle.Text; + } + } + + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + this.ParentForm.Close(); + } + + private void aboutNotepadToolStripMenuItem_Click(object sender, EventArgs e) + { + WindowManager wm = new WindowManager(); + wm.StartAboutBox95("Notepad", "Microsoft Notepad", Properties.Resources.WinClassicNotepad); + } + + private void wordWrapToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.WordWrap = wordWrapToolStripMenuItem.Checked; + } + + private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.SelectAll(); + } + + private void undoToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.Undo(); + } + + private void cutToolStripMenuItem_Click(object sender, EventArgs e) + { + if (mainText.SelectedText.Length >= 0) + { + mainText.Cut(); + } + } + + private void copyToolStripMenuItem_Click(object sender, EventArgs e) + { + if (mainText.SelectedText.Length >= 0) + { + mainText.Copy(); + } + } + + private void pasteToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.Paste(); + } + + private void deleteToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length); + } + + private void timeDateToolStripMenuItem_Click(object sender, EventArgs e) + { + string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy"); + mainText.AppendText(DateTime); + } + + private void openToolStripMenuItem_Click(object sender, EventArgs e) + { + try + { + ActivateSaveFileDialog(".txt"); + String selectedPath; + selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); + + MessageBox.Show(selectedPath); + if (selectedPath != "") + { + mainText.Text = ReadTextFile(selectedPath); + } + } + catch + { + } + } + + private void saveToolStripMenuItem_Click(object sender, EventArgs e) + { + try + { + ActivateSaveFileDialog(".txt"); + String selectedPath; + selectedPath = Program.OpenFileExplorerAsDialogAndReturnGivenPath(); + + MessageBox.Show(selectedPath); + if (selectedPath != "") + { + File.WriteAllText(selectedPath, mainText.Text); + } + } catch { + } + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx new file mode 100644 index 0000000..d5494e3 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicNotepad.resx @@ -0,0 +1,123 @@ +<?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> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.Designer.cs new file mode 100644 index 0000000..b505208 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.Designer.cs @@ -0,0 +1,210 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + 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 Component 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() + { + this.cmdPrompt = new System.Windows.Forms.RichTextBox(); + this.actionPanel = new System.Windows.Forms.Panel(); + this.btnFont = new System.Windows.Forms.Button(); + this.btnCopy = new System.Windows.Forms.Button(); + this.termMax = new System.Windows.Forms.Button(); + this.btnNothing = new System.Windows.Forms.Button(); + this.btnSettings = new System.Windows.Forms.Button(); + this.btnPaste = new System.Windows.Forms.Button(); + this.btnMark = new System.Windows.Forms.Button(); + this.sizeSel = new System.Windows.Forms.ComboBox(); + this.actionPanel.SuspendLayout(); + this.SuspendLayout(); + // + // cmdPrompt + // + this.cmdPrompt.BackColor = System.Drawing.Color.Black; + this.cmdPrompt.Dock = System.Windows.Forms.DockStyle.Fill; + this.cmdPrompt.Font = new System.Drawing.Font("Lucida Console", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cmdPrompt.ForeColor = System.Drawing.Color.White; + this.cmdPrompt.Location = new System.Drawing.Point(0, 0); + this.cmdPrompt.Name = "cmdPrompt"; + this.cmdPrompt.ShowSelectionMargin = true; + this.cmdPrompt.Size = new System.Drawing.Size(459, 262); + this.cmdPrompt.TabIndex = 0; + this.cmdPrompt.Text = ""; + this.cmdPrompt.KeyUp += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyUp); + // + // actionPanel + // + this.actionPanel.BackColor = System.Drawing.Color.Silver; + this.actionPanel.Controls.Add(this.btnFont); + this.actionPanel.Controls.Add(this.btnCopy); + this.actionPanel.Controls.Add(this.termMax); + this.actionPanel.Controls.Add(this.btnNothing); + this.actionPanel.Controls.Add(this.btnSettings); + this.actionPanel.Controls.Add(this.btnPaste); + this.actionPanel.Controls.Add(this.btnMark); + this.actionPanel.Controls.Add(this.sizeSel); + this.actionPanel.Dock = System.Windows.Forms.DockStyle.Top; + this.actionPanel.Location = new System.Drawing.Point(0, 0); + this.actionPanel.Name = "actionPanel"; + this.actionPanel.Size = new System.Drawing.Size(459, 28); + this.actionPanel.TabIndex = 1; + // + // btnFont + // + this.btnFont.BackgroundImage = global::TimeHACK.Properties.Resources.termFont; + this.btnFont.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnFont.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnFont.Location = new System.Drawing.Point(266, 3); + this.btnFont.Name = "btnFont"; + this.btnFont.Size = new System.Drawing.Size(23, 22); + this.btnFont.TabIndex = 7; + this.btnFont.UseVisualStyleBackColor = true; + this.btnFont.Click += new System.EventHandler(this.btnFont_Click); + // + // btnCopy + // + this.btnCopy.BackgroundImage = global::TimeHACK.Properties.Resources.termCopy; + this.btnCopy.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnCopy.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnCopy.Location = new System.Drawing.Point(126, 3); + this.btnCopy.Name = "btnCopy"; + this.btnCopy.Size = new System.Drawing.Size(23, 22); + this.btnCopy.TabIndex = 6; + this.btnCopy.UseVisualStyleBackColor = true; + this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); + // + // termMax + // + this.termMax.BackgroundImage = global::TimeHACK.Properties.Resources.termMax; + this.termMax.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.termMax.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.termMax.Location = new System.Drawing.Point(180, 3); + this.termMax.Name = "termMax"; + this.termMax.Size = new System.Drawing.Size(23, 22); + this.termMax.TabIndex = 5; + this.termMax.UseVisualStyleBackColor = true; + this.termMax.Click += new System.EventHandler(this.termMax_Click); + // + // btnNothing + // + this.btnNothing.BackgroundImage = global::TimeHACK.Properties.Resources.termNothing; + this.btnNothing.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnNothing.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnNothing.Location = new System.Drawing.Point(234, 3); + this.btnNothing.Name = "btnNothing"; + this.btnNothing.Size = new System.Drawing.Size(23, 22); + this.btnNothing.TabIndex = 4; + this.btnNothing.UseVisualStyleBackColor = true; + // + // btnSettings + // + this.btnSettings.BackgroundImage = global::TimeHACK.Properties.Resources.termSettings; + this.btnSettings.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnSettings.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSettings.Location = new System.Drawing.Point(212, 3); + this.btnSettings.Name = "btnSettings"; + this.btnSettings.Size = new System.Drawing.Size(23, 22); + this.btnSettings.TabIndex = 3; + this.btnSettings.UseVisualStyleBackColor = true; + this.btnSettings.Click += new System.EventHandler(this.btnSettings_Click); + // + // btnPaste + // + this.btnPaste.BackgroundImage = global::TimeHACK.Properties.Resources.termPaste; + this.btnPaste.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnPaste.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnPaste.Location = new System.Drawing.Point(148, 3); + this.btnPaste.Name = "btnPaste"; + this.btnPaste.Size = new System.Drawing.Size(23, 22); + this.btnPaste.TabIndex = 2; + this.btnPaste.UseVisualStyleBackColor = true; + this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); + // + // btnMark + // + this.btnMark.BackgroundImage = global::TimeHACK.Properties.Resources.termMark; + this.btnMark.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnMark.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnMark.Location = new System.Drawing.Point(104, 3); + this.btnMark.Name = "btnMark"; + this.btnMark.Size = new System.Drawing.Size(23, 22); + this.btnMark.TabIndex = 1; + this.btnMark.UseVisualStyleBackColor = true; + // + // sizeSel + // + this.sizeSel.BackColor = System.Drawing.Color.Silver; + this.sizeSel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.sizeSel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.sizeSel.FormattingEnabled = true; + this.sizeSel.Items.AddRange(new object[] { + "Auto", + "4 x 6", + "5 x 12", + "6 x 8", + "6 x 12", + "7 x 12", + "7 x 14", + "7 x 15", + "8 x 8", + "8 x 12", + "8 x 16", + "10 x 18", + "10 x 20", + "12 x 16", + "12 x 22"}); + this.sizeSel.Location = new System.Drawing.Point(4, 4); + this.sizeSel.Name = "sizeSel"; + this.sizeSel.Size = new System.Drawing.Size(92, 21); + this.sizeSel.TabIndex = 0; + // + // WinClassicTerminal + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.actionPanel); + this.Controls.Add(this.cmdPrompt); + this.Name = "WinClassicTerminal"; + this.Size = new System.Drawing.Size(459, 262); + this.actionPanel.ResumeLayout(false); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.RichTextBox cmdPrompt; + private System.Windows.Forms.Panel actionPanel; + private System.Windows.Forms.Button btnFont; + private System.Windows.Forms.Button btnCopy; + private System.Windows.Forms.Button termMax; + private System.Windows.Forms.Button btnNothing; + private System.Windows.Forms.Button btnSettings; + private System.Windows.Forms.Button btnPaste; + private System.Windows.Forms.Button btnMark; + private System.Windows.Forms.ComboBox sizeSel; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs new file mode 100644 index 0000000..b24d5ab --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.cs @@ -0,0 +1,132 @@ +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 System.Windows.Forms; +using System.Media; +using System.IO; +using System.Threading; +using System.Reflection; +using System.Linq.Expressions; +using System.Diagnostics; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicTerminal : UserControl + { + public Engine.WindowManager wm = new Engine.WindowManager(); + + public static int currentLine = 0; + public static string prefix = @"C:\>"; + public static string startupDir = $"{Engine.SaveSystem.ProfileMyComputerDirectory}"; + + public WinClassicTerminal() + { + InitializeComponent(); + + // Paint the classic borders + btnCopy.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnFont.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnMark.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnNothing.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnPaste.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + btnSettings.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + sizeSel.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2); + + // Set the default index to "Auto" + sizeSel.SelectedIndex = 0; + + // Set the font and append the prefix text + cmdPrompt.Font = new Font(TitleScreen.pfc.Families[1], 10F, FontStyle.Regular); + cmdPrompt.AppendText(prefix); + + cmdPrompt.BringToFront(); + } + /// <summary> + /// Write text to the Terminal and create a new line. Very similar to the Win32 Console.WriteLine Function. + /// </summary> + /// <param name="Text"></param> + public void WriteLine(string Text) + { + cmdPrompt.AppendText(Text + "\n"); + this.Update(); + } + + /// <summary> + /// Write text to the Terminal. Very similar to the Win32 Console.Write Function. + /// </summary> + /// <param name="Text"></param> + public void Write(string Text) + { + cmdPrompt.AppendText(Text); + cmdPrompt.Update(); + } + + private void btnCopy_Click(object sender, EventArgs e) + { + if (cmdPrompt.SelectedText.Length > 0) + Clipboard.SetText(cmdPrompt.SelectedText); // Set the clipboard text to the selection of the RichTextBox + else + wm.StartInfobox95("ERROR", "You need to select something to copy.", Properties.Resources.Win95Error); // Display an error message if the length is 0 + } + + private void btnPaste_Click(object sender, EventArgs e) + { + if (Clipboard.GetText() != "") + Write(Clipboard.GetText()); // Write the contents of the Clipboard text in the RichTextBox + else + wm.StartInfobox95("ERROR", "You need to have something in your clipboard to paste.", Properties.Resources.Win95Error); // Display an error message if the clipboard is null/empty + } + + private void termMax_Click(object sender, EventArgs e) + { + var windowState = ((Engine.Template.WinClassic)this.TopLevelControl).WindowState; + + if (windowState == FormWindowState.Normal) + windowState = FormWindowState.Maximized; + else if (windowState == FormWindowState.Maximized) + windowState = FormWindowState.Normal; + } + + private void btnSettings_Click(object sender, EventArgs e) + { + wm.StartInfobox95("INFO", "This feature has not been implemented yet. Stay tuned! -Jason", Properties.Resources.Win95Info); + //TODO: Well, add the settings... + } + + private void btnFont_Click(object sender, EventArgs e) + { + //TODO: Add font UC(?) + } + + private void richTextBox1_KeyUp(object sender, KeyEventArgs e) + { + if (e.KeyData == Keys.Return) + { + /// Temporary CMD redirect + Process p = new Process(); + + p.StartInfo.UseShellExecute = false; + p.StartInfo.RedirectStandardOutput = true; + p.StartInfo.CreateNoWindow = true; + p.StartInfo.WorkingDirectory = startupDir; + p.StartInfo.FileName = "cmd.exe"; + p.StartInfo.Arguments = $"/C {cmdPrompt.Lines[cmdPrompt.GetLineFromCharIndex(currentLine)].Substring(prefix.Length)}"; + p.Start(); + + string output = p.StandardOutput.ReadToEnd(); + p.WaitForExit(); + + cmdPrompt.Focus(); + cmdPrompt.AppendText($"\n{output}"); + + currentLine++; + cmdPrompt.AppendText($"\n{prefix}"); + } + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicTerminal.resx @@ -0,0 +1,120 @@ +<?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> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.Designer.cs new file mode 100644 index 0000000..3d5db60 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.Designer.cs @@ -0,0 +1,748 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicWindowsExplorer + { + /// <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 Component 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() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WinClassicWindowsExplorer)); + this.program = new System.Windows.Forms.Panel(); + this.diskView = new System.Windows.Forms.ListView(); + this.icons = new System.Windows.Forms.ImageList(this.components); + this.btnGo = new System.Windows.Forms.Button(); + this.MenuStrip1 = new System.Windows.Forms.MenuStrip(); + this.FileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CreateShortcutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ShortcutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.TextDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BitmapImageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.DeleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.RenameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PropertiesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CloseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.EditToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.UndoCtrlZToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CutCtrlXToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CopyCtrlCToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PasteShortcutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SellectAllCtrlAToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.InvertSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.StatusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.LargeIconsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SmallIconsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.DetailsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ArrangeIconsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ByDriveLetterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ByTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BySizeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ByFreeSpaceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.LineUpIconsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.RefreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.OptionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FindToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.FilesOrFoldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.ComputerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.OnTheInternetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.PeopleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.MapNetworkDriveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.DisconnectNetworkDriveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.GoToToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.HelpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.HelpToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.AboutWindows95ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toprightcorner = new System.Windows.Forms.Panel(); + this.dirLbl = new System.Windows.Forms.ComboBox(); + this.bottomrightcorner = new System.Windows.Forms.Panel(); + this.bottomleftcorner = new System.Windows.Forms.Panel(); + this.topleftcorner = new System.Windows.Forms.Panel(); + this.pnlSave = new System.Windows.Forms.Panel(); + this.Button1 = new System.Windows.Forms.Button(); + this.Label1 = new System.Windows.Forms.Label(); + this.txtSave = new System.Windows.Forms.TextBox(); + this.mainView = new System.Windows.Forms.ListView(); + this.iconsList = new System.Windows.Forms.ImageList(this.components); + this.pnlHidden = new System.Windows.Forms.Panel(); + this.LinkLabel1 = new System.Windows.Forms.LinkLabel(); + this.Label3 = new System.Windows.Forms.Label(); + this.Label2 = new System.Windows.Forms.Label(); + this.program.SuspendLayout(); + this.MenuStrip1.SuspendLayout(); + this.pnlSave.SuspendLayout(); + this.pnlHidden.SuspendLayout(); + this.SuspendLayout(); + // + // program + // + this.program.BackColor = System.Drawing.Color.Silver; + this.program.Controls.Add(this.diskView); + this.program.Controls.Add(this.btnGo); + this.program.Controls.Add(this.MenuStrip1); + this.program.Controls.Add(this.toprightcorner); + this.program.Controls.Add(this.dirLbl); + this.program.Controls.Add(this.bottomrightcorner); + this.program.Controls.Add(this.bottomleftcorner); + this.program.Controls.Add(this.topleftcorner); + this.program.Controls.Add(this.pnlSave); + this.program.Controls.Add(this.mainView); + this.program.Controls.Add(this.pnlHidden); + 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(704, 517); + this.program.TabIndex = 13; + // + // diskView + // + this.diskView.Location = new System.Drawing.Point(3, 54); + this.diskView.Name = "diskView"; + this.diskView.Size = new System.Drawing.Size(213, 417); + this.diskView.SmallImageList = this.icons; + this.diskView.TabIndex = 13; + this.diskView.UseCompatibleStateImageBehavior = false; + this.diskView.View = System.Windows.Forms.View.List; + this.diskView.Visible = false; + this.diskView.DoubleClick += new System.EventHandler(this.diskView_DoubleClick); + // + // icons + // + this.icons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("icons.ImageStream"))); + this.icons.TransparentColor = System.Drawing.Color.Transparent; + this.icons.Images.SetKeyName(0, "nwnp32_1_SERVER_ICON.png"); + this.icons.Images.SetKeyName(1, "shell32_21.ico_16x16.png"); + this.icons.Images.SetKeyName(2, "blank-file-Windows95Icon.gif"); + this.icons.Images.SetKeyName(3, "WinClassicCalc.png"); + this.icons.Images.SetKeyName(4, "WinClassicComputer.png"); + // + // btnGo + // + this.btnGo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnGo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnGo.Location = new System.Drawing.Point(646, 22); + this.btnGo.Name = "btnGo"; + this.btnGo.Size = new System.Drawing.Size(55, 28); + this.btnGo.TabIndex = 12; + this.btnGo.Text = "Go"; + this.btnGo.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; + this.btnGo.UseVisualStyleBackColor = true; + this.btnGo.Click += new System.EventHandler(this.btnGo_Click); + // + // MenuStrip1 + // + this.MenuStrip1.BackColor = System.Drawing.Color.Silver; + this.MenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FileToolStripMenuItem, + this.EditToolStripMenuItem, + this.ViewToolStripMenuItem, + this.ToolsToolStripMenuItem, + this.HelpToolStripMenuItem}); + this.MenuStrip1.Location = new System.Drawing.Point(0, 0); + this.MenuStrip1.Name = "MenuStrip1"; + this.MenuStrip1.Size = new System.Drawing.Size(704, 24); + this.MenuStrip1.TabIndex = 6; + this.MenuStrip1.Text = "MenuStrip1"; + // + // FileToolStripMenuItem + // + this.FileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.CreateShortcutToolStripMenuItem, + this.DeleteToolStripMenuItem, + this.RenameToolStripMenuItem, + this.PropertiesToolStripMenuItem, + this.CloseToolStripMenuItem}); + this.FileToolStripMenuItem.Name = "FileToolStripMenuItem"; + this.FileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.FileToolStripMenuItem.Text = "File"; + // + // CreateShortcutToolStripMenuItem + // + this.CreateShortcutToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FolderToolStripMenuItem, + this.ShortcutToolStripMenuItem, + this.TextDocumentToolStripMenuItem, + this.BitmapImageToolStripMenuItem}); + this.CreateShortcutToolStripMenuItem.Name = "CreateShortcutToolStripMenuItem"; + this.CreateShortcutToolStripMenuItem.Size = new System.Drawing.Size(127, 22); + this.CreateShortcutToolStripMenuItem.Text = "New"; + // + // FolderToolStripMenuItem + // + this.FolderToolStripMenuItem.Name = "FolderToolStripMenuItem"; + this.FolderToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.FolderToolStripMenuItem.Text = "Folder"; + this.FolderToolStripMenuItem.Click += new System.EventHandler(this.FolderToolStripMenuItem_Click); + // + // ShortcutToolStripMenuItem + // + this.ShortcutToolStripMenuItem.Name = "ShortcutToolStripMenuItem"; + this.ShortcutToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.ShortcutToolStripMenuItem.Text = "Shortcut"; + // + // TextDocumentToolStripMenuItem + // + this.TextDocumentToolStripMenuItem.Name = "TextDocumentToolStripMenuItem"; + this.TextDocumentToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.TextDocumentToolStripMenuItem.Text = "Text Document"; + // + // BitmapImageToolStripMenuItem + // + this.BitmapImageToolStripMenuItem.Name = "BitmapImageToolStripMenuItem"; + this.BitmapImageToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.BitmapImageToolStripMenuItem.Text = "Bitmap Image"; + // + // DeleteToolStripMenuItem + // + this.DeleteToolStripMenuItem.Name = "DeleteToolStripMenuItem"; + this.DeleteToolStripMenuItem.Size = new System.Drawing.Size(127, 22); + this.DeleteToolStripMenuItem.Text = "Delete"; + this.DeleteToolStripMenuItem.Click += new System.EventHandler(this.DeleteToolStripMenuItem_Click); + // + // RenameToolStripMenuItem + // + this.RenameToolStripMenuItem.Name = "RenameToolStripMenuItem"; + this.RenameToolStripMenuItem.Size = new System.Drawing.Size(127, 22); + this.RenameToolStripMenuItem.Text = "Rename"; + // + // PropertiesToolStripMenuItem + // + this.PropertiesToolStripMenuItem.Name = "PropertiesToolStripMenuItem"; + this.PropertiesToolStripMenuItem.Size = new System.Drawing.Size(127, 22); + this.PropertiesToolStripMenuItem.Text = "Properties"; + // + // CloseToolStripMenuItem + // + this.CloseToolStripMenuItem.Name = "CloseToolStripMenuItem"; + this.CloseToolStripMenuItem.Size = new System.Drawing.Size(127, 22); + this.CloseToolStripMenuItem.Text = "Close"; + this.CloseToolStripMenuItem.Click += new System.EventHandler(this.CloseToolStripMenuItem_Click); + // + // EditToolStripMenuItem + // + this.EditToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.UndoCtrlZToolStripMenuItem, + this.CutCtrlXToolStripMenuItem, + this.CopyCtrlCToolStripMenuItem, + this.PasteToolStripMenuItem, + this.PasteShortcutToolStripMenuItem, + this.SellectAllCtrlAToolStripMenuItem, + this.InvertSelectionToolStripMenuItem}); + this.EditToolStripMenuItem.Name = "EditToolStripMenuItem"; + this.EditToolStripMenuItem.Size = new System.Drawing.Size(39, 20); + this.EditToolStripMenuItem.Text = "Edit"; + // + // UndoCtrlZToolStripMenuItem + // + this.UndoCtrlZToolStripMenuItem.Name = "UndoCtrlZToolStripMenuItem"; + this.UndoCtrlZToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + this.UndoCtrlZToolStripMenuItem.Text = "Undo Ctrl+Z"; + // + // CutCtrlXToolStripMenuItem + // + this.CutCtrlXToolStripMenuItem.Name = "CutCtrlXToolStripMenuItem"; + this.CutCtrlXToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + this.CutCtrlXToolStripMenuItem.Text = "Cut Ctrl+X"; + // + // CopyCtrlCToolStripMenuItem + // + this.CopyCtrlCToolStripMenuItem.Name = "CopyCtrlCToolStripMenuItem"; + this.CopyCtrlCToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + this.CopyCtrlCToolStripMenuItem.Text = "Copy Ctrl+C"; + // + // PasteToolStripMenuItem + // + this.PasteToolStripMenuItem.Name = "PasteToolStripMenuItem"; + this.PasteToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + this.PasteToolStripMenuItem.Text = "Paste Ctrl+V"; + // + // PasteShortcutToolStripMenuItem + // + this.PasteShortcutToolStripMenuItem.Name = "PasteShortcutToolStripMenuItem"; + this.PasteShortcutToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + this.PasteShortcutToolStripMenuItem.Text = "Paste Shortcut"; + // + // SellectAllCtrlAToolStripMenuItem + // + this.SellectAllCtrlAToolStripMenuItem.Name = "SellectAllCtrlAToolStripMenuItem"; + this.SellectAllCtrlAToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + this.SellectAllCtrlAToolStripMenuItem.Text = "Sellect All Ctrl+A"; + // + // InvertSelectionToolStripMenuItem + // + this.InvertSelectionToolStripMenuItem.Name = "InvertSelectionToolStripMenuItem"; + this.InvertSelectionToolStripMenuItem.Size = new System.Drawing.Size(197, 22); + this.InvertSelectionToolStripMenuItem.Text = "Invert Selection"; + // + // ViewToolStripMenuItem + // + this.ViewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolbarToolStripMenuItem, + this.StatusBarToolStripMenuItem, + this.LargeIconsToolStripMenuItem, + this.SmallIconsToolStripMenuItem, + this.ListToolStripMenuItem, + this.DetailsToolStripMenuItem, + this.ArrangeIconsToolStripMenuItem, + this.LineUpIconsToolStripMenuItem, + this.RefreshToolStripMenuItem, + this.OptionsToolStripMenuItem}); + this.ViewToolStripMenuItem.Name = "ViewToolStripMenuItem"; + this.ViewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.ViewToolStripMenuItem.Text = "View"; + // + // ToolbarToolStripMenuItem + // + this.ToolbarToolStripMenuItem.Name = "ToolbarToolStripMenuItem"; + this.ToolbarToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.ToolbarToolStripMenuItem.Text = "Toolbar"; + // + // StatusBarToolStripMenuItem + // + this.StatusBarToolStripMenuItem.Name = "StatusBarToolStripMenuItem"; + this.StatusBarToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.StatusBarToolStripMenuItem.Text = "Status Bar"; + // + // LargeIconsToolStripMenuItem + // + this.LargeIconsToolStripMenuItem.Name = "LargeIconsToolStripMenuItem"; + this.LargeIconsToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.LargeIconsToolStripMenuItem.Text = "Large Icons"; + // + // SmallIconsToolStripMenuItem + // + this.SmallIconsToolStripMenuItem.Name = "SmallIconsToolStripMenuItem"; + this.SmallIconsToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.SmallIconsToolStripMenuItem.Text = "Small Icons"; + // + // ListToolStripMenuItem + // + this.ListToolStripMenuItem.Name = "ListToolStripMenuItem"; + this.ListToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.ListToolStripMenuItem.Text = "List"; + // + // DetailsToolStripMenuItem + // + this.DetailsToolStripMenuItem.Name = "DetailsToolStripMenuItem"; + this.DetailsToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.DetailsToolStripMenuItem.Text = "Details"; + // + // ArrangeIconsToolStripMenuItem + // + this.ArrangeIconsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ByDriveLetterToolStripMenuItem, + this.ByTypeToolStripMenuItem, + this.BySizeToolStripMenuItem, + this.ByFreeSpaceToolStripMenuItem}); + this.ArrangeIconsToolStripMenuItem.Name = "ArrangeIconsToolStripMenuItem"; + this.ArrangeIconsToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.ArrangeIconsToolStripMenuItem.Text = "Arrange Icons"; + // + // ByDriveLetterToolStripMenuItem + // + this.ByDriveLetterToolStripMenuItem.Name = "ByDriveLetterToolStripMenuItem"; + this.ByDriveLetterToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.ByDriveLetterToolStripMenuItem.Text = "by Drive Letter"; + // + // ByTypeToolStripMenuItem + // + this.ByTypeToolStripMenuItem.Name = "ByTypeToolStripMenuItem"; + this.ByTypeToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.ByTypeToolStripMenuItem.Text = "by Type"; + // + // BySizeToolStripMenuItem + // + this.BySizeToolStripMenuItem.Name = "BySizeToolStripMenuItem"; + this.BySizeToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.BySizeToolStripMenuItem.Text = "by Size"; + // + // ByFreeSpaceToolStripMenuItem + // + this.ByFreeSpaceToolStripMenuItem.Name = "ByFreeSpaceToolStripMenuItem"; + this.ByFreeSpaceToolStripMenuItem.Size = new System.Drawing.Size(150, 22); + this.ByFreeSpaceToolStripMenuItem.Text = "by Free Space"; + // + // LineUpIconsToolStripMenuItem + // + this.LineUpIconsToolStripMenuItem.Name = "LineUpIconsToolStripMenuItem"; + this.LineUpIconsToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.LineUpIconsToolStripMenuItem.Text = "Line up Icons"; + // + // RefreshToolStripMenuItem + // + this.RefreshToolStripMenuItem.Name = "RefreshToolStripMenuItem"; + this.RefreshToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.RefreshToolStripMenuItem.Text = "Refresh"; + // + // OptionsToolStripMenuItem + // + this.OptionsToolStripMenuItem.Name = "OptionsToolStripMenuItem"; + this.OptionsToolStripMenuItem.Size = new System.Drawing.Size(147, 22); + this.OptionsToolStripMenuItem.Text = "Options..."; + // + // ToolsToolStripMenuItem + // + this.ToolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FindToolStripMenuItem, + this.MapNetworkDriveToolStripMenuItem, + this.DisconnectNetworkDriveToolStripMenuItem, + this.GoToToolStripMenuItem}); + this.ToolsToolStripMenuItem.Name = "ToolsToolStripMenuItem"; + this.ToolsToolStripMenuItem.Size = new System.Drawing.Size(47, 20); + this.ToolsToolStripMenuItem.Text = "Tools"; + // + // FindToolStripMenuItem + // + this.FindToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FilesOrFoldersToolStripMenuItem, + this.ComputerToolStripMenuItem, + this.OnTheInternetToolStripMenuItem, + this.PeopleToolStripMenuItem}); + this.FindToolStripMenuItem.Name = "FindToolStripMenuItem"; + this.FindToolStripMenuItem.Size = new System.Drawing.Size(220, 22); + this.FindToolStripMenuItem.Text = "Find"; + // + // FilesOrFoldersToolStripMenuItem + // + this.FilesOrFoldersToolStripMenuItem.Name = "FilesOrFoldersToolStripMenuItem"; + this.FilesOrFoldersToolStripMenuItem.Size = new System.Drawing.Size(161, 22); + this.FilesOrFoldersToolStripMenuItem.Text = "Files or Folders..."; + // + // ComputerToolStripMenuItem + // + this.ComputerToolStripMenuItem.Name = "ComputerToolStripMenuItem"; + this.ComputerToolStripMenuItem.Size = new System.Drawing.Size(161, 22); + this.ComputerToolStripMenuItem.Text = "Computer..."; + // + // OnTheInternetToolStripMenuItem + // + this.OnTheInternetToolStripMenuItem.Name = "OnTheInternetToolStripMenuItem"; + this.OnTheInternetToolStripMenuItem.Size = new System.Drawing.Size(161, 22); + this.OnTheInternetToolStripMenuItem.Text = "On the Internet"; + // + // PeopleToolStripMenuItem + // + this.PeopleToolStripMenuItem.Name = "PeopleToolStripMenuItem"; + this.PeopleToolStripMenuItem.Size = new System.Drawing.Size(161, 22); + this.PeopleToolStripMenuItem.Text = "People..."; + // + // MapNetworkDriveToolStripMenuItem + // + this.MapNetworkDriveToolStripMenuItem.Name = "MapNetworkDriveToolStripMenuItem"; + this.MapNetworkDriveToolStripMenuItem.Size = new System.Drawing.Size(220, 22); + this.MapNetworkDriveToolStripMenuItem.Text = "Map Network Drive..."; + // + // DisconnectNetworkDriveToolStripMenuItem + // + this.DisconnectNetworkDriveToolStripMenuItem.Name = "DisconnectNetworkDriveToolStripMenuItem"; + this.DisconnectNetworkDriveToolStripMenuItem.Size = new System.Drawing.Size(220, 22); + this.DisconnectNetworkDriveToolStripMenuItem.Text = "Disconnect Network Drive..."; + // + // GoToToolStripMenuItem + // + this.GoToToolStripMenuItem.Name = "GoToToolStripMenuItem"; + this.GoToToolStripMenuItem.Size = new System.Drawing.Size(220, 22); + this.GoToToolStripMenuItem.Text = "Go to..."; + // + // HelpToolStripMenuItem + // + this.HelpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.HelpToolStripMenuItem1, + this.AboutWindows95ToolStripMenuItem}); + this.HelpToolStripMenuItem.Name = "HelpToolStripMenuItem"; + this.HelpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.HelpToolStripMenuItem.Text = "Help"; + // + // HelpToolStripMenuItem1 + // + this.HelpToolStripMenuItem1.Name = "HelpToolStripMenuItem1"; + this.HelpToolStripMenuItem1.Size = new System.Drawing.Size(174, 22); + this.HelpToolStripMenuItem1.Text = "Help Topics"; + // + // AboutWindows95ToolStripMenuItem + // + this.AboutWindows95ToolStripMenuItem.Name = "AboutWindows95ToolStripMenuItem"; + this.AboutWindows95ToolStripMenuItem.Size = new System.Drawing.Size(174, 22); + this.AboutWindows95ToolStripMenuItem.Text = "About Windows 95"; + this.AboutWindows95ToolStripMenuItem.Click += new System.EventHandler(this.AboutWindows95ToolStripMenuItem_Click); + // + // toprightcorner + // + this.toprightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.toprightcorner.Location = new System.Drawing.Point(700, 0); + this.toprightcorner.Name = "toprightcorner"; + this.toprightcorner.Size = new System.Drawing.Size(4, 4); + this.toprightcorner.TabIndex = 6; + // + // dirLbl + // + this.dirLbl.FormattingEnabled = true; + this.dirLbl.Items.AddRange(new object[] { + "Desktop", + "My Computer", + "3 1/2 Floppy (a:)", + "(C:)", + "(D:)", + "Control Panel", + "Printers", + "Network Neightborhood", + "Recycle Bin", + "Online Services"}); + this.dirLbl.Location = new System.Drawing.Point(11, 27); + this.dirLbl.Name = "dirLbl"; + this.dirLbl.Size = new System.Drawing.Size(629, 21); + this.dirLbl.TabIndex = 7; + this.dirLbl.Text = "My Computer"; + // + // bottomrightcorner + // + this.bottomrightcorner.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.bottomrightcorner.Cursor = System.Windows.Forms.Cursors.SizeNWSE; + this.bottomrightcorner.Location = new System.Drawing.Point(700, 513); + 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.Location = new System.Drawing.Point(0, 513); + this.bottomleftcorner.Name = "bottomleftcorner"; + this.bottomleftcorner.Size = new System.Drawing.Size(4, 4); + this.bottomleftcorner.TabIndex = 2; + // + // topleftcorner + // + 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; + // + // pnlSave + // + this.pnlSave.Controls.Add(this.Button1); + this.pnlSave.Controls.Add(this.Label1); + this.pnlSave.Controls.Add(this.txtSave); + this.pnlSave.Location = new System.Drawing.Point(3, 474); + this.pnlSave.Name = "pnlSave"; + this.pnlSave.Size = new System.Drawing.Size(850, 35); + this.pnlSave.TabIndex = 18; + this.pnlSave.Visible = false; + // + // Button1 + // + this.Button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.Button1.Location = new System.Drawing.Point(608, 1); + this.Button1.Name = "Button1"; + this.Button1.Size = new System.Drawing.Size(75, 23); + this.Button1.TabIndex = 17; + this.Button1.Text = "Save"; + this.Button1.UseVisualStyleBackColor = true; + this.Button1.Click += new System.EventHandler(this.Button1_Click); + // + // Label1 + // + this.Label1.AutoSize = true; + this.Label1.Location = new System.Drawing.Point(3, 6); + this.Label1.Name = "Label1"; + this.Label1.Size = new System.Drawing.Size(57, 13); + this.Label1.TabIndex = 16; + this.Label1.Text = "File Name:"; + // + // txtSave + // + this.txtSave.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtSave.Location = new System.Drawing.Point(60, 3); + this.txtSave.Name = "txtSave"; + this.txtSave.Size = new System.Drawing.Size(542, 20); + this.txtSave.TabIndex = 15; + // + // mainView + // + this.mainView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.mainView.LargeImageList = this.iconsList; + this.mainView.Location = new System.Drawing.Point(11, 54); + this.mainView.Name = "mainView"; + this.mainView.Size = new System.Drawing.Size(690, 417); + this.mainView.SmallImageList = this.iconsList; + this.mainView.StateImageList = this.iconsList; + this.mainView.TabIndex = 10; + this.mainView.UseCompatibleStateImageBehavior = false; + this.mainView.View = System.Windows.Forms.View.List; + this.mainView.DoubleClick += new System.EventHandler(this.mainView_DoubleClick); + // + // iconsList + // + this.iconsList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("iconsList.ImageStream"))); + this.iconsList.TransparentColor = System.Drawing.Color.Transparent; + this.iconsList.Images.SetKeyName(0, "nwnp32_1_SERVER_ICON.png"); + this.iconsList.Images.SetKeyName(1, "shell32_21.ico_16x16.png"); + this.iconsList.Images.SetKeyName(2, "blank-file-Windows95Icon.gif"); + this.iconsList.Images.SetKeyName(3, "WinClassicCalc.png"); + this.iconsList.Images.SetKeyName(4, "WinClassicComputer.png"); + // + // pnlHidden + // + this.pnlHidden.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnlHidden.Controls.Add(this.LinkLabel1); + this.pnlHidden.Controls.Add(this.Label3); + this.pnlHidden.Controls.Add(this.Label2); + this.pnlHidden.Location = new System.Drawing.Point(9, 54); + this.pnlHidden.Name = "pnlHidden"; + this.pnlHidden.Size = new System.Drawing.Size(461, 417); + this.pnlHidden.TabIndex = 14; + this.pnlHidden.Visible = false; + // + // LinkLabel1 + // + this.LinkLabel1.AutoSize = true; + this.LinkLabel1.Location = new System.Drawing.Point(325, 50); + this.LinkLabel1.Name = "LinkLabel1"; + this.LinkLabel1.Size = new System.Drawing.Size(54, 13); + this.LinkLabel1.TabIndex = 1; + this.LinkLabel1.TabStop = true; + this.LinkLabel1.Text = "Click here"; + this.LinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabel1_LinkClicked); + // + // Label3 + // + this.Label3.AutoSize = true; + this.Label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F); + this.Label3.Location = new System.Drawing.Point(3, 45); + this.Label3.Name = "Label3"; + this.Label3.Size = new System.Drawing.Size(330, 20); + this.Label3.TabIndex = 0; + this.Label3.Text = "If you want to view the contents of this folder, "; + // + // Label2 + // + this.Label2.AutoSize = true; + this.Label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label2.Location = new System.Drawing.Point(3, 14); + this.Label2.Name = "Label2"; + this.Label2.Size = new System.Drawing.Size(293, 31); + this.Label2.TabIndex = 0; + this.Label2.Text = "This directory is hidden"; + // + // WinClassicWindowsExplorer + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.program); + this.Name = "WinClassicWindowsExplorer"; + this.Size = new System.Drawing.Size(704, 517); + this.Load += new System.EventHandler(this.WinClassicWindowsExplorer_Load); + this.program.ResumeLayout(false); + this.program.PerformLayout(); + this.MenuStrip1.ResumeLayout(false); + this.MenuStrip1.PerformLayout(); + this.pnlSave.ResumeLayout(false); + this.pnlSave.PerformLayout(); + this.pnlHidden.ResumeLayout(false); + this.pnlHidden.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + internal System.Windows.Forms.Panel program; + internal System.Windows.Forms.ListView diskView; + internal System.Windows.Forms.Button btnGo; + internal System.Windows.Forms.MenuStrip MenuStrip1; + internal System.Windows.Forms.ToolStripMenuItem FileToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CreateShortcutToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem FolderToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ShortcutToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem TextDocumentToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem BitmapImageToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem DeleteToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem RenameToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PropertiesToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CloseToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem EditToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem UndoCtrlZToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CutCtrlXToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem CopyCtrlCToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PasteToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PasteShortcutToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SellectAllCtrlAToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem InvertSelectionToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ViewToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ToolbarToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem StatusBarToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem LargeIconsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem SmallIconsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ListToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem DetailsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ArrangeIconsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ByDriveLetterToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ByTypeToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem BySizeToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ByFreeSpaceToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem LineUpIconsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem RefreshToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem OptionsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ToolsToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem FindToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem FilesOrFoldersToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem ComputerToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem OnTheInternetToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem PeopleToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem MapNetworkDriveToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem DisconnectNetworkDriveToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem GoToToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem; + internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem1; + internal System.Windows.Forms.ToolStripMenuItem AboutWindows95ToolStripMenuItem; + internal System.Windows.Forms.Panel toprightcorner; + internal System.Windows.Forms.ComboBox dirLbl; + internal System.Windows.Forms.Panel bottomrightcorner; + internal System.Windows.Forms.Panel bottomleftcorner; + internal System.Windows.Forms.Panel topleftcorner; + internal System.Windows.Forms.ListView mainView; + internal System.Windows.Forms.Panel pnlHidden; + internal System.Windows.Forms.LinkLabel LinkLabel1; + internal System.Windows.Forms.Label Label3; + internal System.Windows.Forms.Label Label2; + internal System.Windows.Forms.Panel pnlSave; + internal System.Windows.Forms.Button Button1; + internal System.Windows.Forms.Label Label1; + internal System.Windows.Forms.TextBox txtSave; + internal System.Windows.Forms.ImageList icons; + private System.Windows.Forms.ImageList iconsList; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs new file mode 100644 index 0000000..89a6b6f --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.cs @@ -0,0 +1,670 @@ +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 System.Windows.Forms; +using static TimeHACK.Engine.SaveSystem; +using System.IO; +using TimeHACK.Engine; +using Newtonsoft.Json; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicWindowsExplorer : UserControl + { + public Boolean IsFileOpenDialog = false; + public Boolean IsFileSaveDialog = false; + public String onlyViewExtension = ""; + + String ToReplaceWith = ProfileDirectory; + String currentDirectory = Path.Combine(ProfileDirectory, "folders"); + String oldLabelText; + Int32 fileType = 6; + String attemptedDirectory = ""; + WindowManager wm = new WindowManager(); + + public WinClassicWindowsExplorer() + { + InitializeComponent(); + } + + + + + //'Private Sub TreeView1_AfterSelect(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeViewEventArgs) + //' mainView.Items.Clear() + //' Dim childamount As TreeNodeCollection + //' childamount = TreeView1.SelectedNode.Nodes + //' lblamountofobjects.Text = (childamount.Count & " objects(s)") + //' For Each TreeNode In TreeView1.SelectedNode.Nodes + //' If TreeNode.tag = "file" Then + //' TreeNode.forecolor = TreeView1.BackColor + //' End If + //' mainView.Items.Add(TreeNode.text) + //' Next + //'End Sub + + void CheckLbl() { + try + { + dirLbl.Text = dirLbl.Text.Replace(GameDirectory, ""); + dirLbl.Text = dirLbl.Text.Replace("\\TimeHACK\\", ""); + dirLbl.Text = dirLbl.Text.Replace(ProfileDirectory, ""); + dirLbl.Text = dirLbl.Text.Replace("\\Profiles\\" + ProfileName + "\\", ""); + dirLbl.Text = dirLbl.Text.Replace("folders", "My Computer"); + //dirLbl.Text = dirLbl.Text.Substring(7, dirLbl.Text.Length - 7); + } catch + { + + } + } + + String ReadDataFile(String reqDirectory, Boolean returnYesIfProtected = false) { + String Val = ""; + String directoryFileInfo; + directoryFileInfo = File.ReadAllText(Path.Combine(reqDirectory, "_data.info")); + FileSystemFolderInfo toRead = new FileSystemFolderInfo(); + toRead = JsonConvert.DeserializeObject<FileSystemFolderInfo>(directoryFileInfo); + + if (returnYesIfProtected == true) + { + if (toRead.Isprotected == true) + { + return "yes"; + } + } + else + { + return toRead.label; + } + return Val; + } + + void RefreshAll() { + try { + // Refresh the right listview + icons.Images.Clear(); + this.mainView.Items.Clear(); + diskView.SmallImageList = icons; + this.mainView.LargeImageList = icons; + // For Each drive As String In My.Computer.FileSystem.GetDirectories(GameMain.MyDocuments & "\HistacomVB\" & GameMain.SaveProfile & "\HistacomVB\Folders") + // If GetPropetiesForDir(drive)(4) = "isMyDocuments" Then + // diskView.Items.Add("", 0) + // End If + //Next + foreach (String str in Directory.GetDirectories(currentDirectory)) + { + String label = ReadDataFile(str, false); + if (label == "") + { + this.mainView.Items.Add(Path.GetFileName(str)); + this.mainView.FindItemWithText(Path.GetFileName(str)).Tag = Path.GetFileName(str); + } else { + this.mainView.Items.Add(label, 1).ImageIndex = 1; + this.mainView.FindItemWithText(label).Tag = Path.GetFileName(str); + } + } + foreach (String str in Directory.GetFiles(currentDirectory)) + { + // Get app Icon + + int AppIcon = 2; + + switch (new FileInfo(str).Extension) + { + case ".exe": + String contents; + + contents = File.ReadAllText(str); + + switch (contents.ToLower()) + { + case "calculator": + AppIcon = 3; + break; + case "windowsexplorer": + AppIcon = 4; + break; + } + break; + } + + if (IsFileOpenDialog == true || IsFileSaveDialog == true) + { + if (!(Path.GetFileName(str) == "_data.info")) + { + if (new FileInfo(str).Extension == onlyViewExtension) + { + this.mainView.Items.Add(Path.GetFileName(str), AppIcon); + } + } + } else { + if (!(Path.GetFileName(str) == "_data.info")) { + this.mainView.Items.Add(Path.GetFileName(str), AppIcon); + } + } + } + dirLbl.Text = currentDirectory; + CheckLbl(); + } catch (Exception ex) { + wm.StartInfobox95("Exploring - C:", "Error with the file explorer \n" + ex.Message, Properties.Resources.Win95Info); + ((Form)this.TopLevelControl).Close(); + } + } + + String ReturnType(String extension) { + String returnVal = ""; + fileType = 1; + switch (extension) { + case ".txt": + fileType = 1; + returnVal = "Text Document \n createtext"; + break; + case ".dat": + fileType = 1; + returnVal = "Text Document \n createtext"; + break; + case ".rtf": + fileType = 2; + returnVal = "Rich Text Document \n createtext"; + break; + case ".cfg": + fileType = 1; + returnVal = "Config file \n createtext"; + break; + case ".log": + fileType = 1; + returnVal = "log text file \n createtext"; + break; + case ".properties": + fileType = 1; + returnVal = "Config file \n createtext"; + break; + case ".json": + fileType = 1; + returnVal = "Config file \n createtext"; + break; + case ".doc": + fileType = 3; + returnVal = "Word Document (Old) \n word"; + break; + case ".docx": + fileType = 3; + returnVal = "Word Document \n word"; + break; + case ".docm": + fileType = 3; + returnVal = "Macro-Enabled Word Document \n word"; + break; + case ".xls": + fileType = 4; + returnVal = "Excel Spreadsheets (Old) \n excel"; + break; + case ".xlsx": + fileType = 4; + returnVal = "Excel Spreadsheets \n excel"; + break; + case ".ppt": + fileType = 5; + returnVal = "Powerpoint Presentation (Old) \n powerpoint"; + break; + case ".pptx": + fileType = 5; + returnVal = "Powerpoint Presentation \n powerpoint"; + break; + case ".pub": + fileType = 7; + returnVal = "Publisher Document \n powerpoint"; + break; + case ".xps": + fileType = 8; + returnVal = "XPS Document \n xpsview"; + break; + case ".htm": + fileType = 9; + returnVal = "HTML web page \n html"; + break; + case ".html": + fileType = 9; + returnVal = "HTML web page \n html"; + break; + case ".wps": + fileType = 10; + returnVal = "Works document \n works"; + break; + case ".wmf": + fileType = 11; + returnVal = "Windows Metafile (A picture) \n createart"; + break; + case ".emf": + fileType = 11; + returnVal = "Enhanced Metafile (A picture) \n createart"; + break; + case ".png": + fileType = 11; + returnVal = "Picture file (Portable Network Graphics) \n createart"; + break; + case ".jpg": + fileType = 11; + returnVal = "Picture file \n createart"; + break; + case ".jpeg": + fileType = 11; + returnVal = "Picture file \n createart"; + break; + case ".gif": + fileType = 12; + returnVal = "Picture file \n gifman"; + break; + case ".tif": + fileType = 11; + returnVal = "Picture file \n createart"; + break; + case ".bmp": + fileType = 11; + returnVal = "Picture file \n createart"; + break; + case ".zip": + fileType = 11; + returnVal = "Compressed ZIP file \n winrar"; + break; + case ".rar": + fileType = 11; + returnVal = "WINRAR Compressed file \n winrar"; + break; + case ".gz": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".7z": + fileType = 11; + returnVal = "7ZIP file \n 7z"; + break; + case ".ace": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".arj": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".bz2": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".gzip": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".lzh": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".tar": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".uue": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".xz": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".z": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".001": + fileType = 11; + returnVal = "WINRAR file \n winrar"; + break; + case ".exe": + fileType = 12; + returnVal = "Program \n exe"; + break; + case ".jar": + fileType = 13; + returnVal = "Java file \n java"; + break; + case ".iso": + fileType = 14; + returnVal = "CD Image file \n iso"; + break; + case ".avi": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".m4v": + fileType = 15; + returnVal = "Video (MPEG-4) \n video"; + break; + case ".mp4": + fileType = 15; + returnVal = "Video (MPEG-4) \n video"; + break; + case ".wmv": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".m2v": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".m3u": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".mts": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".dv": + fileType = 15; + returnVal = "Video (Digital Video) \n video"; + break; + case ".flv": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".m1v": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".m2ts": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".mkv": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".mov": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".mpeg4": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".mpeg": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".mpg": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".3gp": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".m4p": + fileType = 15; + returnVal = "Video \n video"; + break; + case ".mp2": + fileType = 21; + returnVal = "Audio \n video"; + break; + case ".mp3": + fileType = 21; + returnVal = "Audio \n video"; + break; + case ".wav": + fileType = 21; + returnVal = "Audio \n video"; + break; + case ".nls": + fileType = 16; + returnVal = "Font file \n font"; + break; + case ".dll": + fileType = 17; + returnVal = "System File \n sys"; + break; + case ".bat": + fileType = 18; + returnVal = "MS-DOS Batch file \n winterm"; + break; + case ".url": + fileType = 19; + returnVal = "Shortcut \n short"; + break; + case ".sh": + fileType = 20; + returnVal = "BASH file \n winterm"; + break; + case ".win": + fileType = 17; + returnVal = "System file \n sys"; + break; + } + return returnVal; + } + + //Private Sub windows_explorer_Closed(sender As Object, e As EventArgs) Handles Me.Closed + // IsFileDialog = False + //End Sub + void WinClassicWindowsExplorer_Load(object sender, EventArgs e) { + + //icons.Images.Add(Properties.Resources.WinClassicFolder); + //icons.Images.Add(Properties.Resources.WinClassicComputer); + program.BringToFront(); + dirLbl.Text = "folders"; + diskView.Items.Add("My Computer", 0); + Application.DoEvents(); + CheckLbl(); + RefreshAll(); + if (FileDialogBoxManager.IsInOpenDialog) + { + IsFileOpenDialog = true; + } else if (FileDialogBoxManager.IsInSaveDialog) { + IsFileSaveDialog = true; + } + + if (IsFileOpenDialog == true) + { + pnlSave.Show(); + Button1.Text = "Open"; + } else { + if (IsFileSaveDialog == true) + { + pnlSave.Show(); + Button1.Text = "Save"; + } + } + + onlyViewExtension = FileDialogBoxManager.OnlyViewExtension; + } + + void mainView_DoubleClick(object sender, EventArgs e) + { + try + { + if ((String)mainView.FocusedItem.Tag != "") { // If it isn't a file + GoToDir(currentDirectory + "\\" + mainView.FocusedItem.Tag); + } else { // If it is a file + if (new FileInfo(Path.Combine(currentDirectory, txtSave.Text)).Extension == onlyViewExtension) + { + Program.WindowsExplorerReturnPath = currentDirectory + "\\" + txtSave.Text; + } + + + FileDialogBoxManager.IsInOpenDialog = false; + FileDialogBoxManager.IsInSaveDialog = false; + + ((Form)this.TopLevelControl).Close(); + } + } catch { + + } + } + + void diskView_DoubleClick(object sender, EventArgs e) + { + try + { + if (diskView.FocusedItem.Text == "My Computer") { + + GoToDir(ProfileFileSystemDirectory); + } + + } catch { + } + } + + void btnGo_Click(object sender, EventArgs e) + { + GoToDir(ProfileDirectory + "\\" + dirLbl.Text.Replace("My Computer", "folders")); + } + + void GoToDir(String dir, Boolean GoneThoughHidden = false) + { + if (ReadDataFile(dir, true) == "yes" && (GoneThoughHidden == false)) { + attemptedDirectory = dir; + mainView.Hide(); + pnlHidden.BringToFront(); + pnlHidden.Show(); + } else { + pnlHidden.Hide(); + mainView.Show(); + mainView.BringToFront(); + currentDirectory = dir; + RefreshAll(); + } + } + + private void LinkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + GoToDir(attemptedDirectory, true); + } + + private void FolderToolStripMenuItem_Click(object sender, EventArgs e) + { + if (File.Exists(currentDirectory + "\\New Folder")) { + wm.StartInfobox95("Windows Explorer", "This directory already exists", Properties.Resources.Win95Info); + } else { + Directory.CreateDirectory(currentDirectory + "\\New Folder"); + SaveDirectoryInfo(currentDirectory + "\\New Folder", false, "New Folder", true); + + RefreshAll(); + } + } + + private void Button1_Click(object sender, EventArgs e) + { + try + { + Boolean OpenFile = false; + if (mainView.FocusedItem != null) + { + if ((String)mainView.FocusedItem.Tag != "") + { // If it isn't a file + GoToDir(currentDirectory + "\\" + mainView.FocusedItem.Tag); + } + else OpenFile = true; // If it is a file + } + else OpenFile = true; + if (OpenFile == true) + { + if (txtSave.Text == "") + { + wm.StartInfobox95("Windows Explorer", "Please enter a filename", Properties.Resources.Win95Info); + } + else + { + if (new FileInfo(currentDirectory + "\\" + txtSave.Text).Extension == onlyViewExtension) + { + + Program.WindowsExplorerReturnPath = currentDirectory + "\\" + txtSave.Text; + + } + + + FileDialogBoxManager.IsInOpenDialog = false; + FileDialogBoxManager.IsInSaveDialog = false; + + ((Form)this.TopLevelControl).Close(); + } + } + } catch { + + } + } + + private void DeleteToolStripMenuItem_Click(object sender, EventArgs e) + { + try + { + if (!File.Exists(Path.Combine(currentDirectory, mainView.FocusedItem.Text))) + { + wm.StartInfobox95("Windows Explorer", "This directory doesn't exist", Properties.Resources.Win95Info); + } + else + { + Directory.Delete(currentDirectory + mainView.FocusedItem.Text, true); + + RefreshAll(); + } + } catch + { + + } + + } + + private void CloseToolStripMenuItem_Click(object sender, EventArgs e) + { + ((Form)this.TopLevelControl).Close(); + } + private void AboutWindows95ToolStripMenuItem_Click(object sender, EventArgs e) + { + WindowManager wm = new WindowManager(); + wm.StartAboutBox95("Windows 95", "Microsoft Windows 95 Rev B", Properties.Resources.WinClassicAbout95); + } + + private void RenameToolStripMenuItem_Click(object sender, EventArgs e) + { + try + { + // The AfterLabelEdit event will kick in after this + oldLabelText = mainView.FocusedItem.Text; + mainView.LabelEdit = true; + mainView.FocusedItem.BeginEdit(); + } catch + { + + } + } + + private void mainView_AfterLabelEdit(object sender, LabelEditEventArgs e) + { + + String setText; + setText = mainView.FocusedItem.Text; + if (setText == "") + { + wm.StartInfobox95("Windows Explorer", "Please enter a new directory name", Properties.Resources.Win95Info); + } + else + { + if (Directory.Exists(setText)) + { + wm.StartInfobox95("Windows Explorer", "That directory already exists.", Properties.Resources.Win95Info); + } + else + { + Directory.Delete(Path.Combine(currentDirectory, oldLabelText), true); + Directory.CreateDirectory(Path.Combine(currentDirectory, setText)); + } + } + RefreshAll(); + } + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.resx new file mode 100644 index 0000000..77c4304 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWindowsExplorer.resx @@ -0,0 +1,245 @@ +<?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="icons.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>312, 18</value> + </metadata> + <data name="icons.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> + <value> + AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w + LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADG + CwAAAk1TRnQBSQFMAgEBBQEAATABAAEwAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA + AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 + AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA + AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm + AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM + AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA + ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz + AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ + AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM + AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA + AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA + AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ + AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/ + AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA + AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm + ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ + Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz + AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA + AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM + AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM + ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM + Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA + AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM + AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ + AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz + AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm + AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw + AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wIADAc0AAPsAQAC7AEA + AuwBAAPsNAAC7AH/AQAB7AH/AQAB7AH/AQAB7AH/AewzAAHsAQcBAgYHAewCBwLsMgAB7AUHBewBBwLs + MgAB7Av/Auw+AALsNAAB/wgHAewBAAHsNAAB/wfsAf8B7DYAAf8BAAIGAv8BAAEGAf8B7DYAAf8BAAEG + A/8BAAEGAf8B7DYAAf8BAAH+Av8BAAIGAf8B7DYAAf8BAAYGAf8B7DYAAf8H7AH/Aew2AAHsCP8B7DcA + CewyAAHtDRQB8jEADQcB9wFtAfIwAAIHATMEBwHtAm0BEgFtAe0B9wHsARQwAAcHAe8E9wHvAfcB7AEU + AgAL7AUAAfAIbQHzBAACBg0EAQANBwHvAewBFAIAAewB/wEHAfsBBwH7AQcB+wEHAfsB7AUAAe8BBwb/ + AewB8gQAAQYB/wwGAQQCAAEHCxQBbQGSARQBAAHsAf8BBwH7AQcB+wEHAfsBBwH7AQcBAAHsBAAB7wEH + Bv8B7AHyBAABBgH+AQYBAAH/AQAB/wEAAf8BAAL/AQcBAAEEAgAB8ArxAfcBbQGSAfMBAAHsAf8B+wEH + AfsBBwH7AQcB+wEHAewGAAHvAQcG/wHsAfIEAAEGAf8MBgEEAgAB8AHxAQQHoQG1AfcB7AHvAQAB7AH/ + AfsBBwH7AQcB+wEHAfsBBwH7AgABBwQAAe8BBwb/AewB8gQAAQYB/gEGAQAB/wEAAf8BAAH/AQAB/wEA + Af8BAAEEAgAB8AHxAQQC/AGGAuwBFAH8Ac8B9wHsAe8BAAHsCf8B7AEAAfwB/wEHAwAB7wEHBv8B7AHy + BAABBgH/DAYBBAIAAfAB8QEEAfwB6gHsAv8B7AH8Ac8B9wHsAe8BAAzsAv8EAAHvAQcG/wHsAfIEAAEG + Af4BAAcHBAYBBAIAAfAB8QEEAfwBBwG8AbUBBAGFAfwBzwH3AewB7wIAAewB/wH7AQcB7AL/AfwB/wH8 + Av8FAAHvAQcE/wIRAQ4B8gQAAQYB/wEABv8BBwQGAQQCAAHwAfEBBAHNAwQBoQL8Ac8B9wHsAe8CAAHs + Af8BBwH7AQcB7AL/AfwC/wEAAewEAAHvAQcE/wHsAfcB8AUAAQYB/ggABAYBBAIAAfAB8QEKBwQBzwH3 + AewB7wIAAewB/wH7AQcB+wEHAewD/wEAAuwEAAHvARUEEwERAfMGAAEGAf8B/gH/Af4B/wH+Af8B/gH/ + Af4B/wH+Af8BBgIAAfAB8Qj3AQcB9wHsAe8DAAHsBP8C7AH/FwAOBgIAAf8BvAnxAbwB7AHvBAAE7CsA + Af8BBwn3AZIB8jEAAUIBTQE+BwABPgMAASgDAAFAAwABIAMAAQEBAAEBBgABARYAA/8BAAGAAQMGAAGA + AQEGAAHABwABwAcAAcAHAAHABwAB8AcAAfAHAAHwAQEGAAHwAQEGAAHwAQEGAAHwAQEGAAHwAQEGAAHw + AQEGAAHwAQEGAAH4AQMHAAEBBv8CAAb/AgAB4AEBAv8BgAEBAgABwAEBAcABDwQAAcABAQHAAQ8CAAGA + AQABgAEBAcABDwIAAYABAAGAAQEBwAEPAgABgAEBAQABCQHAAQ8CAAGAAQECAAHAAQ8CAAGAAQEBAAEB + AcABDwIAAYABAQGAAQEBwAEPAgABgAEBAYABAQHAAR8CAAGAAQEBgAEDAcABPwIAAYABAQHAAR8C/wGA + AQEBgAEBAeEBvwT/AcABAQb/Cw== +</value> + </data> + <metadata name="MenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <metadata name="iconsList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>409, 17</value> + </metadata> + <data name="iconsList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64"> + <value> + AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w + LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADG + CwAAAk1TRnQBSQFMAgEBBQEAARgBAAEYAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA + AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 + AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA + AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm + AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM + AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA + ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz + AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ + AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM + AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA + AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA + AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ + AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/ + AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA + AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm + ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ + Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz + AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA + AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM + AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM + ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM + Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA + AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM + AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ + AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz + AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm + AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw + AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wIADAc0AAPsAQAC7AEA + AuwBAAPsNAAC7AH/AQAB7AH/AQAB7AH/AQAB7AH/AewzAAHsAQcBAgYHAewCBwLsMgAB7AUHBewBBwLs + MgAB7Av/Auw+AALsNAAB/wgHAewBAAHsNAAB/wfsAf8B7DYAAf8BAAIGAv8BAAEGAf8B7DYAAf8BAAEG + A/8BAAEGAf8B7DYAAf8BAAH+Av8BAAIGAf8B7DYAAf8BAAYGAf8B7DYAAf8H7AH/Aew2AAHsCP8B7DcA + CewyAAHtDRQB8jEADQcB9wFtAfIwAAIHATMEBwHtAm0BEgFtAe0B9wHsARQwAAcHAe8E9wHvAfcB7AEU + AgAL7AUAAfAIbQHzBAACBg0EAQANBwHvAewBFAIAAewB/wEHAfsBBwH7AQcB+wEHAfsB7AUAAe8BBwb/ + AewB8gQAAQYB/wwGAQQCAAEHCxQBbQGSARQBAAHsAf8BBwH7AQcB+wEHAfsBBwH7AQcBAAHsBAAB7wEH + Bv8B7AHyBAABBgH+AQYBAAH/AQAB/wEAAf8BAAL/AQcBAAEEAgAB8ArxAfcBbQGSAfMBAAHsAf8B+wEH + AfsBBwH7AQcB+wEHAewGAAHvAQcG/wHsAfIEAAEGAf8MBgEEAgAB8AHxAQQHoQG1AfcB7AHvAQAB7AH/ + AfsBBwH7AQcB+wEHAfsBBwH7AgABBwQAAe8BBwb/AewB8gQAAQYB/gEGAQAB/wEAAf8BAAH/AQAB/wEA + Af8BAAEEAgAB8AHxAQQC/AGGAuwBFAH8Ac8B9wHsAe8BAAHsCf8B7AEAAfwB/wEHAwAB7wEHBv8B7AHy + BAABBgH/DAYBBAIAAfAB8QEEAfwB6gHsAv8B7AH8Ac8B9wHsAe8BAAzsAv8EAAHvAQcG/wHsAfIEAAEG + Af4BAAcHBAYBBAIAAfAB8QEEAfwBBwG8AbUBBAGFAfwBzwH3AewB7wIAAewB/wH7AQcB7AL/AfwB/wH8 + Av8FAAHvAQcE/wIRAQ4B8gQAAQYB/wEABv8BBwQGAQQCAAHwAfEBBAHNAwQBoQL8Ac8B9wHsAe8CAAHs + Af8BBwH7AQcB7AL/AfwC/wEAAewEAAHvAQcE/wHsAfcB8AUAAQYB/ggABAYBBAIAAfAB8QEKBwQBzwH3 + AewB7wIAAewB/wH7AQcB+wEHAewD/wEAAuwEAAHvARUEEwERAfMGAAEGAf8B/gH/Af4B/wH+Af8B/gH/ + Af4B/wH+Af8BBgIAAfAB8Qj3AQcB9wHsAe8DAAHsBP8C7AH/FwAOBgIAAf8BvAnxAbwB7AHvBAAE7CsA + Af8BBwn3AZIB8jEAAUIBTQE+BwABPgMAASgDAAFAAwABIAMAAQEBAAEBBgABARYAA/8BAAGAAQMGAAGA + AQEGAAHABwABwAcAAcAHAAHABwAB8AcAAfAHAAHwAQEGAAHwAQEGAAHwAQEGAAHwAQEGAAHwAQEGAAHw + AQEGAAHwAQEGAAH4AQMHAAEBBv8CAAb/AgAB4AEBAv8BgAEBAgABwAEBAcABDwQAAcABAQHAAQ8CAAGA + AQABgAEBAcABDwIAAYABAAGAAQEBwAEPAgABgAEBAQABCQHAAQ8CAAGAAQECAAHAAQ8CAAGAAQEBAAEB + AcABDwIAAYABAQGAAQEBwAEPAgABgAEBAYABAQHAAR8CAAGAAQEBgAEDAcABPwIAAYABAQHAAR8C/wGA + AQEBgAEBAeEBvwT/AcABAQb/Cw== +</value> + </data> +</root>
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs new file mode 100644 index 0000000..6f4f161 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.Designer.cs @@ -0,0 +1,579 @@ +namespace TimeHACK.OS.Win95.Win95Apps +{ + partial class WinClassicWordPad + { + /// <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 Component 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() + { + this.topmenu = new System.Windows.Forms.MenuStrip(); + this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.sendToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolbarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.formatBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.insertToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.dateTimeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.formatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.bulletStyleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpTopicsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.aboutWordpadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.mainText = new System.Windows.Forms.RichTextBox(); + this.pnlToolbar = new System.Windows.Forms.Panel(); + this.btnPaste = new System.Windows.Forms.Button(); + this.btnCopy = new System.Windows.Forms.Button(); + this.btnCut = new System.Windows.Forms.Button(); + this.btnNew = new System.Windows.Forms.Button(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pnlFormatBar = new System.Windows.Forms.Panel(); + this.comboSize = new System.Windows.Forms.ComboBox(); + this.comboFont = new System.Windows.Forms.ComboBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + this.btnUnderline = new System.Windows.Forms.Button(); + this.btnItalic = new System.Windows.Forms.Button(); + this.btnBold = new System.Windows.Forms.Button(); + this.statusBar = new System.Windows.Forms.Panel(); + this.lblStatus = new System.Windows.Forms.Label(); + this.topmenu.SuspendLayout(); + this.pnlToolbar.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.pnlFormatBar.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); + this.statusBar.SuspendLayout(); + this.SuspendLayout(); + // + // topmenu + // + this.topmenu.BackColor = System.Drawing.Color.Silver; + this.topmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.fileToolStripMenuItem, + this.editToolStripMenuItem, + this.viewToolStripMenuItem, + this.insertToolStripMenuItem, + this.formatToolStripMenuItem, + this.helpToolStripMenuItem}); + this.topmenu.Location = new System.Drawing.Point(0, 0); + this.topmenu.Name = "topmenu"; + this.topmenu.Size = new System.Drawing.Size(593, 24); + this.topmenu.TabIndex = 0; + this.topmenu.Text = "menuStrip1"; + // + // fileToolStripMenuItem + // + this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.newToolStripMenuItem, + this.toolStripSeparator1, + this.sendToolStripMenuItem, + this.exitToolStripMenuItem}); + this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; + this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); + this.fileToolStripMenuItem.Text = "File"; + // + // newToolStripMenuItem + // + this.newToolStripMenuItem.Name = "newToolStripMenuItem"; + this.newToolStripMenuItem.Size = new System.Drawing.Size(109, 22); + this.newToolStripMenuItem.Text = "New"; + this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(106, 6); + // + // sendToolStripMenuItem + // + this.sendToolStripMenuItem.Name = "sendToolStripMenuItem"; + this.sendToolStripMenuItem.Size = new System.Drawing.Size(109, 22); + this.sendToolStripMenuItem.Text = "Send..."; + this.sendToolStripMenuItem.Click += new System.EventHandler(this.sendToolStripMenuItem_Click); + // + // exitToolStripMenuItem + // + this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; + this.exitToolStripMenuItem.Size = new System.Drawing.Size(109, 22); + this.exitToolStripMenuItem.Text = "Exit"; + this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); + // + // editToolStripMenuItem + // + this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.undoToolStripMenuItem, + this.toolStripSeparator2, + this.cutToolStripMenuItem, + this.copyToolStripMenuItem, + this.pasteToolStripMenuItem, + this.toolStripSeparator3, + this.clearToolStripMenuItem, + this.selectAllToolStripMenuItem}); + this.editToolStripMenuItem.Name = "editToolStripMenuItem"; + this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); + this.editToolStripMenuItem.Text = "Edit"; + // + // undoToolStripMenuItem + // + this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; + this.undoToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.undoToolStripMenuItem.Text = "Undo"; + this.undoToolStripMenuItem.Click += new System.EventHandler(this.undoToolStripMenuItem_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(119, 6); + // + // cutToolStripMenuItem + // + this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; + this.cutToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.cutToolStripMenuItem.Text = "Cut"; + this.cutToolStripMenuItem.Click += new System.EventHandler(this.cutToolStripMenuItem_Click); + // + // copyToolStripMenuItem + // + this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; + this.copyToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.copyToolStripMenuItem.Text = "Copy"; + this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); + // + // pasteToolStripMenuItem + // + this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; + this.pasteToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.pasteToolStripMenuItem.Text = "Paste"; + this.pasteToolStripMenuItem.Click += new System.EventHandler(this.pasteToolStripMenuItem_Click); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(119, 6); + // + // clearToolStripMenuItem + // + this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; + this.clearToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.clearToolStripMenuItem.Text = "Clear"; + this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click); + // + // selectAllToolStripMenuItem + // + this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; + this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(122, 22); + this.selectAllToolStripMenuItem.Text = "Select All"; + this.selectAllToolStripMenuItem.Click += new System.EventHandler(this.selectAllToolStripMenuItem_Click); + // + // viewToolStripMenuItem + // + this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolbarToolStripMenuItem, + this.formatBarToolStripMenuItem, + this.statusBarToolStripMenuItem}); + this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; + this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.viewToolStripMenuItem.Text = "View"; + // + // toolbarToolStripMenuItem + // + this.toolbarToolStripMenuItem.Checked = true; + this.toolbarToolStripMenuItem.CheckOnClick = true; + this.toolbarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.toolbarToolStripMenuItem.Name = "toolbarToolStripMenuItem"; + this.toolbarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.toolbarToolStripMenuItem.Text = "Toolbar"; + this.toolbarToolStripMenuItem.Click += new System.EventHandler(this.toolbarToolStripMenuItem_Click); + // + // formatBarToolStripMenuItem + // + this.formatBarToolStripMenuItem.Checked = true; + this.formatBarToolStripMenuItem.CheckOnClick = true; + this.formatBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.formatBarToolStripMenuItem.Name = "formatBarToolStripMenuItem"; + this.formatBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.formatBarToolStripMenuItem.Text = "Format Bar"; + this.formatBarToolStripMenuItem.Click += new System.EventHandler(this.formatBarToolStripMenuItem_Click); + // + // statusBarToolStripMenuItem + // + this.statusBarToolStripMenuItem.Checked = true; + this.statusBarToolStripMenuItem.CheckOnClick = true; + this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; + this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem"; + this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(132, 22); + this.statusBarToolStripMenuItem.Text = "Status Bar"; + this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.statusBarToolStripMenuItem_Click); + // + // insertToolStripMenuItem + // + this.insertToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.dateTimeToolStripMenuItem}); + this.insertToolStripMenuItem.Name = "insertToolStripMenuItem"; + this.insertToolStripMenuItem.Size = new System.Drawing.Size(48, 20); + this.insertToolStripMenuItem.Text = "Insert"; + // + // dateTimeToolStripMenuItem + // + this.dateTimeToolStripMenuItem.Name = "dateTimeToolStripMenuItem"; + this.dateTimeToolStripMenuItem.Size = new System.Drawing.Size(130, 22); + this.dateTimeToolStripMenuItem.Text = "Date/Time"; + this.dateTimeToolStripMenuItem.Click += new System.EventHandler(this.dateTimeToolStripMenuItem_Click); + // + // formatToolStripMenuItem + // + this.formatToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bulletStyleToolStripMenuItem}); + this.formatToolStripMenuItem.Name = "formatToolStripMenuItem"; + this.formatToolStripMenuItem.Size = new System.Drawing.Size(57, 20); + this.formatToolStripMenuItem.Text = "Format"; + // + // bulletStyleToolStripMenuItem + // + this.bulletStyleToolStripMenuItem.CheckOnClick = true; + this.bulletStyleToolStripMenuItem.Name = "bulletStyleToolStripMenuItem"; + this.bulletStyleToolStripMenuItem.Size = new System.Drawing.Size(131, 22); + this.bulletStyleToolStripMenuItem.Text = "Bullet style"; + this.bulletStyleToolStripMenuItem.Click += new System.EventHandler(this.bulletStyleToolStripMenuItem_Click); + // + // helpToolStripMenuItem + // + this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.helpTopicsToolStripMenuItem, + this.toolStripSeparator4, + this.aboutWordpadToolStripMenuItem}); + this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; + this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); + this.helpToolStripMenuItem.Text = "Help"; + // + // helpTopicsToolStripMenuItem + // + this.helpTopicsToolStripMenuItem.Name = "helpTopicsToolStripMenuItem"; + this.helpTopicsToolStripMenuItem.Size = new System.Drawing.Size(159, 22); + this.helpTopicsToolStripMenuItem.Text = "Help Topics"; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(156, 6); + // + // aboutWordpadToolStripMenuItem + // + this.aboutWordpadToolStripMenuItem.Name = "aboutWordpadToolStripMenuItem"; + this.aboutWordpadToolStripMenuItem.Size = new System.Drawing.Size(159, 22); + this.aboutWordpadToolStripMenuItem.Text = "About Wordpad"; + this.aboutWordpadToolStripMenuItem.Click += new System.EventHandler(this.aboutWordpadToolStripMenuItem_Click); + // + // mainText + // + this.mainText.Dock = System.Windows.Forms.DockStyle.Fill; + this.mainText.Location = new System.Drawing.Point(0, 80); + this.mainText.Name = "mainText"; + this.mainText.Size = new System.Drawing.Size(593, 290); + this.mainText.TabIndex = 1; + this.mainText.Text = ""; + // + // pnlToolbar + // + this.pnlToolbar.BackColor = System.Drawing.Color.Silver; + this.pnlToolbar.Controls.Add(this.btnPaste); + this.pnlToolbar.Controls.Add(this.btnCopy); + this.pnlToolbar.Controls.Add(this.btnCut); + this.pnlToolbar.Controls.Add(this.btnNew); + this.pnlToolbar.Controls.Add(this.pictureBox1); + this.pnlToolbar.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlToolbar.Location = new System.Drawing.Point(0, 24); + this.pnlToolbar.Name = "pnlToolbar"; + this.pnlToolbar.Size = new System.Drawing.Size(593, 28); + this.pnlToolbar.TabIndex = 2; + // + // btnPaste + // + this.btnPaste.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnPaste.Image = global::TimeHACK.Properties.Resources.WinClassicPaste; + this.btnPaste.Location = new System.Drawing.Point(102, 3); + this.btnPaste.Name = "btnPaste"; + this.btnPaste.Size = new System.Drawing.Size(26, 23); + this.btnPaste.TabIndex = 1; + this.btnPaste.UseVisualStyleBackColor = true; + this.btnPaste.Click += new System.EventHandler(this.btnPaste_Click); + // + // btnCopy + // + this.btnCopy.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnCopy.Image = global::TimeHACK.Properties.Resources.WinClassicCopy; + this.btnCopy.Location = new System.Drawing.Point(70, 3); + this.btnCopy.Name = "btnCopy"; + this.btnCopy.Size = new System.Drawing.Size(26, 23); + this.btnCopy.TabIndex = 1; + this.btnCopy.UseVisualStyleBackColor = true; + this.btnCopy.Click += new System.EventHandler(this.btnCopy_Click); + // + // btnCut + // + this.btnCut.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnCut.Image = global::TimeHACK.Properties.Resources.WinClassicCut; + this.btnCut.Location = new System.Drawing.Point(38, 3); + this.btnCut.Name = "btnCut"; + this.btnCut.Size = new System.Drawing.Size(26, 23); + this.btnCut.TabIndex = 1; + this.btnCut.UseVisualStyleBackColor = true; + this.btnCut.Click += new System.EventHandler(this.btnCut_Click); + // + // btnNew + // + this.btnNew.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnNew.Image = global::TimeHACK.Properties.Resources.WinClassicNew; + this.btnNew.Location = new System.Drawing.Point(6, 3); + this.btnNew.Name = "btnNew"; + this.btnNew.Size = new System.Drawing.Size(26, 23); + this.btnNew.TabIndex = 1; + this.btnNew.UseVisualStyleBackColor = true; + this.btnNew.Click += new System.EventHandler(this.btnNew_Click); + // + // pictureBox1 + // + this.pictureBox1.BackColor = System.Drawing.SystemColors.AppWorkspace; + this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(593, 1); + this.pictureBox1.TabIndex = 0; + this.pictureBox1.TabStop = false; + // + // pnlFormatBar + // + this.pnlFormatBar.BackColor = System.Drawing.Color.Silver; + this.pnlFormatBar.Controls.Add(this.comboSize); + this.pnlFormatBar.Controls.Add(this.comboFont); + this.pnlFormatBar.Controls.Add(this.pictureBox2); + this.pnlFormatBar.Controls.Add(this.btnUnderline); + this.pnlFormatBar.Controls.Add(this.btnItalic); + this.pnlFormatBar.Controls.Add(this.btnBold); + this.pnlFormatBar.Dock = System.Windows.Forms.DockStyle.Top; + this.pnlFormatBar.Location = new System.Drawing.Point(0, 52); + this.pnlFormatBar.Name = "pnlFormatBar"; + this.pnlFormatBar.Size = new System.Drawing.Size(593, 28); + this.pnlFormatBar.TabIndex = 3; + // + // comboSize + // + this.comboSize.FormattingEnabled = true; + this.comboSize.Items.AddRange(new object[] { + "8", + "9", + "10", + "11", + "12", + "13", + "14", + "16", + "18", + "20", + "22", + "24", + "26", + "28", + "36", + "48", + "72"}); + this.comboSize.Location = new System.Drawing.Point(157, 3); + this.comboSize.Name = "comboSize"; + this.comboSize.Size = new System.Drawing.Size(50, 21); + this.comboSize.TabIndex = 1; + this.comboSize.Text = "12"; + this.comboSize.SelectedIndexChanged += new System.EventHandler(this.comboSize_SelectedIndexChanged); + // + // comboFont + // + this.comboFont.FormattingEnabled = true; + this.comboFont.Location = new System.Drawing.Point(6, 3); + this.comboFont.Name = "comboFont"; + this.comboFont.Size = new System.Drawing.Size(145, 21); + this.comboFont.TabIndex = 1; + this.comboFont.Text = "Arial"; + this.comboFont.SelectedIndexChanged += new System.EventHandler(this.comboFont_SelectedIndexChanged); + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.SystemColors.AppWorkspace; + this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.pictureBox2.Dock = System.Windows.Forms.DockStyle.Top; + this.pictureBox2.Location = new System.Drawing.Point(0, 0); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(593, 1); + this.pictureBox2.TabIndex = 0; + this.pictureBox2.TabStop = false; + // + // btnUnderline + // + this.btnUnderline.BackColor = System.Drawing.Color.DimGray; + this.btnUnderline.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnUnderline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnUnderline.Location = new System.Drawing.Point(277, 2); + this.btnUnderline.Name = "btnUnderline"; + this.btnUnderline.Size = new System.Drawing.Size(26, 23); + this.btnUnderline.TabIndex = 1; + this.btnUnderline.Text = "U"; + this.btnUnderline.UseVisualStyleBackColor = false; + this.btnUnderline.Click += new System.EventHandler(this.btnUnderline_Click); + this.btnUnderline.MouseEnter += new System.EventHandler(this.btnUnderline_MouseEnter); + this.btnUnderline.MouseLeave += new System.EventHandler(this.btnUnderline_MouseLeave); + // + // btnItalic + // + this.btnItalic.BackColor = System.Drawing.Color.DimGray; + this.btnItalic.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnItalic.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnItalic.Location = new System.Drawing.Point(245, 2); + this.btnItalic.Name = "btnItalic"; + this.btnItalic.Size = new System.Drawing.Size(26, 23); + this.btnItalic.TabIndex = 1; + this.btnItalic.Text = "I"; + this.btnItalic.UseVisualStyleBackColor = false; + this.btnItalic.Click += new System.EventHandler(this.btnItalic_Click); + this.btnItalic.MouseEnter += new System.EventHandler(this.btnItalic_MouseEnter); + this.btnItalic.MouseLeave += new System.EventHandler(this.btnItalic_MouseLeave); + // + // btnBold + // + this.btnBold.BackColor = System.Drawing.Color.DimGray; + this.btnBold.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver; + this.btnBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnBold.Location = new System.Drawing.Point(213, 2); + this.btnBold.Name = "btnBold"; + this.btnBold.Size = new System.Drawing.Size(26, 23); + this.btnBold.TabIndex = 1; + this.btnBold.Text = "B"; + this.btnBold.UseVisualStyleBackColor = false; + this.btnBold.Click += new System.EventHandler(this.btnBold_Click); + this.btnBold.MouseEnter += new System.EventHandler(this.btnBold_MouseEnter); + this.btnBold.MouseLeave += new System.EventHandler(this.btnBold_MouseLeave); + // + // statusBar + // + this.statusBar.BackColor = System.Drawing.Color.Silver; + this.statusBar.Controls.Add(this.lblStatus); + this.statusBar.Dock = System.Windows.Forms.DockStyle.Bottom; + this.statusBar.Location = new System.Drawing.Point(0, 353); + this.statusBar.Name = "statusBar"; + this.statusBar.Size = new System.Drawing.Size(593, 17); + this.statusBar.TabIndex = 4; + // + // lblStatus + // + this.lblStatus.AutoSize = true; + this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblStatus.Location = new System.Drawing.Point(3, 1); + this.lblStatus.Name = "lblStatus"; + this.lblStatus.Size = new System.Drawing.Size(213, 16); + this.lblStatus.TabIndex = 0; + this.lblStatus.Text = "For Help, go to Help -> Help topics"; + // + // WinClassicWordPad + // + this.BackColor = System.Drawing.SystemColors.Control; + this.Controls.Add(this.statusBar); + this.Controls.Add(this.mainText); + this.Controls.Add(this.pnlFormatBar); + this.Controls.Add(this.pnlToolbar); + this.Controls.Add(this.topmenu); + this.Name = "WinClassicWordPad"; + this.Size = new System.Drawing.Size(593, 370); + this.topmenu.ResumeLayout(false); + this.topmenu.PerformLayout(); + this.pnlToolbar.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.pnlFormatBar.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); + this.statusBar.ResumeLayout(false); + this.statusBar.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.ToolStripMenuItem helloToolStripMenuItem; + private System.Windows.Forms.MenuStrip topmenu; + private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem editToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem insertToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem formatToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripMenuItem sendToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; + private System.Windows.Forms.RichTextBox mainText; + private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; + private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; + private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem toolbarToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem formatBarToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem statusBarToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem dateTimeToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem bulletStyleToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem helpTopicsToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + private System.Windows.Forms.ToolStripMenuItem aboutWordpadToolStripMenuItem; + private System.Windows.Forms.Panel pnlToolbar; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Panel pnlFormatBar; + private System.Windows.Forms.PictureBox pictureBox2; + private System.Windows.Forms.Panel statusBar; + private System.Windows.Forms.Label lblStatus; + private System.Windows.Forms.Button btnNew; + private System.Windows.Forms.Button btnCut; + private System.Windows.Forms.Button btnPaste; + private System.Windows.Forms.Button btnCopy; + private System.Windows.Forms.ComboBox comboFont; + private System.Windows.Forms.ComboBox comboSize; + private System.Windows.Forms.Button btnUnderline; + private System.Windows.Forms.Button btnItalic; + private System.Windows.Forms.Button btnBold; + } +} diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs new file mode 100644 index 0000000..4d2fbf1 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.cs @@ -0,0 +1,318 @@ +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 System.Windows.Forms; +using System.Drawing.Text; +using TimeHACK.Engine; + +namespace TimeHACK.OS.Win95.Win95Apps +{ + public partial class WinClassicWordPad : UserControl + { + WindowManager wm = new WindowManager(); + + bool btnBoldSelected = true; + bool btnItalicSelected = true; + bool btnUnderlineSelected = true; + bool doBold; + bool doItalic; + bool doUnderline; + public WinClassicWordPad() + { + InitializeComponent(); + foreach (ToolStripMenuItem item in topmenu.Items) + { + item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); + item.BackColor = Color.Silver; + item.BackgroundImage = Properties.Resources.sliversilver; + item.BackgroundImageLayout = ImageLayout.Center; + item.DisplayStyle = ToolStripItemDisplayStyle.Text; + } + + // Time to prepare to load all the fonts up for the combo boxes + + foreach (FontFamily font in System.Drawing.FontFamily.Families) + { + // Added to the ComboBox here + + comboFont.Items.Add(font.Name); + } + } + + #region Format_Buttons + + private void btnBold_Click(object sender, EventArgs e) + { + if (btnBoldSelected == false) + { + btnBold.BackgroundImage = null; + btnBoldSelected = true; + + } else { + btnBold.BackgroundImage = Properties.Resources.sliversilver; + btnBoldSelected = false; + } + doBold = btnBoldSelected; + DoFontStyles(); + } + + private void btnItalic_Click(object sender, EventArgs e) + { + if (btnItalicSelected == false) + { + btnItalic.BackgroundImage = Properties.Resources.sliversilver; + btnItalicSelected = true; + } + else + { + btnItalic.BackgroundImage = null; + btnItalicSelected = false; + } + doItalic = btnItalicSelected; + DoFontStyles(); + } + + private void btnUnderline_Click(object sender, EventArgs e) + { + if (btnUnderlineSelected == false) + { + btnUnderline.BackgroundImage = Properties.Resources.sliversilver; + btnUnderlineSelected = true; + } + else + { + btnUnderline.BackgroundImage = null; + btnUnderlineSelected = false; + } + doUnderline = btnUnderlineSelected; + DoFontStyles(); + } + + #endregion + + #region Designer-Stuff + private void dateTimeToolStripMenuItem_Click(object sender, EventArgs e) + { + InsertDateTime(); + } + private void toolbarToolStripMenuItem_Click(object sender, EventArgs e) + { + pnlToolbar.Visible = toolbarToolStripMenuItem.Checked; + } + + private void formatBarToolStripMenuItem_Click(object sender, EventArgs e) + { + pnlFormatBar.Visible = formatBarToolStripMenuItem.Checked; + } + + private void statusBarToolStripMenuItem_Click(object sender, EventArgs e) + { + statusBar.Visible = statusBarToolStripMenuItem.Checked; + } + + private void exitToolStripMenuItem_Click(object sender, EventArgs e) + { + ((Form)this.TopLevelControl).Close(); + } + + private void aboutWordpadToolStripMenuItem_Click(object sender, EventArgs e) + { + wm.StartAboutBox95("Wordpad", "Microsoft Wordpad", Properties.Resources.Win95IconWordpad); + } + + private void newToolStripMenuItem_Click(object sender, EventArgs e) + { + NewFile(); + } + + private void btnNew_Click(object sender, EventArgs e) + { + NewFile(); + } + + private void sendToolStripMenuItem_Click(object sender, EventArgs e) + { + wm.StartInfobox95("Wordpad", "An error occured opening send option.", null); + } + + void Cut() + { + if (mainText.SelectedText.Length >= 0) { + mainText.Cut(); + } + } + + void Copy() + { + if (mainText.SelectedText.Length >= 0) + { + mainText.Copy(); + } + } + + void Paste() + { + mainText.Paste(); + } + + void Clear() + { + mainText.Text = mainText.Text.Remove(mainText.SelectionStart, mainText.SelectedText.Length); + } + + void SelectAll() + { + mainText.SelectAll(); + } + + private void undoToolStripMenuItem_Click(object sender, EventArgs e) + { + Undo(); + } + + private void cutToolStripMenuItem_Click(object sender, EventArgs e) + { + Cut(); + } + + private void copyToolStripMenuItem_Click(object sender, EventArgs e) + { + Copy(); + } + + private void pasteToolStripMenuItem_Click(object sender, EventArgs e) + { + Paste(); + } + + private void selectAllToolStripMenuItem_Click(object sender, EventArgs e) + { + SelectAll(); + } + + private void clearToolStripMenuItem_Click(object sender, EventArgs e) + { + Clear(); + } + + private void btnCut_Click(object sender, EventArgs e) + { + Cut(); + } + + private void btnCopy_Click(object sender, EventArgs e) + { + Copy(); + } + + private void btnPaste_Click(object sender, EventArgs e) + { + Paste(); + } + + private void bulletStyleToolStripMenuItem_Click(object sender, EventArgs e) + { + mainText.SelectionBullet = bulletStyleToolStripMenuItem.Checked; + } + + private void comboFont_SelectedIndexChanged(object sender, EventArgs e) + { + SetSelectedTextFont(comboFont.Text); + } + + private void comboSize_SelectedIndexChanged(object sender, EventArgs e) + { + SetSelectedTextSize(comboSize.Text); + } + private void btnBold_MouseEnter(object sender, EventArgs e) + { + lblStatus.Text = "Makes the selected text Bold. (toggle)"; + } + + private void btnBold_MouseLeave(object sender, EventArgs e) + { + lblStatus.Text = "For Help, goto Help -> Help Topics"; + } + + private void btnItalic_MouseEnter(object sender, EventArgs e) + { + lblStatus.Text = "Makes the selected text Italic. (toggle)"; + } + + private void btnItalic_MouseLeave(object sender, EventArgs e) + { + lblStatus.Text = "For Help, goto Help -> Help Topics"; + } + + private void btnUnderline_MouseEnter(object sender, EventArgs e) + { + lblStatus.Text = "Makes the selected text Underline. (toggle)"; + } + + private void btnUnderline_MouseLeave(object sender, EventArgs e) + { + lblStatus.Text = "For Help, goto Help -> Help Topics"; + } + #endregion + + void NewFile() + { + mainText.Text = ""; + } + + void Undo() + { + mainText.Undo(); + } + + void InsertDateTime() + { + string DateTime = System.DateTime.Now.ToString("HH:mm tt dd/MM/yyyy"); + mainText.AppendText(DateTime); + } + + // Things for Cut/Copy/Paste have been placed in the "Designer-Stuff" region! + + void SetSelectedTextFont(String font) + { + // The next two lines convert a String to a Font + var cvt = new FontConverter(); + Font f = cvt.ConvertFromString(font) as Font; + + mainText.SelectionFont = f; + } + + void SetSelectedTextSize(String size) + { + // The next few lines will ATTEMPT to convert a String to an Integer + int SizeInt = Convert.ToInt32(size); + + mainText.SelectionFont = new Font(mainText.SelectionFont.FontFamily, SizeInt, mainText.SelectionFont.Style); + } + + void DoFontStyles() + { + FontStyle Bold = FontStyle.Regular; + FontStyle Italic = FontStyle.Regular; + FontStyle Underline = FontStyle.Regular; + if (doBold == true) + { + Bold = FontStyle.Bold; + } + if (doItalic == true) + { + Italic = FontStyle.Italic; + } + if (doUnderline == true) + { + Underline = FontStyle.Underline; + } + mainText.SelectionFont = new Font(mainText.SelectionFont.FontFamily, mainText.SelectionFont.Size, Bold | Italic | Underline); + } + } +}
\ No newline at end of file diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx new file mode 100644 index 0000000..6dff4e6 --- /dev/null +++ b/TimeHACK.Main/OS/Win95/Win95Apps/WinClassicWordPad.resx @@ -0,0 +1,123 @@ +<?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="topmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> +</root>
\ No newline at end of file |
