diff options
Diffstat (limited to 'TimeHACK.Main/GlobalPrograms')
30 files changed, 0 insertions, 6322 deletions
diff --git a/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.Designer.cs b/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.Designer.cs deleted file mode 100644 index 4319d9e..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.Designer.cs +++ /dev/null @@ -1,227 +0,0 @@ -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/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.cs b/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.cs deleted file mode 100644 index fe75e83..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.cs +++ /dev/null @@ -1,71 +0,0 @@ -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/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.resx b/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.resx deleted file mode 100644 index 1af7de1..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewContact.resx +++ /dev/null @@ -1,120 +0,0 @@ -<?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/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.Designer.cs b/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.Designer.cs deleted file mode 100644 index c7efcd0..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.Designer.cs +++ /dev/null @@ -1,81 +0,0 @@ -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/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.cs b/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.cs deleted file mode 100644 index 705fd0d..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.cs +++ /dev/null @@ -1,27 +0,0 @@ -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/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.resx b/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.resx deleted file mode 100644 index 1af7de1..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/FRMWinClassicAddressBookNewFolder.resx +++ /dev/null @@ -1,120 +0,0 @@ -<?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/GlobalPrograms/AddressBook/WinClassicAddressBook.Designer.cs b/TimeHACK.Main/GlobalPrograms/AddressBook/WinClassicAddressBook.Designer.cs deleted file mode 100644 index 41107e8..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/WinClassicAddressBook.Designer.cs +++ /dev/null @@ -1,398 +0,0 @@ -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/GlobalPrograms/AddressBook/WinClassicAddressBook.cs b/TimeHACK.Main/GlobalPrograms/AddressBook/WinClassicAddressBook.cs deleted file mode 100644 index 24404bf..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/WinClassicAddressBook.cs +++ /dev/null @@ -1,293 +0,0 @@ -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/GlobalPrograms/AddressBook/WinClassicAddressBook.resx b/TimeHACK.Main/GlobalPrograms/AddressBook/WinClassicAddressBook.resx deleted file mode 100644 index e1c367e..0000000 --- a/TimeHACK.Main/GlobalPrograms/AddressBook/WinClassicAddressBook.resx +++ /dev/null @@ -1,126 +0,0 @@ -<?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/GlobalPrograms/TestApp.Designer.cs b/TimeHACK.Main/GlobalPrograms/TestApp.Designer.cs deleted file mode 100644 index 2e9742b..0000000 --- a/TimeHACK.Main/GlobalPrograms/TestApp.Designer.cs +++ /dev/null @@ -1,61 +0,0 @@ -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/GlobalPrograms/TestApp.cs b/TimeHACK.Main/GlobalPrograms/TestApp.cs deleted file mode 100644 index 0c2e6a8..0000000 --- a/TimeHACK.Main/GlobalPrograms/TestApp.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Windows.Forms; - -namespace TimeHACK.WinClassicForms -{ - public partial class TestApp : UserControl - { - public TestApp() - { - InitializeComponent(); - } - } -} - diff --git a/TimeHACK.Main/GlobalPrograms/TestApp.resx b/TimeHACK.Main/GlobalPrograms/TestApp.resx deleted file mode 100644 index 1af7de1..0000000 --- a/TimeHACK.Main/GlobalPrograms/TestApp.resx +++ /dev/null @@ -1,120 +0,0 @@ -<?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/GlobalPrograms/WinClassicFTPClient.Designer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicFTPClient.Designer.cs deleted file mode 100644 index 45203e1..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicFTPClient.Designer.cs +++ /dev/null @@ -1,276 +0,0 @@ -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/GlobalPrograms/WinClassicFTPClient.cs b/TimeHACK.Main/GlobalPrograms/WinClassicFTPClient.cs deleted file mode 100644 index ab7e61f..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicFTPClient.cs +++ /dev/null @@ -1,66 +0,0 @@ -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/GlobalPrograms/WinClassicFTPClient.resx b/TimeHACK.Main/GlobalPrograms/WinClassicFTPClient.resx deleted file mode 100644 index 7b49ca1..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicFTPClient.resx +++ /dev/null @@ -1,198 +0,0 @@ -<?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/GlobalPrograms/WinClassicHWCV.Designer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicHWCV.Designer.cs deleted file mode 100644 index 0006026..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicHWCV.Designer.cs +++ /dev/null @@ -1,193 +0,0 @@ -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/GlobalPrograms/WinClassicHWCV.cs b/TimeHACK.Main/GlobalPrograms/WinClassicHWCV.cs deleted file mode 100644 index 6f9bb07..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicHWCV.cs +++ /dev/null @@ -1,35 +0,0 @@ -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/GlobalPrograms/WinClassicHWCV.resx b/TimeHACK.Main/GlobalPrograms/WinClassicHWCV.resx deleted file mode 100644 index fb1f692..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicHWCV.resx +++ /dev/null @@ -1,128 +0,0 @@ -<?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/GlobalPrograms/WinClassicNotepad.Designer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.Designer.cs deleted file mode 100644 index c2b5db2..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.Designer.cs +++ /dev/null @@ -1,376 +0,0 @@ -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/GlobalPrograms/WinClassicNotepad.cs b/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs deleted file mode 100644 index f1920ed..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.cs +++ /dev/null @@ -1,125 +0,0 @@ -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/GlobalPrograms/WinClassicNotepad.resx b/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.resx deleted file mode 100644 index d5494e3..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicNotepad.resx +++ /dev/null @@ -1,123 +0,0 @@ -<?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/GlobalPrograms/WinClassicTerminal.Designer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicTerminal.Designer.cs deleted file mode 100644 index b505208..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicTerminal.Designer.cs +++ /dev/null @@ -1,210 +0,0 @@ -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/GlobalPrograms/WinClassicTerminal.cs b/TimeHACK.Main/GlobalPrograms/WinClassicTerminal.cs deleted file mode 100644 index 99f7aed..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicTerminal.cs +++ /dev/null @@ -1,132 +0,0 @@ -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 System.Drawing.Font(TitleScreen.pfc.Families[1], 10F, System.Drawing.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/GlobalPrograms/WinClassicTerminal.resx b/TimeHACK.Main/GlobalPrograms/WinClassicTerminal.resx deleted file mode 100644 index 1af7de1..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicTerminal.resx +++ /dev/null @@ -1,120 +0,0 @@ -<?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/GlobalPrograms/WinClassicWindowsExplorer.Designer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.Designer.cs deleted file mode 100644 index 3d5db60..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.Designer.cs +++ /dev/null @@ -1,748 +0,0 @@ -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/GlobalPrograms/WinClassicWindowsExplorer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs deleted file mode 100644 index 89a6b6f..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.cs +++ /dev/null @@ -1,670 +0,0 @@ -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/GlobalPrograms/WinClassicWindowsExplorer.resx b/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.resx deleted file mode 100644 index 77c4304..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicWindowsExplorer.resx +++ /dev/null @@ -1,245 +0,0 @@ -<?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/GlobalPrograms/WinClassicWordPad.Designer.cs b/TimeHACK.Main/GlobalPrograms/WinClassicWordPad.Designer.cs deleted file mode 100644 index 6f4f161..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicWordPad.Designer.cs +++ /dev/null @@ -1,579 +0,0 @@ -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/GlobalPrograms/WinClassicWordPad.cs b/TimeHACK.Main/GlobalPrograms/WinClassicWordPad.cs deleted file mode 100644 index 4d2fbf1..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicWordPad.cs +++ /dev/null @@ -1,318 +0,0 @@ -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/GlobalPrograms/WinClassicWordPad.resx b/TimeHACK.Main/GlobalPrograms/WinClassicWordPad.resx deleted file mode 100644 index 6dff4e6..0000000 --- a/TimeHACK.Main/GlobalPrograms/WinClassicWordPad.resx +++ /dev/null @@ -1,123 +0,0 @@ -<?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 |
