added notepad

This commit is contained in:
lempamo 2017-04-09 14:05:04 -04:00
parent a428bf2117
commit fbdca852b1
34 changed files with 564 additions and 20 deletions

Binary file not shown.

View file

@ -10,7 +10,7 @@ public class WindowManager
public static System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection(); public static System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection();
public WinClassic startWin95(UserControl content, String title, PictureBox icon, Boolean MaxButton, Boolean MinButton) public WinClassic startWin95(UserControl content, String title, Image icon, Boolean MaxButton, Boolean MinButton)
{ {
// Setup Window // Setup Window
WinClassic app = new WinClassic(); WinClassic app = new WinClassic();
@ -29,12 +29,8 @@ public WinClassic startWin95(UserControl content, String title, PictureBox icon,
content.Dock = DockStyle.Fill; content.Dock = DockStyle.Fill;
// Check if icon is null // Check if icon is null
if (icon == null) if (icon == null) app.programIcon.Image = Engine.Properties.Resources.nullIcon;
{ else app.programIcon.Image = icon;
icon = app.programIcon;
icon.Image = Engine.Properties.Resources.nullIcon;
}
app.programIcon.Image = icon.Image;
// Check if Max button is enabled and set proper X for Min button // Check if Max button is enabled and set proper X for Min button
if (MaxButton == false) if (MaxButton == false)

View file

@ -142,7 +142,10 @@ private void desktop_mousedown(object sender, MouseEventArgs e)
private void NotePadToolStripMenuItem_Click(object sender, EventArgs e) private void NotePadToolStripMenuItem_Click(object sender, EventArgs e)
{ {
Win95Notepad npad = new Win95Notepad();
Engine.Template.WinClassic app = wm.startWin95(npad, "Notepad", Properties.Resources.Win95IconNotepad, true, true);
app.BringToFront();
startmenu.Hide();
} }
private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e) private void windowManagerTestToolStripMenuItem_Click(object sender, EventArgs e)
{ {

View file

@ -0,0 +1,365 @@
namespace TimeHACK.OS.Win95.Win95Apps
{
partial class Win95Notepad
{
/// <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.textBox1 = 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(401, 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(40, 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...";
//
// 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";
//
// 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(43, 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(138, 22);
this.undoToolStripMenuItem.Text = "Undo";
//
// 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(138, 22);
this.cutToolStripMenuItem.Text = "Cut";
//
// 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(138, 22);
this.copyToolStripMenuItem.Text = "Copy";
//
// 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(138, 22);
this.pasteToolStripMenuItem.Text = "Paste";
//
// 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(138, 22);
this.deleteToolStripMenuItem.Text = "Delete";
//
// 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(138, 22);
this.selectAllToolStripMenuItem.Text = "Select All";
//
// 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(138, 22);
this.timeDateToolStripMenuItem.Text = "Time/Date";
//
// 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.Name = "wordWrapToolStripMenuItem";
this.wordWrapToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
this.wordWrapToolStripMenuItem.Text = "Word Wrap";
//
// 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(61, 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(132, 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(132, 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(46, 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(167, 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(167, 22);
this.aboutNotepadToolStripMenuItem.Text = "About Notepad";
//
// textBox1
//
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.textBox1.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.textBox1.Location = new System.Drawing.Point(0, 27);
this.textBox1.MaxLength = 131072;
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBox1.Size = new System.Drawing.Size(401, 207);
this.textBox1.TabIndex = 1;
this.textBox1.WordWrap = false;
//
// Win95Notepad
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.textBox1);
this.Controls.Add(this.menuStrip1);
this.Name = "Win95Notepad";
this.Size = new System.Drawing.Size(401, 234);
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 textBox1;
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;
}
}

View file

@ -0,0 +1,33 @@
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 Win95Notepad : UserControl
{
public Win95Notepad()
{
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.None;
item.DisplayStyle = ToolStripItemDisplayStyle.Text;
}
}
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
{
this.ParentForm.Close();
}
}
}

View file

@ -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>

View file

@ -293,6 +293,16 @@ internal static System.Drawing.Bitmap Win95Error {
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Win95IconNotepad {
get {
object obj = ResourceManager.GetObject("Win95IconNotepad", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap. /// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary> /// </summary>

View file

@ -282,4 +282,7 @@
bDRWA4jVDKJHXUALF5CD4QZAAUyAVDzggIEBAAd55hAtsdnFAAAAAElFTkSuQmCC bDRWA4jVDKJHXUALF5CD4QZAAUyAVDzggIEBAAd55hAtsdnFAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="Win95IconNotepad" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\WinClassic\Win95IconNotepad.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

View file

@ -137,6 +137,12 @@
<Compile Include="OS\Win95\Win95Apps\WebChat1998.Designer.cs"> <Compile Include="OS\Win95\Win95Apps\WebChat1998.Designer.cs">
<DependentUpon>WebChat1998.cs</DependentUpon> <DependentUpon>WebChat1998.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="OS\Win95\Win95Apps\Win95Notepad.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="OS\Win95\Win95Apps\Win95Notepad.Designer.cs">
<DependentUpon>Win95Notepad.cs</DependentUpon>
</Compile>
<Compile Include="OS\Win95\Win95Apps\WinClassicDownloader.cs"> <Compile Include="OS\Win95\Win95Apps\WinClassicDownloader.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
@ -177,6 +183,9 @@
<EmbeddedResource Include="OS\Win95\Win95Apps\WebChat1998.resx"> <EmbeddedResource Include="OS\Win95\Win95Apps\WebChat1998.resx">
<DependentUpon>WebChat1998.cs</DependentUpon> <DependentUpon>WebChat1998.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="OS\Win95\Win95Apps\Win95Notepad.resx">
<DependentUpon>Win95Notepad.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicDownloader.resx"> <EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicDownloader.resx">
<DependentUpon>WinClassicDownloader.cs</DependentUpon> <DependentUpon>WinClassicDownloader.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@ -242,6 +251,7 @@
<Content Include="Resources\WinClassic\TrueColor.png" /> <Content Include="Resources\WinClassic\TrueColor.png" />
<None Include="Resources\WinClassic\Win95Info.png" /> <None Include="Resources\WinClassic\Win95Info.png" />
<None Include="Resources\WinClassic\Win95Error.png" /> <None Include="Resources\WinClassic\Win95Error.png" />
<None Include="Resources\WinClassic\Win95IconNotepad.png" />
<Content Include="Resources\WinClassic\Win95SideBar.png" /> <Content Include="Resources\WinClassic\Win95SideBar.png" />
<Content Include="Resources\WinClassic\Win95Start.wav" /> <Content Include="Resources\WinClassic\Win95Start.wav" />
<None Include="Resources\WinClassic\Win95Warning.png" /> <None Include="Resources\WinClassic\Win95Warning.png" />

View file

@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NPPQU3eZPg9VYsMI8zzYwjTVZyhPzOu7JQcT9v+dVPE=</dsig:DigestValue> <dsig:DigestValue>NhY7hlNRWbXA14CStzVBJpui0xlz8o8WhqXbzAmb+4g=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>

View file

@ -56,14 +56,14 @@
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
<dependency> <dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6085120"> <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6091776">
<assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>sg+cAmnQCtjTRcJPoSgIt5uLHDtxRN2+4qv+uqe9qnM=</dsig:DigestValue> <dsig:DigestValue>EyRihcO7ERxrb5zK9R4TrMzFZO0ANMQwVU2IUzdFQ88=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
@ -75,7 +75,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>JAnAd0u95lqauWOELUbGcbTzY3B2RFHUd67yDt9U4Co=</dsig:DigestValue> <dsig:DigestValue>EwtIXko8yURDgZAqhw+gu7HyFhq672T3kd6QV7jECt8=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>

View file

@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NPPQU3eZPg9VYsMI8zzYwjTVZyhPzOu7JQcT9v+dVPE=</dsig:DigestValue> <dsig:DigestValue>NhY7hlNRWbXA14CStzVBJpui0xlz8o8WhqXbzAmb+4g=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>

View file

@ -56,14 +56,14 @@
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
<dependency> <dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6085120"> <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6091776">
<assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>sg+cAmnQCtjTRcJPoSgIt5uLHDtxRN2+4qv+uqe9qnM=</dsig:DigestValue> <dsig:DigestValue>EyRihcO7ERxrb5zK9R4TrMzFZO0ANMQwVU2IUzdFQ88=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
@ -75,7 +75,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>JAnAd0u95lqauWOELUbGcbTzY3B2RFHUd67yDt9U4Co=</dsig:DigestValue> <dsig:DigestValue>EwtIXko8yURDgZAqhw+gu7HyFhq672T3kd6QV7jECt8=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>

View file

@ -37,3 +37,4 @@ C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Windows95.resources C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Windows95.resources
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.WinClassicIE4.resources C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.WinClassicIE4.resources
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.WinClassicDownloader.resources C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.WinClassicDownloader.resources
C:\Users\Liam\Documents\GitHub\TimeHACK-fork\TimeHACK.Main\obj\Release\TimeHACK.OS.Win95.Win95Apps.Win95Notepad.resources

View file

@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>NPPQU3eZPg9VYsMI8zzYwjTVZyhPzOu7JQcT9v+dVPE=</dsig:DigestValue> <dsig:DigestValue>NhY7hlNRWbXA14CStzVBJpui0xlz8o8WhqXbzAmb+4g=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>

View file

@ -56,14 +56,14 @@
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
<dependency> <dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6085120"> <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="TimeHACK.exe" size="6091776">
<assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> <assemblyIdentity name="TimeHACK" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash> <hash>
<dsig:Transforms> <dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>sg+cAmnQCtjTRcJPoSgIt5uLHDtxRN2+4qv+uqe9qnM=</dsig:DigestValue> <dsig:DigestValue>EyRihcO7ERxrb5zK9R4TrMzFZO0ANMQwVU2IUzdFQ88=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>
@ -75,7 +75,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms> </dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>JAnAd0u95lqauWOELUbGcbTzY3B2RFHUd67yDt9U4Co=</dsig:DigestValue> <dsig:DigestValue>EwtIXko8yURDgZAqhw+gu7HyFhq672T3kd6QV7jECt8=</dsig:DigestValue>
</hash> </hash>
</dependentAssembly> </dependentAssembly>
</dependency> </dependency>