mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 17:12:56 -05:00
Merge branch 'master' of https://github.com/jtsshieh/TimeHACK
This commit is contained in:
commit
d51d7d3a8e
21 changed files with 526 additions and 4536 deletions
|
@ -15,8 +15,7 @@ public static string ReadDataFile(string reqDirectory, bool returnYesIfProtected
|
|||
{
|
||||
string Val = "";
|
||||
string directoryFileInfo = File.ReadAllText(Path.Combine(reqDirectory, "_data.info"));
|
||||
FileSystemFolderInfo toRead = new FileSystemFolderInfo();
|
||||
toRead = JsonConvert.DeserializeObject<FileSystemFolderInfo>(directoryFileInfo);
|
||||
FileSystemFolderInfo toRead = JsonConvert.DeserializeObject<FileSystemFolderInfo>(directoryFileInfo);
|
||||
|
||||
if (returnYesIfProtected == true)
|
||||
{
|
||||
|
|
|
@ -89,7 +89,7 @@ public static string ProfileSettingsDirectory
|
|||
{
|
||||
get
|
||||
{
|
||||
return Path.Combine(ProfileMyComputerDirectory, "Settings");
|
||||
return Path.Combine(ProfileMyComputerDirectory, "Documents and Settings");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ public static string ProfileDocumentsDirectory
|
|||
{
|
||||
get
|
||||
{
|
||||
return Path.Combine(ProfileMyComputerDirectory, "Doc");
|
||||
return Path.Combine(ProfileMyComputerDirectory, "My Documents");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -105,7 +105,7 @@ public static string ProfileProgramsDirectory
|
|||
{
|
||||
get
|
||||
{
|
||||
return Path.Combine(ProfileMyComputerDirectory, "Prog");
|
||||
return Path.Combine(ProfileMyComputerDirectory, "Program Files");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ public static string ProfileWindowsDirectory
|
|||
{
|
||||
get
|
||||
{
|
||||
return Path.Combine(ProfileMyComputerDirectory, "Win");
|
||||
return Path.Combine(ProfileMyComputerDirectory, "Windows");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -160,13 +160,13 @@ public static void CheckFiles()
|
|||
|
||||
SaveDirectoryInfo(ProfileDirectory, "folders", false, "My Computer", false);
|
||||
SaveDirectoryInfo(ProfileFileSystemDirectory, "CDrive", false, "C:", true);
|
||||
if (CurrentSave.CurrentOS == "95" || CurrentSave.CurrentOS == "98") SaveDirectoryInfo(ProfileMyComputerDirectory, "Doc", false, "My Documents", true);
|
||||
if (CurrentSave.CurrentOS == "2000" || CurrentSave.CurrentOS == "ME") SaveDirectoryInfo(ProfileMyComputerDirectory, "Settings", false, "Documents and Settings", true);
|
||||
SaveDirectoryInfo(ProfileMyComputerDirectory, "Prog", true, "Program Files", true);
|
||||
if (CurrentSave.CurrentOS == "95" || CurrentSave.CurrentOS == "98") SaveDirectoryInfo(ProfileMyComputerDirectory, "My Documents", false, "My Documents", true);
|
||||
if (CurrentSave.CurrentOS == "2000" || CurrentSave.CurrentOS == "ME") SaveDirectoryInfo(ProfileMyComputerDirectory, "Documents and Settings", false, "Documents and Settings", true);
|
||||
SaveDirectoryInfo(ProfileMyComputerDirectory, "Program Files", true, "Program Files", true);
|
||||
SaveDirectoryInfo(ProfileProgramsDirectory, "Accessories", false, "Accessories", true);
|
||||
SaveDirectoryInfo(ProfileProgramsDirectory, "Internet Explorer", true, "Internet Explorer", true);
|
||||
SaveDirectoryInfo(ProfileProgramsDirectory, "The Microsoft Network", true, "The Microsoft Network", true);
|
||||
SaveDirectoryInfo(ProfileMyComputerDirectory, "Win", true, "Windows", true);
|
||||
SaveDirectoryInfo(ProfileMyComputerDirectory, "Windows", true, "Windows", true);
|
||||
|
||||
CreateWindowsFile(Path.Combine(ProfileProgramsDirectory, "Accessories"), "wordpad.exe", "wordpad");
|
||||
CreateWindowsFile(Path.Combine(ProfileProgramsDirectory, "Internet Explorer"), "ie20.exe", "ie");
|
||||
|
@ -186,9 +186,14 @@ public static void CreateWindowsDirectory()
|
|||
SaveDirectoryInfo(ProfileWindowsDirectory, "Temp", true, "Temp", true);
|
||||
SaveDirectoryInfo(ProfileWindowsDirectory, "Desktop", true, "Desktop", true);
|
||||
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "calc.exe", "calc", 10, 59392);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "explorer.exe", "explorer", 10, 204288);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "notepad.exe", "notepad", 12, 34034);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "c", "", 8, 515);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "calc.exe", "calc", 13, 59392);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "emm386.exe", "emm386", 10, 125495);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "explorer.exe", "explorer", 0, 204288);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "notepad.exe", "notepad", 14, 34034);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "regedit.exe", "regedit", 15, 120320);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "win.com", "", 10, 22679);
|
||||
CreateWindowsFile(ProfileWindowsDirectory, "write.exe", "wordpad", 16, 5120);
|
||||
}
|
||||
|
||||
public static void CreateWindowsFile(string filepath, string filename, string contents, int fileicon = 8, int bytes = 512)
|
||||
|
@ -205,6 +210,8 @@ public static void CreateWindowsFile(string filepath, string filename, string co
|
|||
public static void UpdateDirectoryInfo(string path, THFileInfo newfile)
|
||||
{
|
||||
newfile.DOSName = newfile.Name.ToUpper().Replace("*", "").Replace("+", "").Replace(":", "").Replace(";", "").Replace(" ", "");
|
||||
if (newfile.DOSName.Contains("."))
|
||||
{
|
||||
string[] dos = newfile.DOSName.Split('.');
|
||||
|
||||
if (dos.Count() > 2)
|
||||
|
@ -217,6 +224,8 @@ public static void UpdateDirectoryInfo(string path, THFileInfo newfile)
|
|||
if (dos[0].Length > 8) dos[0] = dos[0].Substring(0, 6) + "~1";
|
||||
|
||||
newfile.DOSName = dos[0] + "." + dos[1];
|
||||
}
|
||||
else if (newfile.DOSName.Length > 8) newfile.DOSName = newfile.DOSName.Substring(0, 6) + "~1";
|
||||
|
||||
if (File.ReadAllText(Path.Combine(path, "_data.info")).Contains(newfile.DOSName)) return;
|
||||
FileSystemFolderInfo fsfi = JsonConvert.DeserializeObject<FileSystemFolderInfo>(File.ReadAllText(Path.Combine(path, "_data.info")));
|
||||
|
|
14
TimeHACK.Engine/Template/Infobox95.Designer.cs
generated
14
TimeHACK.Engine/Template/Infobox95.Designer.cs
generated
|
@ -51,7 +51,7 @@ private void InitializeComponent()
|
|||
this.programContent.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.programContent.Location = new System.Drawing.Point(0, 0);
|
||||
this.programContent.Name = "programContent";
|
||||
this.programContent.Size = new System.Drawing.Size(413, 138);
|
||||
this.programContent.Size = new System.Drawing.Size(413, 118);
|
||||
this.programContent.TabIndex = 10;
|
||||
this.programContent.Tag = "gnoreFormOnTaskbar";
|
||||
//
|
||||
|
@ -61,7 +61,7 @@ private void InitializeComponent()
|
|||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.button1.Location = new System.Drawing.Point(150, 104);
|
||||
this.button1.Location = new System.Drawing.Point(150, 84);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(80, 23);
|
||||
this.button1.TabIndex = 5;
|
||||
|
@ -75,7 +75,7 @@ private void InitializeComponent()
|
|||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.button3.Location = new System.Drawing.Point(323, 104);
|
||||
this.button3.Location = new System.Drawing.Point(323, 84);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(80, 23);
|
||||
this.button3.TabIndex = 4;
|
||||
|
@ -99,7 +99,7 @@ private void InitializeComponent()
|
|||
this.panel1.Controls.Add(this.infoText);
|
||||
this.panel1.Location = new System.Drawing.Point(62, 16);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(341, 82);
|
||||
this.panel1.Size = new System.Drawing.Size(341, 62);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// infoText
|
||||
|
@ -107,7 +107,7 @@ private void InitializeComponent()
|
|||
this.infoText.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.infoText.Location = new System.Drawing.Point(0, 0);
|
||||
this.infoText.Name = "infoText";
|
||||
this.infoText.Size = new System.Drawing.Size(341, 82);
|
||||
this.infoText.Size = new System.Drawing.Size(341, 62);
|
||||
this.infoText.TabIndex = 0;
|
||||
this.infoText.Text = "label1";
|
||||
//
|
||||
|
@ -117,7 +117,7 @@ private void InitializeComponent()
|
|||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.button2.Location = new System.Drawing.Point(236, 104);
|
||||
this.button2.Location = new System.Drawing.Point(236, 84);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(80, 23);
|
||||
this.button2.TabIndex = 1;
|
||||
|
@ -131,7 +131,7 @@ private void InitializeComponent()
|
|||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.programContent);
|
||||
this.Name = "Infobox95";
|
||||
this.Size = new System.Drawing.Size(413, 138);
|
||||
this.Size = new System.Drawing.Size(413, 118);
|
||||
this.programContent.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
|
|
14
TimeHACK.Main/OS/Win95/Win95.Designer.cs
generated
14
TimeHACK.Main/OS/Win95/Win95.Designer.cs
generated
|
@ -86,7 +86,6 @@ private void InitializeComponent()
|
|||
this.downloaderTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.installerTestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.storyTest1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.iE4TestToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.SettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ControlPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.PrintersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -739,8 +738,7 @@ private void InitializeComponent()
|
|||
this.DocumentsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.downloaderTestToolStripMenuItem,
|
||||
this.installerTestToolStripMenuItem,
|
||||
this.storyTest1ToolStripMenuItem,
|
||||
this.iE4TestToolStripMenuItem});
|
||||
this.storyTest1ToolStripMenuItem});
|
||||
this.DocumentsToolStripMenuItem.Image = global::TimeHACK.Properties.Resources.WinClassicDocuments;
|
||||
this.DocumentsToolStripMenuItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.DocumentsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
|
@ -775,15 +773,6 @@ private void InitializeComponent()
|
|||
this.storyTest1ToolStripMenuItem.Text = "StoryTest1";
|
||||
this.storyTest1ToolStripMenuItem.Click += new System.EventHandler(this.storyTest1ToolStripMenuItem_Click);
|
||||
//
|
||||
// iE4TestToolStripMenuItem
|
||||
//
|
||||
this.iE4TestToolStripMenuItem.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.iE4TestToolStripMenuItem.BackgroundImage = global::TimeHACK.Properties.Resources.sliversilver;
|
||||
this.iE4TestToolStripMenuItem.Name = "iE4TestToolStripMenuItem";
|
||||
this.iE4TestToolStripMenuItem.Size = new System.Drawing.Size(159, 22);
|
||||
this.iE4TestToolStripMenuItem.Text = "IE4Test";
|
||||
this.iE4TestToolStripMenuItem.Click += new System.EventHandler(this.iE4TestToolStripMenuItem_Click);
|
||||
//
|
||||
// SettingsToolStripMenuItem
|
||||
//
|
||||
this.SettingsToolStripMenuItem.BackColor = System.Drawing.Color.Silver;
|
||||
|
@ -1159,7 +1148,6 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.Panel taskbarItems;
|
||||
private System.Windows.Forms.ToolStripMenuItem storyTest1ToolStripMenuItem;
|
||||
internal System.Windows.Forms.ToolStripMenuItem FTPClientToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem iE4TestToolStripMenuItem;
|
||||
private System.Windows.Forms.Timer desktopupdate;
|
||||
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
|
||||
internal System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
|
||||
|
|
|
@ -480,13 +480,6 @@ private void FTPClientToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
startmenu.Hide();
|
||||
}
|
||||
|
||||
private void iE4TestToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
WinClassic app = wm.StartWin95(new TempIE4(), "IE4", null, true, true);
|
||||
app.BringToFront();
|
||||
startmenu.Hide();
|
||||
}
|
||||
|
||||
private void CalculatorToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
WinClassic app = wm.StartWin95(new WinClassicCalculator(), "Calculator", Properties.Resources.WinClassicCalc, false, false, resize: false);
|
||||
|
|
|
@ -19,7 +19,7 @@ public GoogleHome()
|
|||
|
||||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
TempIE4.GoToPage("www.google.stanford.edu");
|
||||
WinClassicIE4.GoToPage("www.google.stanford.edu");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public IE4Start()
|
|||
|
||||
private void linkLabel1_Click(object sender, EventArgs e)
|
||||
{
|
||||
TempIE4.GoToPage("www.google.com");
|
||||
WinClassicIE4.GoToPage("www.google.com");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
1463
TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs
generated
1463
TimeHACK.Main/OS/Win95/Win95Apps/TempIE4.Designer.cs
generated
File diff suppressed because it is too large
Load diff
|
@ -1,76 +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.OS.Win95.Win95Apps.IE4Sites;
|
||||
|
||||
namespace TimeHACK.OS.Win95.Win95Apps
|
||||
{
|
||||
public partial class TempIE4 : UserControl
|
||||
{
|
||||
public static Panel browsingArea = new Panel();
|
||||
public static ComboBox addressbar = new ComboBox();
|
||||
|
||||
public TempIE4()
|
||||
{
|
||||
InitializeComponent();
|
||||
browsingArea = _browsingArea;
|
||||
addressbar = _addressbar;
|
||||
}
|
||||
|
||||
public static async void GoToPage(string url)
|
||||
{
|
||||
UserControl uc = new UserControl();
|
||||
|
||||
switch (url)
|
||||
{
|
||||
case "www.microsoft.com/windows/ie/default.htm":
|
||||
uc = new IE4Start();
|
||||
break;
|
||||
case "www.google.com":
|
||||
uc = new GoogleHome();
|
||||
break;
|
||||
case "www.google.stanford.edu":
|
||||
uc = new GooglePrototype();
|
||||
break;
|
||||
default:
|
||||
uc = new IE4NoPage();
|
||||
break;
|
||||
}
|
||||
|
||||
addressbar.Text = url;
|
||||
uc.Dock = DockStyle.Fill;
|
||||
|
||||
await Task.Delay(new Random().Next(500, 1500));
|
||||
|
||||
browsingArea.Controls.Clear();
|
||||
browsingArea.Controls.Add(uc);
|
||||
}
|
||||
|
||||
private void TempIE4_Load(object sender, EventArgs e)
|
||||
{
|
||||
GoToPage("www.microsoft.com/windows/ie/default.htm");
|
||||
GoButton.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2);
|
||||
}
|
||||
|
||||
private void GoButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
GoToPage(addressbar.Text);
|
||||
}
|
||||
|
||||
private void _addressbar_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
GoButton_Click(this, new EventArgs());
|
||||
e.SuppressKeyPress = true;
|
||||
browsingArea.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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="MenuStrip3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -12,6 +12,7 @@
|
|||
using TimeHACK.Engine;
|
||||
using Newtonsoft.Json;
|
||||
using TimeHACK.Engine.Template;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace TimeHACK.OS.Win95.Win95Apps
|
||||
{
|
||||
|
@ -52,20 +53,23 @@ void WinClassicWindowsExplorer_Load(object sender, EventArgs e)
|
|||
mainView.LargeImageList = new ImageList();
|
||||
mainView.LargeImageList.ImageSize = new Size(32, 32);
|
||||
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.Win95Computer);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicFolder);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicIE4);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicInbox);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicMSN);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicNetworking);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicOutlook);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicRecycle);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.Win95File);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicFolder);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicApp);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicSetup);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicNotepad);
|
||||
mainView.LargeImageList.Images.Add(Properties.Resources.WinClassicCalcBig);
|
||||
mainView.LargeImageList.Images.AddRange(new Bitmap[] { Properties.Resources.Win95Computer, // 0
|
||||
Properties.Resources.WinClassicFolder,
|
||||
Properties.Resources.WinClassicIE4,
|
||||
Properties.Resources.WinClassicInbox,
|
||||
Properties.Resources.WinClassicMSN,
|
||||
Properties.Resources.WinClassicNetworking, // 5
|
||||
Properties.Resources.WinClassicOutlook,
|
||||
Properties.Resources.WinClassicRecycle,
|
||||
Properties.Resources.Win95File,
|
||||
Properties.Resources.WinClassicFolder,
|
||||
Properties.Resources.WinClassicApp, // 10
|
||||
Properties.Resources.WinClassicSetup,
|
||||
Properties.Resources.WinClassicNotepad,
|
||||
Properties.Resources.WinClassicCalcBig,
|
||||
Properties.Resources.WinClassicNotepadBig,
|
||||
Properties.Resources.WinClassicRegedit, // 15
|
||||
Properties.Resources.WinClassicWordpad });
|
||||
|
||||
program.BringToFront();
|
||||
|
||||
|
@ -157,37 +161,13 @@ void RefreshAll() {
|
|||
}
|
||||
else return;
|
||||
}
|
||||
|
||||
switch (new FileInfo(str).Extension)
|
||||
FileSystemFolderInfo fsfi = JsonConvert.DeserializeObject<FileSystemFolderInfo>(File.ReadAllText(Path.Combine(CurrentDirectory, "_data.info")));
|
||||
foreach(var item in fsfi.Files)
|
||||
{
|
||||
case ".exe":
|
||||
string contents;
|
||||
|
||||
contents = File.ReadAllText(str);
|
||||
|
||||
switch (contents.ToLower())
|
||||
{
|
||||
case "calc":
|
||||
itm.ImageIndex = 13;
|
||||
break;
|
||||
case "explorer":
|
||||
itm.ImageIndex = 0;
|
||||
break;
|
||||
case "notepad":
|
||||
itm.ImageIndex = 12;
|
||||
break;
|
||||
default:
|
||||
itm.ImageIndex = 10;
|
||||
break;
|
||||
Debug.Print(item.Name + " " + Path.GetFileName(str));
|
||||
if (item.Name == Path.GetFileName(str)) { itm.ImageIndex = item.FileIcon; return; }
|
||||
}
|
||||
break;
|
||||
case ".txt":
|
||||
itm.ImageIndex = 12;
|
||||
break;
|
||||
default:
|
||||
itm.ImageIndex = 8;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
//wm.StartInfobox95("Exploring - C:", "Error with the file explorer \n" + ex.Message, Properties.Resources.Win95Info); add illegal operation dialog here later
|
||||
|
@ -270,6 +250,15 @@ void OpenApplication(string appname, string path)
|
|||
Program.nonimportantapps[Program.nonimportantapps.Count - 1].BringToFront();
|
||||
Program.nonimportantapps[Program.nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(Program.NonImportantApp_Closing);
|
||||
|
||||
break;
|
||||
case "notepad":
|
||||
WinClassic appNP = wm.StartWin95(new WinClassicNotepad(), "Notepad", Properties.Resources.Win95IconNotepad_2, true, true);
|
||||
Program.AddTaskbarItem(appNP, appNP.Tag.ToString(), "Notepad", Properties.Resources.Win95IconNotepad_2);
|
||||
|
||||
Program.nonimportantapps.Add(appNP);
|
||||
Program.nonimportantapps[Program.nonimportantapps.Count - 1].BringToFront();
|
||||
Program.nonimportantapps[Program.nonimportantapps.Count - 1].FormClosing += new FormClosingEventHandler(Program.NonImportantApp_Closing);
|
||||
|
||||
break;
|
||||
case "wordpad":
|
||||
WinClassic appWP = wm.StartWin95(new WinClassicWordPad(), "Wordpad", Properties.Resources.WinClassicWordpad, true, true);
|
||||
|
@ -315,8 +304,8 @@ void OpenApplication(string appname, string path)
|
|||
}
|
||||
|
||||
string ReturnType(string extension) {
|
||||
string returnVal = "";
|
||||
fileType = 1;
|
||||
string returnVal = "File";
|
||||
fileType = 0;
|
||||
switch (extension) {
|
||||
case ".txt":
|
||||
fileType = 1;
|
||||
|
@ -608,7 +597,7 @@ void mainView_DoubleClick(object sender, EventArgs e)
|
|||
{
|
||||
if (mainView.FocusedItem.Tag == null)
|
||||
{ // If it isn't a file
|
||||
GoToDir(Path.Combine(CurrentDirectory, mainView.FocusedItem.ImageKey.ToString()));
|
||||
GoToDir(Path.Combine(CurrentDirectory, mainView.FocusedItem.Text));
|
||||
}
|
||||
else
|
||||
{ // If it is a file
|
||||
|
@ -709,19 +698,10 @@ private void Button1_Click(object sender, EventArgs e)
|
|||
else OpenFile = true;
|
||||
if (OpenFile == true)
|
||||
{
|
||||
if (txtSave.Text == "")
|
||||
{
|
||||
wm.StartInfobox95("Windows Explorer", "Please enter a filename", InfoboxType.Info, InfoboxButtons.OK);
|
||||
}
|
||||
if (txtSave.Text == "") wm.StartInfobox95("Windows Explorer", "Please enter a filename", InfoboxType.Info, InfoboxButtons.OK);
|
||||
else
|
||||
{
|
||||
if (new FileInfo(Path.Combine(CurrentDirectory, txtSave.Text)).Extension == onlyViewExtension)
|
||||
{
|
||||
|
||||
Program.WindowsExplorerReturnPath = Path.Combine(CurrentDirectory, txtSave.Text);
|
||||
|
||||
}
|
||||
|
||||
if (new FileInfo(Path.Combine(CurrentDirectory, txtSave.Text)).Extension == onlyViewExtension) Program.WindowsExplorerReturnPath = Path.Combine(CurrentDirectory, txtSave.Text);
|
||||
|
||||
FileDialogBoxManager.IsInOpenDialog = false;
|
||||
FileDialogBoxManager.IsInSaveDialog = false;
|
||||
|
@ -793,22 +773,13 @@ private void mainView_AfterLabelEdit(object sender, LabelEditEventArgs e)
|
|||
{
|
||||
string setText;
|
||||
setText = e.Label;
|
||||
if (setText == "")
|
||||
{
|
||||
wm.StartInfobox95("Windows Explorer", "Please enter a new directory name", InfoboxType.Info, InfoboxButtons.OK);
|
||||
}
|
||||
if (setText == "") wm.StartInfobox95("Windows Explorer", "Please enter a new directory name", InfoboxType.Info, InfoboxButtons.OK);
|
||||
else
|
||||
{
|
||||
if (Directory.Exists(setText))
|
||||
{
|
||||
wm.StartInfobox95("Windows Explorer", "That directory already exists.", InfoboxType.Info, InfoboxButtons.OK);
|
||||
}
|
||||
if (Directory.Exists(setText)) wm.StartInfobox95("Windows Explorer", "That directory already exists.", InfoboxType.Info, InfoboxButtons.OK);
|
||||
else
|
||||
{
|
||||
if (File.Exists(setText))
|
||||
{
|
||||
wm.StartInfobox95("Windows Explorer", "That file already exists.", InfoboxType.Info, InfoboxButtons.OK);
|
||||
}
|
||||
if (File.Exists(setText)) wm.StartInfobox95("Windows Explorer", "That file already exists.", InfoboxType.Info, InfoboxButtons.OK);
|
||||
else
|
||||
{
|
||||
if (Directory.Exists(mainView.FocusedItem.ImageKey))
|
||||
|
@ -1003,10 +974,7 @@ private void refresh_Tick(object sender, EventArgs e)
|
|||
|
||||
private void SellectAllCtrlAToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach (ListViewItem item in mainView.Items)
|
||||
{
|
||||
item.Selected = true;
|
||||
}
|
||||
foreach (ListViewItem item in mainView.Items) item.Selected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2587
TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
generated
2587
TimeHACK.Main/OS/Win95/Win95Apps/WinClassicIE4.Designer.cs
generated
File diff suppressed because it is too large
Load diff
|
@ -1,236 +1,76 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using TimeHACK.Engine;
|
||||
using TimeHACK.Engine.Template;
|
||||
using TimeHACK.OS.Win95.Win95Apps.IE4Sites;
|
||||
|
||||
namespace TimeHACK.OS.Win95.Win95Apps
|
||||
{
|
||||
public partial class WinClassicIE4 : UserControl
|
||||
{
|
||||
public List<string> browsinghistory = new List<string>();
|
||||
public int historylocation = 0;
|
||||
|
||||
public HtmlDocument currentsite;
|
||||
private Timer loadplz = new Timer();
|
||||
public static Panel browsingArea = new Panel();
|
||||
public static ComboBox addressbar = new ComboBox();
|
||||
|
||||
public WinClassicIE4()
|
||||
{
|
||||
InitializeComponent();
|
||||
browsingArea = _browsingArea;
|
||||
addressbar = _addressbar;
|
||||
}
|
||||
|
||||
private void WinClassicIE4_Load(object sender, EventArgs e)
|
||||
public static async void GoToPage(string url)
|
||||
{
|
||||
browsinghistory.Capacity = 99;
|
||||
BringToFront();
|
||||
hidePrograms();
|
||||
browsinghistory.Add("www.microsoft.com/internetexplorer4/welcome");
|
||||
for (int i = 0; i < 99; i++) browsinghistory.Add(null);
|
||||
webBrowser1.DocumentText = resources.GetString("ie4start_HTML");
|
||||
webBrowser1.Show();
|
||||
loadplz.Tick += new EventHandler(loadplz_Tick);
|
||||
foreach (ToolStripMenuItem item in MenuStrip3.Items) item.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0)));
|
||||
foreach (Control ctrl in Panel1.Controls) ctrl.Font = new Font(TitleScreen.pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0)));
|
||||
}
|
||||
UserControl uc = new UserControl();
|
||||
|
||||
private void hidePrograms()
|
||||
{
|
||||
googlemain.Hide();
|
||||
googlealpha.Hide();
|
||||
padamsmain.Hide();
|
||||
hotmailmain.Hide();
|
||||
padamsbackgrounds.Hide();
|
||||
skindows95advertisment.Hide();
|
||||
secretwebsite.Hide();
|
||||
padamshidden.Hide();
|
||||
email1.Hide();
|
||||
email2.Hide();
|
||||
email3.Hide();
|
||||
hotmailpadams.Hide();
|
||||
}
|
||||
|
||||
private void google_LinkClicked(object sender, HtmlElementEventArgs e)
|
||||
{
|
||||
goToSite("www.google.com", false);
|
||||
}
|
||||
|
||||
private void padams_LinkClicked(object sender, HtmlElementEventArgs e)
|
||||
{
|
||||
goToSite("www.12padams.com", false);
|
||||
}
|
||||
|
||||
private void googleprototypelink_LinkClicked(object sender, HtmlElementEventArgs e)
|
||||
{
|
||||
goToSite("www.google.stanford.edu", false);
|
||||
}
|
||||
|
||||
private void googlebetalink_LinkClicked(object sender, HtmlElementEventArgs e)
|
||||
{
|
||||
goToSite("www.alpha.google.com", false);
|
||||
}
|
||||
|
||||
private void Label20_Click(object sender, EventArgs e)
|
||||
{
|
||||
hidePrograms();
|
||||
padamshidden.Dock = DockStyle.Fill;
|
||||
padamshidden.Show();
|
||||
}
|
||||
|
||||
private void Button12_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Button9_Click(object sender, EventArgs e)
|
||||
{
|
||||
goToSite("www.???.com", false);
|
||||
}
|
||||
|
||||
|
||||
private void ToolStripMenuItem21_Click(object sender, EventArgs e)
|
||||
{
|
||||
((Form)this.TopLevelControl).Close();
|
||||
}
|
||||
|
||||
private void goToSite(string url, bool back)
|
||||
{
|
||||
webBrowser1.DocumentText = "";
|
||||
switch (url)
|
||||
{
|
||||
case "www.microsoft.com/windows/ie/default.htm":
|
||||
uc = new IE4Start();
|
||||
break;
|
||||
case "www.google.com":
|
||||
hidePrograms();
|
||||
webBrowser1.DocumentText = resources.GetString("google_HTML");
|
||||
uc = new GoogleHome();
|
||||
break;
|
||||
case "www.google.stanford.edu":
|
||||
hidePrograms();
|
||||
webBrowser1.DocumentText = resources.GetString("prototype_HTML");
|
||||
break;
|
||||
case "www.alpha.google.com":
|
||||
hidePrograms();
|
||||
googlealpha.Dock = DockStyle.Fill;
|
||||
googlealpha.Show();
|
||||
break;
|
||||
case "www.12padams.com":
|
||||
hidePrograms();
|
||||
Story.Hack1.StartObjective();
|
||||
webBrowser1.DocumentText = resources.GetString("padams_HTML");
|
||||
break;
|
||||
case "www.microsoft.com/internetexplorer4/welcome":
|
||||
hidePrograms();
|
||||
webBrowser1.DocumentText = resources.GetString("ie4start_HTML");
|
||||
break;
|
||||
case "www.???.com":
|
||||
hidePrograms();
|
||||
secretwebsite.Dock = DockStyle.Fill;
|
||||
secretwebsite.Show();
|
||||
break;
|
||||
case "www.12padams.com/???":
|
||||
hidePrograms();
|
||||
padamshidden.Dock = DockStyle.Fill;
|
||||
padamshidden.Show();
|
||||
uc = new GooglePrototype();
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
if (!back)
|
||||
{
|
||||
if (historylocation >= 98) historylocation = 79;
|
||||
for (int i = historylocation + 1; i < browsinghistory.Count; i++)
|
||||
{
|
||||
browsinghistory[i] = null;
|
||||
}
|
||||
int j = 0;
|
||||
for (int i = 1; i < browsinghistory.Count; i++)
|
||||
{
|
||||
if (browsinghistory[i] != null && browsinghistory[i] != "") j++;
|
||||
}
|
||||
historylocation = j;
|
||||
browsinghistory[historylocation + 1] = url;
|
||||
historylocation++;
|
||||
uc = new IE4NoPage();
|
||||
break;
|
||||
}
|
||||
|
||||
addressbar.Text = url;
|
||||
currentsite = webBrowser1.Document;
|
||||
uc.Dock = DockStyle.Fill;
|
||||
|
||||
await Task.Delay(new Random().Next(500, 1500));
|
||||
|
||||
browsingArea.Controls.Clear();
|
||||
browsingArea.Controls.Add(uc);
|
||||
}
|
||||
|
||||
private void BackButton_Click(object sender, EventArgs e)
|
||||
private void TempIE4_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!(historylocation <= 0))
|
||||
{
|
||||
goToSite(browsinghistory[historylocation - 1], true);
|
||||
historylocation--;
|
||||
}
|
||||
}
|
||||
|
||||
private void ForwardButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(browsinghistory[historylocation+1] != null) goToSite(browsinghistory[historylocation + 1], false);
|
||||
}
|
||||
|
||||
private void HomeButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
goToSite("www.microsoft.com/internetexplorer4/welcome", false);
|
||||
}
|
||||
|
||||
private void WCDownloadButton_Click(object sender, HtmlElementEventArgs e)
|
||||
{
|
||||
WinClassicDownloader opendownload = new WinClassicDownloader();
|
||||
WindowManager wm = new WindowManager();
|
||||
wm.StartWin95(opendownload, "Downloader", null, false, true);
|
||||
opendownload.appName.Text = "Downloading: Web Chat";
|
||||
GoToPage("www.microsoft.com/windows/ie/default.htm");
|
||||
GoButton.Paint += (s, args) => Engine.Paintbrush.PaintClassicBorders(s, args, 2);
|
||||
}
|
||||
|
||||
private void GoButton_Click(object sender, EventArgs e)
|
||||
{
|
||||
goToSite(addressbar.Text, false);
|
||||
GoToPage(addressbar.Text);
|
||||
}
|
||||
|
||||
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
|
||||
private void _addressbar_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
loadplz.Start();
|
||||
}
|
||||
|
||||
private void loadplz_Tick(object sender, EventArgs e)
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
try
|
||||
{
|
||||
Debug.Print(webBrowser1.Document.Title);
|
||||
switch (webBrowser1.Document.Title)
|
||||
{
|
||||
case "IE4START":
|
||||
webBrowser1.Document.GetElementById("google").Click += new HtmlElementEventHandler(google_LinkClicked);
|
||||
webBrowser1.Document.GetElementById("padams").Click += new HtmlElementEventHandler(padams_LinkClicked);
|
||||
break;
|
||||
case "12PADAMS":
|
||||
webBrowser1.Document.GetElementById("wc_b").Click += new HtmlElementEventHandler(WCDownloadButton_Click);
|
||||
webBrowser1.Document.GetElementById("ftp_b").Click += new HtmlElementEventHandler(FTPDownloadButton_Click);
|
||||
if (!TitleScreen.frm95.HiddenPadamsFound) webBrowser1.Document.GetElementById("distort").Style += "visibility:hidden;";
|
||||
break;
|
||||
case "GOOGLE":
|
||||
webBrowser1.Document.GetElementById("prototype").Click += new HtmlElementEventHandler(googleprototypelink_LinkClicked);
|
||||
webBrowser1.Document.GetElementById("alpha").Click += new HtmlElementEventHandler(googlebetalink_LinkClicked);
|
||||
break;
|
||||
}
|
||||
loadplz.Stop();
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
GoButton_Click(this, new EventArgs());
|
||||
e.SuppressKeyPress = true;
|
||||
browsingArea.Focus();
|
||||
}
|
||||
}
|
||||
|
||||
private void FTPDownloadButton_Click(object sender, HtmlElementEventArgs e)
|
||||
{
|
||||
WinClassicDownloader opendownload = new WinClassicDownloader();
|
||||
WindowManager wm = new WindowManager();
|
||||
wm.StartWin95(opendownload, "Downloader", null, false, true);
|
||||
opendownload.appName.Text = "Downloading: FTP Client";
|
||||
}
|
||||
|
||||
//TODO: Add more websites
|
||||
//TODO: Relabel Buttons And Things
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,300 +117,7 @@
|
|||
<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>Welcome To Internet Explorer 4.
|
||||
Internet Explorer 4 makes browsing the web and exploring websites a pleasant experience.
|
||||
Just type an address in the location bar above and then press go.
|
||||
Instantly you will be taken to the webpage of your choosing.
|
||||
Where do you want to go today?</value>
|
||||
</data>
|
||||
<data name="TextBox12.Text" xml:space="preserve">
|
||||
<value>1998: Added Time Distortion software to 12padams website.
|
||||
Software was hidden and only accessable after downloading hwcv.exe and applying it onto the 12padams website
|
||||
Time Distortion software in extremely early stages and dangerous
|
||||
Any Download of the time distortion software results in an instant alert to 12padams</value>
|
||||
</data>
|
||||
<data name="TextBox17.Text" xml:space="preserve">
|
||||
<value>Hey 12padams... I was scanning your website and i found well i don't know.
|
||||
|
||||
Do you have some type of hidden software on it because i can't find to find the matching software the has the same code as i saw...
|
||||
|
||||
Whats the hidden software?</value>
|
||||
</data>
|
||||
<data name="TextBox10.Text" xml:space="preserve">
|
||||
<value>12padams.com Data Log
|
||||
|
||||
1996: www.12padams.com created
|
||||
1997:Lots Of software added to 12padams.com
|
||||
1998: ###############
|
||||
|
||||
WARNING 1998 log file is encrypted and unreadable.
|
||||
|
||||
Rest of log stored on hotmail account...
|
||||
|
||||
Username: 12padams@hotmail.com
|
||||
Password: projectdeath </value>
|
||||
</data>
|
||||
<data name="TextBox9.Text" xml:space="preserve">
|
||||
<value>
|
||||
|
||||
|
||||
|
||||
WARNING: You have entered a secret site which was not meant to be accessed.
|
||||
|
||||
Warning do not tell 12padams about this website...
|
||||
12padams is evil.
|
||||
12padams is holding secrets which need to be found out.
|
||||
I myself am banned from 12padams.com I almost found out the secret.
|
||||
I don't know what the secret is but it seems that 12padams is hiding an additional piece of software on his site.
|
||||
This software is hidden but can still be accessed.
|
||||
The software is very powerful and is not a game, virus, or anything like that.
|
||||
I don't know what it is but i do know its powerful.
|
||||
|
||||
You need to access this it.
|
||||
I was scanning the code on the 12padams website and thats how i know about it.
|
||||
Someone needs to find this software and use it.
|
||||
I don't know how to access it from the 12padams site but all I know is that you have to click on something.
|
||||
Its the thing you would least expect to click....
|
||||
|
||||
This site will be destroyed by 12padams very soon you need to find this secret before he removes it from his website.
|
||||
|
||||
FIND IT!!!
|
||||
JUST CLICK EVERYWHERE ON THE 12PADAMS WEBSITE TILL YOU FIND THE SECRET!!!!!
|
||||
|
||||
written by "the hidden hacker"</value>
|
||||
</data>
|
||||
<data name="TextBox8.Text" xml:space="preserve">
|
||||
<value>Skindows 95 is the best customization software in the world avalible for windows 95.
|
||||
|
||||
It allows the editing of the active captionbar to look pritty much however you like it.
|
||||
|
||||
Show the world your style. Buy Skindows 95 to use your computer to its full potential
|
||||
|
||||
If you Don't like this product you may recieve a full refund on day of purchous.
|
||||
|
||||
So Please enjoy Using this amzing software and show the world what your made of.</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="MenuStrip3.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||
<metadata name="MenuStrip3.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="ie4start" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\..\..\resources\ie4\ie4start.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
<data name="ie4start_HTML" xml:space="preserve">
|
||||
<value><html>
|
||||
<head>
|
||||
<title>IE4START</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Microsoft Sans Serif";
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
margin-top: 19px;
|
||||
font-size: 14.25pt;
|
||||
font-style: bold;
|
||||
}
|
||||
p {
|
||||
font-size: 11.25pt;
|
||||
}
|
||||
h2 {
|
||||
font-size: 12pt;
|
||||
font-style: bold;
|
||||
margin-top: 50px;
|
||||
}
|
||||
p.end {
|
||||
font-size: 9.75pt;
|
||||
}
|
||||
a {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to Internet Explorer 4</h1>
|
||||
<p>Welcome To Internet Explorer 4.<br>
|
||||
Internet Explorer 4 makes browsing the web and exploring websites a pleasant experience.<br>
|
||||
Just type an address in the location bar above and then press go.<br>
|
||||
Instantly you will be taken to the webpage of your choosing.<br>
|
||||
Where do you want to go today?</p>
|
||||
<h2>Here are some sites you may want to visit.</h2>
|
||||
<a id="google">www.google.com</a><br>
|
||||
<a id="padams">www.12padams.com</a>
|
||||
<p class="end">Where do you want to go today?</p>
|
||||
</body>
|
||||
</html></value>
|
||||
</data>
|
||||
<data name="padams" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\..\..\resources\ie4\padams.html;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||
</data>
|
||||
<data name="padams_HTML" xml:space="preserve">
|
||||
<value><html>
|
||||
<head>
|
||||
<title>12PADAMS</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Microsoft Sans Serif";
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
font-size: 9.75pt;
|
||||
margin-top: 20px;
|
||||
}
|
||||
p {
|
||||
font-size: 9.25pt;
|
||||
margin-top: 0;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
td div {
|
||||
display: inline-block;
|
||||
border: 1px solid black;
|
||||
width: 215px;
|
||||
height: 305px;
|
||||
margin: 0 3px 0 3px;
|
||||
text-align: center;
|
||||
}
|
||||
h1#copyright {
|
||||
font-size: 9pt;
|
||||
}
|
||||
p.app {
|
||||
margin-top: 30px;
|
||||
}
|
||||
p.app button {
|
||||
float: right;
|
||||
background-color: silver;
|
||||
border-color: white black black white;
|
||||
margin-right: 2px;
|
||||
}
|
||||
a {
|
||||
font-size: 9.25pt;
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to the Official 12padams website!!!</h1>
|
||||
<p>The best customizations for your windows 95 computer</p>
|
||||
<table align="center">
|
||||
<tr>
|
||||
<td><div class="software">
|
||||
<h1>Games/Software</h1>
|
||||
<p class="app" id="gtn">Guess the Number V1 <button id="gtn_b">Download</button></p>
|
||||
<p class="app" id="wc">Web Chat 1998 <button id="wc_b">Download</button></p>
|
||||
<p class="app" id="ftp">FTP Client <button id="ftp_b">Download</button></p>
|
||||
<p class="app" id="distort">Time Distorter 0.1 <button id="distort_b">Download</button></p>
|
||||
</div></td>
|
||||
<td><div class="customize">
|
||||
<h1>Customizations</h1>
|
||||
<p class="app" id="bg">Backgrounds <button id="bg_b">View Backgrounds</button></p>
|
||||
<p class="app" id="skn">Skindows 95 <button id="skn_b">Info</button></p>
|
||||
</div></td>
|
||||
<td><div class="viruses">
|
||||
<h1>Example Viruses</h1>
|
||||
<p class="app" id="sr">Start Runner 95 <button id="sr_b">Download</button></p>
|
||||
<p class="app" id="eb">Error Blaster 95 <button id="eb_b">Download</button></p>
|
||||
</div></td>
|
||||
<td><div class="sites">
|
||||
<h1>Changelog</h1>
|
||||
<p class="app">1996: 12padams.com created</p>
|
||||
<p class="app">1997: Software added to the site</p>
|
||||
<p class="app">1̧͙̙̦̪͙͇̜̥͍̟͍̹̰̝͖̫̩͘͡͡9̸̨͏̖̱̗̣̥͕̲͈̬̦9͠҉̶̢͔̹̖͇̫̩̻̪̬͔̥̟̺̼̺̟̫8̷̴̶̱̩͖̟̠̬̻̼̳̰̺͚͜͞:̧͟͏̰̣̠̹͍͔̼͕̲͇̪̥̗̞͚͇̖ͅ ͏̙͇̮̤̠͇̜͚͈͇͔̠̙͜͡ͅÀ͏̰̮̞̲̠̩̳͙͓͉̭̼̠͕̣͇̜͎ͅd̢̩̝̙̩̭̫͓̮͙͔̘̥͝d̻̻̪̙͖̬͈͟͝e͠҉̨̧҉̯̙̹̝̟̺̰͖̹̞̻̝̖̪͉͍͇̬#҉̵̻̜͇̻̹͈̀͟ ̨̡̘͓͔̜̭̫͖͔̰̦̘̀#̛͓̬̭̦̹̙̭͕̕#̧͢͠͏̖̙͚͉͇̣̜̖ͅ#̜̝͚͓̳̘̭̣̲̟̤̖͇̬̠̯̠̀͠ ̢͚̲̞̯͎͙̪̗̜̹͙͓͉͢ͅ#̡͙̻̫̝̪͙͚̺̝͓̘̬̬͙͔̀̕͠#̴҉͖̲̺̱͖͈̭̭ͅ#̸̸̷̼̫̪̖̻̻͈̭̬͓̘͓̦̟̻̪͇̞̕#̸̢̨̻̗̣̠̥̖̜̜̖̺͍̝̗͓̦̳̫#̛͡҉̭̝̙̟̘̩̬͖͎̘̞̭̖͔̪̼̠͢ͅ#̰̜̭̹̻̖̬̺͘͡#̛̬̣̳͔͔̘̟͜͢͟͡#̷̨̼̺̤̥̞́͢͡ ̢̞̬͙͍̬̪̪̰̰̰̙̮͙͚͕̩̟͇̕͜ͅ#̶͙̣̣̦͈͈̫̕͡#̸̡̥̹̮͇̱̱͍͜͜͢#̵̢̧̦͙̮̮͔͖̞̮͚͞#̧̗̤̱̪̜͓̠͖̞̰͍͢#̧̱̳̻̖̝͇͜͞#̛́҉͍̩̞̬͔̬̪̻̯̩#̷̴̨̙͚̹̘̜̗͔̺͖̳̕͜#̶̬͖͙̠̜̲̱̲͙̻̙̩̹̳̪̠̖́̕͟͞ͅ</p>
|
||||
</div></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h1 id="copyright">Copyright 1998 12padams</h1>
|
||||
</body>
|
||||
</html></value>
|
||||
</data>
|
||||
<data name="google_HTML" xml:space="preserve">
|
||||
<value><html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>GOOGLE</title>
|
||||
<style>
|
||||
a {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to Google</h1>
|
||||
<a id="prototype">Google Search Engine Prototype</a>
|
||||
<br />
|
||||
<a id="alpha">Might-work-some-of-the-time-prototype that is much more up to date.</a>
|
||||
</body>
|
||||
</html></value>
|
||||
</data>
|
||||
<data name="prototype_HTML" xml:space="preserve">
|
||||
<value><html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>PROTOTYPE</title>
|
||||
<style>
|
||||
a {
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF">
|
||||
<center>
|
||||
<img src="file:///C:/TimeHackData/Data/google.jpg" width="351" height="113"><br>
|
||||
<table border="0" cellspacing="0" cellpadding="5" width="70%">
|
||||
<tr>
|
||||
<td bgcolor="#EEEEEE">
|
||||
<center>
|
||||
Search the web using Google!<br>
|
||||
<input type="text" name="query" value="" size="40"><br>
|
||||
<select name="num">
|
||||
<option value="10" selected>10 results
|
||||
<option value="30">30 results
|
||||
<option value="100">100 results
|
||||
</select>
|
||||
<button id="search">Google Search</button>
|
||||
<button id="lucky">I'm feeling lucky</button> <br>
|
||||
<i>Index contains ~25 million pages (soon to be much bigger)</i>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<center>
|
||||
<h2><a>About Google!</a></h2>
|
||||
<a>
|
||||
Stanford
|
||||
Search
|
||||
</a> <a>Linux Search</a>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align="LEFT">
|
||||
<td valign="CENTER" bgcolor="#EEEEEE" width="100%">
|
||||
<center>Get Google! updates monthly!</center>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr align="LEFT">
|
||||
<td bgcolor="#EEEEEE">
|
||||
<center>
|
||||
<input type="text" name="emailaddr" value="your e-mail" size="18">
|
||||
<input type="submit" name="SubmitAction" value="Subscribe"><font size="-1">&nbsp;&nbsp;<a>Archive</a></font>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
<center><font size="-1">Copyright &copy;1997-8 Stanford University</font></center>
|
||||
|
||||
</body>
|
||||
</html></value>
|
||||
</data>
|
||||
</metadata>
|
||||
</root>
|
|
@ -476,13 +476,6 @@ private void FTPClientToolStripMenuItem_Click(object sender, EventArgs e)
|
|||
startmenu.Hide();
|
||||
}
|
||||
|
||||
private void iE4TestToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
WinClassic app = wm.StartWin95(new TempIE4(), "IE4", null, true, true);
|
||||
app.BringToFront();
|
||||
startmenu.Hide();
|
||||
}
|
||||
|
||||
private void CalculatorToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
WinClassic app = wm.StartWin95(new WinClassicCalculator(), "Calculator", Properties.Resources.WinClassicCalc, false, false);
|
||||
|
|
20
TimeHACK.Main/Properties/Resources.Designer.cs
generated
20
TimeHACK.Main/Properties/Resources.Designer.cs
generated
|
@ -1291,6 +1291,16 @@ internal static System.Drawing.Bitmap WinClassicNotepad {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap WinClassicNotepadBig {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("WinClassicNotepadBig", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -1351,6 +1361,16 @@ internal static System.Drawing.Bitmap WinClassicRecycle {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap WinClassicRegedit {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("WinClassicRegedit", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -699,4 +699,10 @@
|
|||
<data name="WinClassicCalcBig" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\WinClassic\WinClassicCalcBig.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="WinClassicNotepadBig" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\WinClassic\WinClassicNotepadBig.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="WinClassicRegedit" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\WinClassic\WinClassicRegedit.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
TimeHACK.Main/Resources/WinClassic/WinClassicNotepadBig.png
Normal file
BIN
TimeHACK.Main/Resources/WinClassic/WinClassicNotepadBig.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 255 B |
BIN
TimeHACK.Main/Resources/WinClassic/WinClassicRegedit.png
Normal file
BIN
TimeHACK.Main/Resources/WinClassic/WinClassicRegedit.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 291 B |
|
@ -172,11 +172,11 @@
|
|||
<Compile Include="OS\Win95\Win95Apps\MineSweeper\Square.cs" />
|
||||
<Compile Include="OS\Win95\Win95Apps\Story\Hack1.cs" />
|
||||
<Compile Include="OS\Win95\Win95Apps\Story\Hack2.cs" />
|
||||
<Compile Include="OS\Win95\Win95Apps\TempIE4.cs">
|
||||
<Compile Include="OS\Win95\Win95Apps\WinClassicIE4.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\TempIE4.Designer.cs">
|
||||
<DependentUpon>TempIE4.cs</DependentUpon>
|
||||
<Compile Include="OS\Win95\Win95Apps\WinClassicIE4.Designer.cs">
|
||||
<DependentUpon>WinClassicIE4.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\Win95Installer.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
|
@ -298,12 +298,6 @@
|
|||
<Compile Include="GlobalPrograms\WinClassicDownloader.Designer.cs">
|
||||
<DependentUpon>WinClassicDownloader.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\WinClassicIE4.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\WinClassicIE4.Designer.cs">
|
||||
<DependentUpon>WinClassicIE4.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="OS\Win95\Win95Apps\WinClassicNotepad.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
|
@ -372,8 +366,8 @@
|
|||
<EmbeddedResource Include="OS\Win95\Win95Apps\MineSweeper\MineBestTimes.resx">
|
||||
<DependentUpon>MineBestTimes.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win95\Win95Apps\TempIE4.resx">
|
||||
<DependentUpon>TempIE4.cs</DependentUpon>
|
||||
<EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicIE4.resx">
|
||||
<DependentUpon>WinClassicIE4.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win95\Win95Apps\Win95Installer.resx">
|
||||
<DependentUpon>Win95Installer.cs</DependentUpon>
|
||||
|
@ -444,9 +438,6 @@
|
|||
<EmbeddedResource Include="GlobalPrograms\WinClassicDownloader.resx">
|
||||
<DependentUpon>WinClassicDownloader.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicIE4.resx">
|
||||
<DependentUpon>WinClassicIE4.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="OS\Win95\Win95Apps\WinClassicNotepad.resx">
|
||||
<DependentUpon>WinClassicNotepad.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
@ -631,11 +622,13 @@
|
|||
<None Include="Resources\WinClassic\WinClassicNotepad.png" />
|
||||
<None Include="Resources\WinClassic\WinClassicNew.png" />
|
||||
<None Include="Resources\WinClassic\WinClassicOpenFolderSmall.png" />
|
||||
<None Include="Resources\WinClassic\WinClassicNotepadBig.png" />
|
||||
<Content Include="Resources\WinClassic\WinClassicOutlook.png" />
|
||||
<None Include="Resources\WinClassic\WinClassicPaste.png" />
|
||||
<Content Include="Resources\WinClassic\WinClassicProgramItem.png" />
|
||||
<Content Include="Resources\WinClassic\WinClassicPrograms.png" />
|
||||
<Content Include="Resources\WinClassic\WinClassicRecycle.png" />
|
||||
<None Include="Resources\WinClassic\WinClassicRegedit.png" />
|
||||
<Content Include="Resources\WinClassic\WinClassicRun.png" />
|
||||
<Content Include="Resources\WinClassic\WinClassicSettings.png" />
|
||||
<None Include="Resources\WinClassic\WinClassicSetup.png" />
|
||||
|
|
|
@ -56,10 +56,7 @@ public TitleScreen()
|
|||
public void StartGame()
|
||||
{
|
||||
//TODO: You may want to handle story stuff to decide what OS to boot here.
|
||||
if (Convert.ToInt32(VM_Width.Text) == 1337 && Convert.ToInt32(VM_Height.Text) == 1337)
|
||||
{
|
||||
leet();
|
||||
}
|
||||
if (Convert.ToInt32(VM_Width.Text) == 1337 && Convert.ToInt32(VM_Height.Text) == 1337) leet();
|
||||
else
|
||||
{
|
||||
// Time to decide which OS to start up!
|
||||
|
@ -107,16 +104,6 @@ public void StartGame()
|
|||
}
|
||||
}
|
||||
|
||||
void closeButton(object sender, MouseEventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void closebutton_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void VM_WidthHeight_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar) &&
|
||||
|
|
Loading…
Reference in a new issue