aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win2K
diff options
context:
space:
mode:
authorJamie Mansfield <[email protected]>2017-06-11 22:31:02 +0100
committerJamie Mansfield <[email protected]>2017-06-11 22:31:46 +0100
commiteef1e2b945d0eefd8dfd371d5d3c432608aaae2e (patch)
treea631bd10b751685d5ce598bfa07570e07aa827f6 /TimeHACK.Main/OS/Win2K
parent4b20ee479f2101b691e2254de3228ce9e60c6377 (diff)
downloadhistacom2-eef1e2b945d0eefd8dfd371d5d3c432608aaae2e.tar.gz
histacom2-eef1e2b945d0eefd8dfd371d5d3c432608aaae2e.tar.bz2
histacom2-eef1e2b945d0eefd8dfd371d5d3c432608aaae2e.zip
repo: Improve gitignore and gitattributes
The gitignore has been improved to ignore the following: - IDE configuration for Visual Studio, VSCode, and Rider - OS files for macOS, Linux, and Windows The gitattributes has been improved to properly diff the following: - Normalise line endings - Common Files - .md, .png, etc - C# Files - Visual Studio Files
Diffstat (limited to 'TimeHACK.Main/OS/Win2K')
-rw-r--r--TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.Designer.cs364
-rw-r--r--TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.cs214
-rw-r--r--TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.resx244
3 files changed, 411 insertions, 411 deletions
diff --git a/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.Designer.cs b/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.Designer.cs
index e580b9c..7688ca0 100644
--- a/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.Designer.cs
+++ b/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.Designer.cs
@@ -1,182 +1,182 @@
-namespace TimeHACK.OS.Win2K.Win2KApps
-{
- partial class SurviveTheDay
- {
- /// <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();
- this.words = new System.Windows.Forms.Label();
- this.time = new System.Windows.Forms.Label();
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.button3 = new System.Windows.Forms.Button();
- this.button4 = new System.Windows.Forms.Button();
- this.button5 = new System.Windows.Forms.Button();
- this.gameoverlbl = new System.Windows.Forms.Label();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.SuspendLayout();
- //
- // words
- //
- this.words.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.words.ForeColor = System.Drawing.Color.White;
- this.words.Location = new System.Drawing.Point(35, 35);
- this.words.Name = "words";
- this.words.Size = new System.Drawing.Size(568, 149);
- this.words.TabIndex = 2;
- this.words.Text = "Welcome to Survive The Day.\r\nYour goal is simple.\r\nMake it from 4 AM to midnight " +
- "without dying.\r\nThe time will be displayed in the bottom right corner.\r\nGood luc" +
- "k... you WILL need it.";
- //
- // time
- //
- this.time.Font = new System.Drawing.Font("Courier New", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.time.ForeColor = System.Drawing.Color.Red;
- this.time.Location = new System.Drawing.Point(514, 409);
- this.time.Name = "time";
- this.time.Size = new System.Drawing.Size(89, 19);
- this.time.TabIndex = 3;
- this.time.Text = "--:-- --";
- this.time.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // button1
- //
- this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button1.Font = new System.Drawing.Font("Courier New", 12F);
- this.button1.ForeColor = System.Drawing.Color.White;
- this.button1.Location = new System.Drawing.Point(35, 227);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(568, 28);
- this.button1.TabIndex = 4;
- this.button1.Tag = "start";
- this.button1.Text = "Play";
- this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.choice_click);
- //
- // button2
- //
- this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button2.Font = new System.Drawing.Font("Courier New", 12F);
- this.button2.ForeColor = System.Drawing.Color.White;
- this.button2.Location = new System.Drawing.Point(35, 261);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(568, 28);
- this.button2.TabIndex = 5;
- this.button2.Text = "--";
- this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Visible = false;
- this.button2.Click += new System.EventHandler(this.choice_click);
- //
- // button3
- //
- this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button3.Font = new System.Drawing.Font("Courier New", 12F);
- this.button3.ForeColor = System.Drawing.Color.White;
- this.button3.Location = new System.Drawing.Point(35, 295);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(568, 28);
- this.button3.TabIndex = 6;
- this.button3.Text = "--";
- this.button3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.button3.UseVisualStyleBackColor = true;
- this.button3.Visible = false;
- this.button3.Click += new System.EventHandler(this.choice_click);
- //
- // button4
- //
- this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button4.Font = new System.Drawing.Font("Courier New", 12F);
- this.button4.ForeColor = System.Drawing.Color.White;
- this.button4.Location = new System.Drawing.Point(35, 329);
- this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(568, 28);
- this.button4.TabIndex = 7;
- this.button4.Text = "--";
- this.button4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.button4.UseVisualStyleBackColor = true;
- this.button4.Visible = false;
- this.button4.Click += new System.EventHandler(this.choice_click);
- //
- // button5
- //
- this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.button5.Font = new System.Drawing.Font("Courier New", 12F);
- this.button5.ForeColor = System.Drawing.Color.White;
- this.button5.Location = new System.Drawing.Point(35, 363);
- this.button5.Name = "button5";
- this.button5.Size = new System.Drawing.Size(568, 28);
- this.button5.TabIndex = 8;
- this.button5.Text = "--";
- this.button5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.button5.UseVisualStyleBackColor = true;
- this.button5.Visible = false;
- this.button5.Click += new System.EventHandler(this.choice_click);
- //
- // gameoverlbl
- //
- this.gameoverlbl.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold);
- this.gameoverlbl.ForeColor = System.Drawing.Color.Red;
- this.gameoverlbl.Location = new System.Drawing.Point(35, 192);
- this.gameoverlbl.Name = "gameoverlbl";
- this.gameoverlbl.Size = new System.Drawing.Size(568, 21);
- this.gameoverlbl.TabIndex = 10;
- this.gameoverlbl.Text = "GAME OVER: No death, this shouldn\'t show in game!";
- this.gameoverlbl.Visible = false;
- //
- // SurviveTheDay
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.Black;
- this.Controls.Add(this.gameoverlbl);
- this.Controls.Add(this.button5);
- this.Controls.Add(this.button4);
- this.Controls.Add(this.button3);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.time);
- this.Controls.Add(this.words);
- this.Name = "SurviveTheDay";
- this.Size = new System.Drawing.Size(635, 459);
- this.ResumeLayout(false);
-
- }
-
- #endregion
- private System.Windows.Forms.Label words;
- private System.Windows.Forms.Label time;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.Button button3;
- private System.Windows.Forms.Button button4;
- private System.Windows.Forms.Button button5;
- private System.Windows.Forms.Label gameoverlbl;
- private System.Windows.Forms.Timer timer1;
- }
-}
+namespace TimeHACK.OS.Win2K.Win2KApps
+{
+ partial class SurviveTheDay
+ {
+ /// <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();
+ this.words = new System.Windows.Forms.Label();
+ this.time = new System.Windows.Forms.Label();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button2 = new System.Windows.Forms.Button();
+ this.button3 = new System.Windows.Forms.Button();
+ this.button4 = new System.Windows.Forms.Button();
+ this.button5 = new System.Windows.Forms.Button();
+ this.gameoverlbl = new System.Windows.Forms.Label();
+ this.timer1 = new System.Windows.Forms.Timer(this.components);
+ this.SuspendLayout();
+ //
+ // words
+ //
+ this.words.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.words.ForeColor = System.Drawing.Color.White;
+ this.words.Location = new System.Drawing.Point(35, 35);
+ this.words.Name = "words";
+ this.words.Size = new System.Drawing.Size(568, 149);
+ this.words.TabIndex = 2;
+ this.words.Text = "Welcome to Survive The Day.\r\nYour goal is simple.\r\nMake it from 4 AM to midnight " +
+ "without dying.\r\nThe time will be displayed in the bottom right corner.\r\nGood luc" +
+ "k... you WILL need it.";
+ //
+ // time
+ //
+ this.time.Font = new System.Drawing.Font("Courier New", 12F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.time.ForeColor = System.Drawing.Color.Red;
+ this.time.Location = new System.Drawing.Point(514, 409);
+ this.time.Name = "time";
+ this.time.Size = new System.Drawing.Size(89, 19);
+ this.time.TabIndex = 3;
+ this.time.Text = "--:-- --";
+ this.time.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // button1
+ //
+ this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button1.Font = new System.Drawing.Font("Courier New", 12F);
+ this.button1.ForeColor = System.Drawing.Color.White;
+ this.button1.Location = new System.Drawing.Point(35, 227);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(568, 28);
+ this.button1.TabIndex = 4;
+ this.button1.Tag = "start";
+ this.button1.Text = "Play";
+ this.button1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button1.UseVisualStyleBackColor = true;
+ this.button1.Click += new System.EventHandler(this.choice_click);
+ //
+ // button2
+ //
+ this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button2.Font = new System.Drawing.Font("Courier New", 12F);
+ this.button2.ForeColor = System.Drawing.Color.White;
+ this.button2.Location = new System.Drawing.Point(35, 261);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(568, 28);
+ this.button2.TabIndex = 5;
+ this.button2.Text = "--";
+ this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button2.UseVisualStyleBackColor = true;
+ this.button2.Visible = false;
+ this.button2.Click += new System.EventHandler(this.choice_click);
+ //
+ // button3
+ //
+ this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button3.Font = new System.Drawing.Font("Courier New", 12F);
+ this.button3.ForeColor = System.Drawing.Color.White;
+ this.button3.Location = new System.Drawing.Point(35, 295);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(568, 28);
+ this.button3.TabIndex = 6;
+ this.button3.Text = "--";
+ this.button3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button3.UseVisualStyleBackColor = true;
+ this.button3.Visible = false;
+ this.button3.Click += new System.EventHandler(this.choice_click);
+ //
+ // button4
+ //
+ this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button4.Font = new System.Drawing.Font("Courier New", 12F);
+ this.button4.ForeColor = System.Drawing.Color.White;
+ this.button4.Location = new System.Drawing.Point(35, 329);
+ this.button4.Name = "button4";
+ this.button4.Size = new System.Drawing.Size(568, 28);
+ this.button4.TabIndex = 7;
+ this.button4.Text = "--";
+ this.button4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button4.UseVisualStyleBackColor = true;
+ this.button4.Visible = false;
+ this.button4.Click += new System.EventHandler(this.choice_click);
+ //
+ // button5
+ //
+ this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button5.Font = new System.Drawing.Font("Courier New", 12F);
+ this.button5.ForeColor = System.Drawing.Color.White;
+ this.button5.Location = new System.Drawing.Point(35, 363);
+ this.button5.Name = "button5";
+ this.button5.Size = new System.Drawing.Size(568, 28);
+ this.button5.TabIndex = 8;
+ this.button5.Text = "--";
+ this.button5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button5.UseVisualStyleBackColor = true;
+ this.button5.Visible = false;
+ this.button5.Click += new System.EventHandler(this.choice_click);
+ //
+ // gameoverlbl
+ //
+ this.gameoverlbl.Font = new System.Drawing.Font("Courier New", 12F, System.Drawing.FontStyle.Bold);
+ this.gameoverlbl.ForeColor = System.Drawing.Color.Red;
+ this.gameoverlbl.Location = new System.Drawing.Point(35, 192);
+ this.gameoverlbl.Name = "gameoverlbl";
+ this.gameoverlbl.Size = new System.Drawing.Size(568, 21);
+ this.gameoverlbl.TabIndex = 10;
+ this.gameoverlbl.Text = "GAME OVER: No death, this shouldn\'t show in game!";
+ this.gameoverlbl.Visible = false;
+ //
+ // SurviveTheDay
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.Black;
+ this.Controls.Add(this.gameoverlbl);
+ this.Controls.Add(this.button5);
+ this.Controls.Add(this.button4);
+ this.Controls.Add(this.button3);
+ this.Controls.Add(this.button2);
+ this.Controls.Add(this.button1);
+ this.Controls.Add(this.time);
+ this.Controls.Add(this.words);
+ this.Name = "SurviveTheDay";
+ this.Size = new System.Drawing.Size(635, 459);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ private System.Windows.Forms.Label words;
+ private System.Windows.Forms.Label time;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Button button4;
+ private System.Windows.Forms.Button button5;
+ private System.Windows.Forms.Label gameoverlbl;
+ private System.Windows.Forms.Timer timer1;
+ }
+}
diff --git a/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.cs b/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.cs
index f4b199f..7c8bbe7 100644
--- a/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.cs
+++ b/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.cs
@@ -1,107 +1,107 @@
-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.Threading;
-using Newtonsoft.Json.Linq;
-
-namespace TimeHACK.OS.Win2K.Win2KApps
-{
- public partial class SurviveTheDay : UserControl
- {
- public SurviveTheDay()
- {
- InitializeComponent();
- }
-
- private void typer(string newtxt, string overtxt, bool over)
- {
- SoundPlayer beep = new SoundPlayer(Properties.Resources.std_beep);
- SoundPlayer overbeep = new SoundPlayer(Properties.Resources.std_gobeep);
- this.Invoke(new Action(() =>
- {
- words.Text = "";
- gameoverlbl.Text = "";
- gameoverlbl.Show();
- }));
-
- foreach (char c in newtxt)
- {
- this.Invoke(new Action(() =>
- {
- words.Text += c;
- }));
- beep.Play();
- Thread.Sleep(40);
- }
-
- if (over)
- {
- Thread.Sleep(200);
- foreach (char c in overtxt)
- {
- this.Invoke(new Action(() =>
- {
- gameoverlbl.Text += c;
- }));
- overbeep.Play();
- Thread.Sleep(150);
- }
- }
- this.Invoke(new Action(() =>
- {
- if ((string)button1.Tag != "") button1.Show();
- if ((string)button2.Tag != "") button2.Show();
- if ((string)button3.Tag != "") button3.Show();
- if ((string)button4.Tag != "") button4.Show();
- if ((string)button5.Tag != "") button5.Show();
- }));
- }
-
- private void choice_click(object sender, EventArgs e)
- {
- Button btn = sender as Button;
-
- if (btn.Tag == null | (string)btn.Tag == "") return;
- if ((string)btn.Tag == "quit")
- {
- this.ParentForm.Close();
- return;
- }
-
- JObject story = JObject.Parse(Properties.Resources.std_story);
- JToken path = story[(string)btn.Tag];
-
- button1.Text = (string)path["btn1txt"];
- button1.Tag = (string)path["btn1tag"];
- button1.Hide();
- button2.Text = (string)path["btn2txt"];
- button2.Tag = (string)path["btn2tag"];
- button2.Hide();
- button3.Text = (string)path["btn3txt"];
- button3.Tag = (string)path["btn3tag"];
- button3.Hide();
- button4.Text = (string)path["btn4txt"];
- button4.Tag = (string)path["btn4tag"];
- button4.Hide();
- button5.Text = (string)path["btn5txt"];
- button5.Tag = (string)path["btn5tag"];
- button5.Hide();
-
- time.Text = (string)path["time"];
-
- var t = new Thread(new ThreadStart(() =>
- {
- typer((string)path["txt"], (string)path["overtxt"], (bool)path["over"]);
- }));
- t.IsBackground = true;
- t.Start();
- }
- }
-}
+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.Threading;
+using Newtonsoft.Json.Linq;
+
+namespace TimeHACK.OS.Win2K.Win2KApps
+{
+ public partial class SurviveTheDay : UserControl
+ {
+ public SurviveTheDay()
+ {
+ InitializeComponent();
+ }
+
+ private void typer(string newtxt, string overtxt, bool over)
+ {
+ SoundPlayer beep = new SoundPlayer(Properties.Resources.std_beep);
+ SoundPlayer overbeep = new SoundPlayer(Properties.Resources.std_gobeep);
+ this.Invoke(new Action(() =>
+ {
+ words.Text = "";
+ gameoverlbl.Text = "";
+ gameoverlbl.Show();
+ }));
+
+ foreach (char c in newtxt)
+ {
+ this.Invoke(new Action(() =>
+ {
+ words.Text += c;
+ }));
+ beep.Play();
+ Thread.Sleep(40);
+ }
+
+ if (over)
+ {
+ Thread.Sleep(200);
+ foreach (char c in overtxt)
+ {
+ this.Invoke(new Action(() =>
+ {
+ gameoverlbl.Text += c;
+ }));
+ overbeep.Play();
+ Thread.Sleep(150);
+ }
+ }
+ this.Invoke(new Action(() =>
+ {
+ if ((string)button1.Tag != "") button1.Show();
+ if ((string)button2.Tag != "") button2.Show();
+ if ((string)button3.Tag != "") button3.Show();
+ if ((string)button4.Tag != "") button4.Show();
+ if ((string)button5.Tag != "") button5.Show();
+ }));
+ }
+
+ private void choice_click(object sender, EventArgs e)
+ {
+ Button btn = sender as Button;
+
+ if (btn.Tag == null | (string)btn.Tag == "") return;
+ if ((string)btn.Tag == "quit")
+ {
+ this.ParentForm.Close();
+ return;
+ }
+
+ JObject story = JObject.Parse(Properties.Resources.std_story);
+ JToken path = story[(string)btn.Tag];
+
+ button1.Text = (string)path["btn1txt"];
+ button1.Tag = (string)path["btn1tag"];
+ button1.Hide();
+ button2.Text = (string)path["btn2txt"];
+ button2.Tag = (string)path["btn2tag"];
+ button2.Hide();
+ button3.Text = (string)path["btn3txt"];
+ button3.Tag = (string)path["btn3tag"];
+ button3.Hide();
+ button4.Text = (string)path["btn4txt"];
+ button4.Tag = (string)path["btn4tag"];
+ button4.Hide();
+ button5.Text = (string)path["btn5txt"];
+ button5.Tag = (string)path["btn5tag"];
+ button5.Hide();
+
+ time.Text = (string)path["time"];
+
+ var t = new Thread(new ThreadStart(() =>
+ {
+ typer((string)path["txt"], (string)path["overtxt"], (bool)path["over"]);
+ }));
+ t.IsBackground = true;
+ t.Start();
+ }
+ }
+}
diff --git a/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.resx b/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.resx
index aac33d5..1f666f2 100644
--- a/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.resx
+++ b/TimeHACK.Main/OS/Win2K/Win2KApps/SurviveTheDay.resx
@@ -1,123 +1,123 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
- <value>17, 17</value>
- </metadata>
+<?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="timer1.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