From fcc9810a8e5ba613c43c185f7a8b32292d22191b Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 1 Oct 2017 20:18:03 -0400 Subject: webchat 1999 is created --- .../OS/Win98/Win98Apps/WebChat1999.Designer.cs | 193 +++++++++++++++++++++ 1 file changed, 193 insertions(+) create mode 100644 Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs (limited to 'Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs') diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs new file mode 100644 index 0000000..cdc1f49 --- /dev/null +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs @@ -0,0 +1,193 @@ +namespace Histacom2.OS.Win98.Win98Apps +{ + partial class WebChat1999 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.button2 = new Histacom2.Engine.UI.ClassicButton(); + this.label7 = new Histacom2.Engine.UI.ClassicLabel(); + this.typechat = new System.Windows.Forms.TextBox(); + this.label6 = new Histacom2.Engine.UI.ClassicLabel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.label5 = new Histacom2.Engine.UI.ClassicLabel(); + this.button5 = new Histacom2.Engine.UI.ClassicButton(); + this.history = new System.Windows.Forms.TextBox(); + this.label1 = new Histacom2.Engine.UI.ClassicLabel(); + this.listBox1 = new System.Windows.Forms.ListBox(); + this.panel1.SuspendLayout(); + this.SuspendLayout(); + // + // button2 + // + this.button2.AdaptBackColorWithTheme = false; + this.button2.AdaptFontWithTheme = false; + this.button2.AdaptForeColorWithTheme = false; + this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.button2.BackColor = System.Drawing.Color.NavajoWhite; + this.button2.DialogResult = System.Windows.Forms.DialogResult.None; + this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.button2.ForeColor = System.Drawing.Color.Black; + this.button2.Location = new System.Drawing.Point(425, 419); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(71, 23); + this.button2.TabIndex = 16; + this.button2.Text = "Speak"; + // + // label7 + // + this.label7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label7.Location = new System.Drawing.Point(13, 17); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(483, 14); + this.label7.TabIndex = 15; + this.label7.Text = "To speak, just type in the bottom textbox, then click the Speak button or press E" + + "nter."; + // + // typechat + // + this.typechat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.typechat.BackColor = System.Drawing.Color.PapayaWhip; + this.typechat.Location = new System.Drawing.Point(13, 419); + this.typechat.Name = "typechat"; + this.typechat.Size = new System.Drawing.Size(405, 20); + this.typechat.TabIndex = 14; + // + // label6 + // + this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.label6.Font = new System.Drawing.Font("Courier New", 8.75F); + this.label6.Location = new System.Drawing.Point(552, 378); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(98, 14); + this.label6.TabIndex = 13; + this.label6.Text = "File Sharing"; + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.panel1.BackColor = System.Drawing.Color.Linen; + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.label5); + this.panel1.Controls.Add(this.button5); + this.panel1.Location = new System.Drawing.Point(507, 397); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(195, 51); + this.panel1.TabIndex = 12; + // + // label5 + // + this.label5.Location = new System.Drawing.Point(10, 18); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(87, 13); + this.label5.TabIndex = 1; + this.label5.Text = "tdistortv2.exe"; + // + // button5 + // + this.button5.AdaptBackColorWithTheme = true; + this.button5.AdaptFontWithTheme = true; + this.button5.AdaptForeColorWithTheme = true; + this.button5.BackColor = System.Drawing.Color.NavajoWhite; + this.button5.DialogResult = System.Windows.Forms.DialogResult.None; + this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.button5.ForeColor = System.Drawing.Color.Black; + this.button5.Location = new System.Drawing.Point(103, 13); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(75, 23); + this.button5.TabIndex = 0; + this.button5.Text = "Download"; + // + // history + // + this.history.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.history.BackColor = System.Drawing.Color.LemonChiffon; + this.history.Location = new System.Drawing.Point(13, 36); + this.history.Multiline = true; + this.history.Name = "history"; + this.history.ReadOnly = true; + this.history.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.history.Size = new System.Drawing.Size(483, 377); + this.history.TabIndex = 11; + // + // label1 + // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label1.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(557, 17); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(94, 17); + this.label1.TabIndex = 10; + this.label1.Text = "Users Logged In"; + // + // listBox1 + // + this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.listBox1.BackColor = System.Drawing.Color.PapayaWhip; + this.listBox1.FormattingEnabled = true; + this.listBox1.Location = new System.Drawing.Point(507, 36); + this.listBox1.Name = "listBox1"; + this.listBox1.Size = new System.Drawing.Size(195, 329); + this.listBox1.TabIndex = 9; + // + // WebChat1999 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Silver; + this.Controls.Add(this.button2); + this.Controls.Add(this.label7); + this.Controls.Add(this.typechat); + this.Controls.Add(this.label6); + this.Controls.Add(this.panel1); + this.Controls.Add(this.history); + this.Controls.Add(this.label1); + this.Controls.Add(this.listBox1); + this.Name = "WebChat1999"; + this.Size = new System.Drawing.Size(724, 462); + this.panel1.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private Engine.UI.ClassicButton button2; + private Engine.UI.ClassicLabel label7; + private System.Windows.Forms.TextBox typechat; + private Engine.UI.ClassicLabel label6; + private System.Windows.Forms.Panel panel1; + private Engine.UI.ClassicLabel label5; + private Engine.UI.ClassicButton button5; + private System.Windows.Forms.TextBox history; + private Engine.UI.ClassicLabel label1; + private System.Windows.Forms.ListBox listBox1; + } +} -- cgit v1.2.3 From b23771cd187a3235330ef7ead9121b12f1dfdee7 Mon Sep 17 00:00:00 2001 From: lempamo Date: Mon, 2 Oct 2017 13:14:46 -0400 Subject: added in welcome screen to wc99 --- .../OS/Win95/Win95Apps/WebChat1998.Designer.cs | 11 +- .../OS/Win98/Win98Apps/WebChat1999.Designer.cs | 129 +++++++++++++++++++-- Histacom2/OS/Win98/Win98Apps/WebChat1999.resx | 10 ++ 3 files changed, 133 insertions(+), 17 deletions(-) (limited to 'Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs') diff --git a/Histacom2/OS/Win95/Win95Apps/WebChat1998.Designer.cs b/Histacom2/OS/Win95/Win95Apps/WebChat1998.Designer.cs index e57ff1b..05e6add 100644 --- a/Histacom2/OS/Win95/Win95Apps/WebChat1998.Designer.cs +++ b/Histacom2/OS/Win95/Win95Apps/WebChat1998.Designer.cs @@ -46,7 +46,7 @@ this.label3 = new Histacom2.Engine.UI.ClassicLabel(); this.label4 = new Histacom2.Engine.UI.ClassicLabel(); this.textBox1 = new System.Windows.Forms.TextBox(); - this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox2 = new Histacom2.Engine.UI.ClassicLabel(); this.label7 = new Histacom2.Engine.UI.ClassicLabel(); this.button2 = new Histacom2.Engine.UI.ClassicButton(); this.button3 = new Histacom2.Engine.UI.ClassicButton(); @@ -220,12 +220,9 @@ // textBox2 // this.textBox2.BackColor = System.Drawing.Color.Silver; - this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.textBox2.Location = new System.Drawing.Point(331, 72); - this.textBox2.Multiline = true; + this.textBox2.Location = new System.Drawing.Point(328, 58); this.textBox2.Name = "textBox2"; - this.textBox2.ReadOnly = true; - this.textBox2.Size = new System.Drawing.Size(151, 86); + this.textBox2.Size = new System.Drawing.Size(154, 76); this.textBox2.TabIndex = 0; this.textBox2.Text = "A screen name is a temporary name which will be displayed in place of your real n" + "ame. To keep your identity safe, please do not enter your real name in this chat" + @@ -328,7 +325,7 @@ private Histacom2.Engine.UI.ClassicLabel label5; private System.Windows.Forms.TextBox typechat; private System.Windows.Forms.Panel login; - private System.Windows.Forms.TextBox textBox2; + private Histacom2.Engine.UI.ClassicLabel textBox2; private System.Windows.Forms.TextBox textBox1; private Histacom2.Engine.UI.ClassicLabel label4; private Histacom2.Engine.UI.ClassicLabel label3; diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs index cdc1f49..3f825fe 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs @@ -28,6 +28,7 @@ /// private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WebChat1999)); this.button2 = new Histacom2.Engine.UI.ClassicButton(); this.label7 = new Histacom2.Engine.UI.ClassicLabel(); this.typechat = new System.Windows.Forms.TextBox(); @@ -38,7 +39,16 @@ this.history = new System.Windows.Forms.TextBox(); this.label1 = new Histacom2.Engine.UI.ClassicLabel(); this.listBox1 = new System.Windows.Forms.ListBox(); + this.login = new System.Windows.Forms.Panel(); + this.label2 = new Histacom2.Engine.UI.ClassicLabel(); + this.txtscreenname = new System.Windows.Forms.TextBox(); + this.button1 = new Histacom2.Engine.UI.ClassicButton(); + this.label3 = new Histacom2.Engine.UI.ClassicLabel(); + this.label4 = new Histacom2.Engine.UI.ClassicLabel(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new Histacom2.Engine.UI.ClassicLabel(); this.panel1.SuspendLayout(); + this.login.SuspendLayout(); this.SuspendLayout(); // // button2 @@ -51,16 +61,16 @@ this.button2.DialogResult = System.Windows.Forms.DialogResult.None; this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); this.button2.ForeColor = System.Drawing.Color.Black; - this.button2.Location = new System.Drawing.Point(425, 419); + this.button2.Location = new System.Drawing.Point(425, 428); this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(71, 23); + this.button2.Size = new System.Drawing.Size(71, 20); this.button2.TabIndex = 16; this.button2.Text = "Speak"; // // label7 // this.label7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label7.Location = new System.Drawing.Point(13, 17); + this.label7.Location = new System.Drawing.Point(13, 12); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(483, 14); this.label7.TabIndex = 15; @@ -71,7 +81,7 @@ // this.typechat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.typechat.BackColor = System.Drawing.Color.PapayaWhip; - this.typechat.Location = new System.Drawing.Point(13, 419); + this.typechat.Location = new System.Drawing.Point(14, 428); this.typechat.Name = "typechat"; this.typechat.Size = new System.Drawing.Size(405, 20); this.typechat.TabIndex = 14; @@ -95,7 +105,7 @@ this.panel1.Controls.Add(this.button5); this.panel1.Location = new System.Drawing.Point(507, 397); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(195, 51); + this.panel1.Size = new System.Drawing.Size(198, 51); this.panel1.TabIndex = 12; // // label5 @@ -127,19 +137,19 @@ | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.history.BackColor = System.Drawing.Color.LemonChiffon; - this.history.Location = new System.Drawing.Point(13, 36); + this.history.Location = new System.Drawing.Point(13, 32); this.history.Multiline = true; this.history.Name = "history"; this.history.ReadOnly = true; this.history.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.history.Size = new System.Drawing.Size(483, 377); + this.history.Size = new System.Drawing.Size(483, 390); this.history.TabIndex = 11; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.Font = new System.Drawing.Font("Calibri", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(557, 17); + this.label1.Location = new System.Drawing.Point(561, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(94, 17); this.label1.TabIndex = 10; @@ -151,16 +161,105 @@ | System.Windows.Forms.AnchorStyles.Right))); this.listBox1.BackColor = System.Drawing.Color.PapayaWhip; this.listBox1.FormattingEnabled = true; - this.listBox1.Location = new System.Drawing.Point(507, 36); + this.listBox1.Location = new System.Drawing.Point(510, 32); this.listBox1.Name = "listBox1"; - this.listBox1.Size = new System.Drawing.Size(195, 329); + this.listBox1.Size = new System.Drawing.Size(195, 342); this.listBox1.TabIndex = 9; + // + // login + // + this.login.BackColor = System.Drawing.Color.Moccasin; + this.login.Controls.Add(this.label2); + this.login.Controls.Add(this.txtscreenname); + this.login.Controls.Add(this.button1); + this.login.Controls.Add(this.label3); + this.login.Controls.Add(this.label4); + this.login.Controls.Add(this.textBox1); + this.login.Controls.Add(this.textBox2); + this.login.Location = new System.Drawing.Point(126, 106); + this.login.Name = "login"; + this.login.Size = new System.Drawing.Size(468, 242); + this.login.TabIndex = 17; + // + // label2 + // + this.label2.Location = new System.Drawing.Point(303, 161); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(161, 13); + this.label2.TabIndex = 6; + this.label2.Text = "Please type in a screen name."; + // + // txtscreenname + // + this.txtscreenname.Location = new System.Drawing.Point(306, 181); + this.txtscreenname.Name = "txtscreenname"; + this.txtscreenname.Size = new System.Drawing.Size(151, 20); + this.txtscreenname.TabIndex = 5; + // + // button1 + // + this.button1.AdaptBackColorWithTheme = true; + this.button1.AdaptFontWithTheme = true; + this.button1.AdaptForeColorWithTheme = true; + this.button1.BackColor = System.Drawing.Color.NavajoWhite; + this.button1.DialogResult = System.Windows.Forms.DialogResult.None; + this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.button1.ForeColor = System.Drawing.Color.Black; + this.button1.Location = new System.Drawing.Point(306, 208); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(151, 23); + this.button1.TabIndex = 4; + this.button1.Text = "Login"; + // + // label3 + // + this.label3.Font = new System.Drawing.Font("Helvetica CE Narrow", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.Location = new System.Drawing.Point(168, 10); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(144, 21); + this.label3.TabIndex = 3; + this.label3.Text = "Welcome to WebChat"; + // + // label4 + // + this.label4.Font = new System.Drawing.Font("Calibri", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(10, 40); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(100, 16); + this.label4.TabIndex = 2; + this.label4.Text = "Chat Room Rules:"; + // + // textBox1 + // + this.textBox1.BackColor = System.Drawing.Color.White; + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBox1.Font = new System.Drawing.Font("Adobe Gothic Std B", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(128))); + this.textBox1.Location = new System.Drawing.Point(10, 59); + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(279, 172); + this.textBox1.TabIndex = 1; + this.textBox1.Text = resources.GetString("textBox1.Text"); + this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // + // textBox2 + // + this.textBox2.BackColor = System.Drawing.Color.Moccasin; + this.textBox2.Location = new System.Drawing.Point(303, 58); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(154, 76); + this.textBox2.TabIndex = 0; + this.textBox2.Text = "A screen name is a temporary name which will be displayed in place of your real n" + + "ame. To keep your identity safe, please do not enter your real name in this chat" + + "room."; // // WebChat1999 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Silver; + this.Controls.Add(this.login); this.Controls.Add(this.button2); this.Controls.Add(this.label7); this.Controls.Add(this.typechat); @@ -172,6 +271,8 @@ this.Name = "WebChat1999"; this.Size = new System.Drawing.Size(724, 462); this.panel1.ResumeLayout(false); + this.login.ResumeLayout(false); + this.login.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -189,5 +290,13 @@ private System.Windows.Forms.TextBox history; private Engine.UI.ClassicLabel label1; private System.Windows.Forms.ListBox listBox1; + private System.Windows.Forms.Panel login; + private Engine.UI.ClassicLabel label2; + private System.Windows.Forms.TextBox txtscreenname; + private Engine.UI.ClassicButton button1; + private Engine.UI.ClassicLabel label3; + private Engine.UI.ClassicLabel label4; + private System.Windows.Forms.TextBox textBox1; + private Engine.UI.ClassicLabel textBox2; } } diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx b/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx index 1af7de1..87bbfca 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx @@ -117,4 +117,14 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + If you do not agree to the following rules below DO NOT log into the chat: + +No Bullying +No Swearing +No Hacking +No Illegal Files/ Piracy + +Failure to follow these rules will result in serious irreversible consequences. + \ No newline at end of file -- cgit v1.2.3 From 13db16e701ea7b9d4090903b11c7715089a10a0b Mon Sep 17 00:00:00 2001 From: lempamo Date: Tue, 3 Oct 2017 21:08:00 -0400 Subject: start of webchat1999 script --- Histacom2/OS/Win98/Win98.cs | 16 +--- .../OS/Win98/Win98Apps/WebChat1999.Designer.cs | 3 + Histacom2/OS/Win98/Win98Apps/WebChat1999.cs | 91 ++++++++++++++++++++++ Histacom2/OS/Win98/Win98Apps/WebChat1999.resx | 3 +- 4 files changed, 100 insertions(+), 13 deletions(-) (limited to 'Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs') diff --git a/Histacom2/OS/Win98/Win98.cs b/Histacom2/OS/Win98/Win98.cs index 32b7aca..351456d 100644 --- a/Histacom2/OS/Win98/Win98.cs +++ b/Histacom2/OS/Win98/Win98.cs @@ -303,11 +303,9 @@ namespace Histacom2.OS.Win98 else { // It is an actual file on the disk - WinClassicWindowsExplorer we = new WinClassicWindowsExplorer(); // If it is a directory - if (Directory.Exists(objListViewItem.Tag.ToString())) { we.CurrentDirectory = objListViewItem.Tag.ToString(); @@ -317,13 +315,7 @@ namespace Histacom2.OS.Win98 app.BringToFront(); startmenu.Hide(); } - else - { - // Just open the file... - - we.OpenFile(objListViewItem.Tag.ToString()); - } - + else we.OpenFile(objListViewItem.Tag.ToString()); // Just open the file... } } } @@ -338,10 +330,10 @@ namespace Histacom2.OS.Win98 } private void WebChatToolStripMenuItem_Click(object sender, EventArgs e) { - WebChat1998 wc = new WebChat1998(); - WinClassic app = wm.Init(wc, "Web Chat 1998", null, true, true); + WebChat1999 wc = new WebChat1999(); + WinClassic app = wm.Init(wc, "Web Chat 1999", null, true, true); - AddTaskBarItem(app, app.Tag.ToString(), "Web Chat 1998", null); + AddTaskBarItem(app, app.Tag.ToString(), "Web Chat 1999", null); app.BringToFront(); startmenu.Hide(); diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs index 3f825fe..5c47344 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs @@ -66,6 +66,7 @@ this.button2.Size = new System.Drawing.Size(71, 20); this.button2.TabIndex = 16; this.button2.Text = "Speak"; + this.button2.Click += new System.EventHandler(this.button2_Click); // // label7 // @@ -210,6 +211,7 @@ this.button1.Size = new System.Drawing.Size(151, 23); this.button1.TabIndex = 4; this.button1.Text = "Login"; + this.button1.Click += new System.EventHandler(this.button1_Click); // // label3 // @@ -270,6 +272,7 @@ this.Controls.Add(this.listBox1); this.Name = "WebChat1999"; this.Size = new System.Drawing.Size(724, 462); + this.Load += new System.EventHandler(this.WebChat1999_Load); this.panel1.ResumeLayout(false); this.login.ResumeLayout(false); this.login.PerformLayout(); diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs index 25c4298..120618f 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs @@ -7,14 +7,105 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; +using System.Media; +using Histacom2.Engine; +using Histacom2.Engine.Template; namespace Histacom2.OS.Win98.Win98Apps { public partial class WebChat1999 : UserControl { + WindowManager wm = new WindowManager(); + + SoundPlayer join = new SoundPlayer(Properties.Resources.AIMbuddyjoin); + SoundPlayer leave = new SoundPlayer(Properties.Resources.AIMbuddyleave); + SoundPlayer send = new SoundPlayer(Properties.Resources.AIMmessagesent); + SoundPlayer receive = new SoundPlayer(Properties.Resources.AIMmessagereceived); + SoundPlayer file = new SoundPlayer(Properties.Resources.AIMfile); + + int chatStage = 0; + public WebChat1999() { InitializeComponent(); } + + private void WebChat1999_Load(object sender, EventArgs e) + { + button5.Hide(); + label5.Hide(); + } + + private void button1_Click(object sender, EventArgs e) + { + if (txtscreenname.Text == "") { wm.StartInfobox95("Invalid Username", "Your username cannot be blank.", InfoboxType.Warning, InfoboxButtons.OK); return; } + if (txtscreenname.Text.Length > 12) { wm.StartInfobox95("Invalid Username", "Your username needs to be less than 12 characters.", InfoboxType.Warning, InfoboxButtons.OK); return; } + if (txtscreenname.Text.Contains(" ")) { wm.StartInfobox95("Invalid Username", "Your username cannot contain spaces.", InfoboxType.Warning, InfoboxButtons.OK); return; } + if (txtscreenname.Text == "SkyHigh" | txtscreenname.Text == "rain49" | txtscreenname.Text == "12padams") { wm.StartInfobox95("Invalid Username", "That username is already taken.", InfoboxType.Warning, InfoboxButtons.OK); return; } + ParentForm.AcceptButton = button2; + TitleScreen.username = txtscreenname.Text; + login.Hide(); + listBox1.Items.Add(TitleScreen.username); + listBox1.Items.Add("ThatDude"); + history.AppendText("System: " + TitleScreen.username + " has joined the chat." + Environment.NewLine); join.Play(); + chatScript1(); + } + + private async void chatScript1() + { + await Task.Delay(2000); + history.AppendText("ThatDude: oh hello!" + Environment.NewLine); receive.Play(); + await Task.Delay(5500); + history.AppendText("ThatDude: just wondering, are you that guy who travelled thru time with nothing but a computer?" + Environment.NewLine); receive.Play(); + await Task.Delay(250); + chatStage = 1; + await Task.Delay(7000); + if (chatStage == 1) { chatStage = 4; chatScript2(); } + } + + private async void chatScript2() + { + if (chatStage == 2) + { + await Task.Delay(3000); + history.AppendText("ThatDude: omg really??" + Environment.NewLine); receive.Play(); + await Task.Delay(4000); + history.AppendText("ThatDude: hold on, let me check your ip to make sure" + Environment.NewLine); receive.Play(); + } + else if (chatStage == 3) + { + await Task.Delay(2800); + history.AppendText("ThatDude: oh.." + Environment.NewLine); receive.Play(); + await Task.Delay(5500); + history.AppendText("ThatDude: lemme just check your ip quick to find out who ya are tho" + Environment.NewLine); receive.Play(); + } + else + { + await Task.Delay(3300); + history.AppendText("ThatDude: hold on, let me just check your ip real quick" + Environment.NewLine); receive.Play(); + } + await Task.Delay(5000); + history.AppendText("ThatDude: YES! ITS YOU!" + Environment.NewLine); receive.Play(); + await Task.Delay(3500); + history.AppendText("ThatDude: hey just wait a sec here" + Environment.NewLine); receive.Play(); + } + + private void button2_Click(object sender, EventArgs e) + { + string msg = typechat.Text; + if (typechat.Text != "") history.AppendText(TitleScreen.username + ": " + typechat.Text + Environment.NewLine); + typechat.Text = ""; send.Play(); + + switch (chatStage) + { + case 1: // td asks are you the time distorter guy + if (msg.Contains("yes") | msg.Contains("yea") | msg.Contains("yep") | msg.Contains("thats me") | msg.Contains("that's me")) chatStage = 2; + else if (msg.Contains("no") | msg.Contains("nope") | msg.Contains("not")) chatStage = 3; + else chatStage = 4; + + chatScript2(); + break; + } + } } } diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx b/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx index 87bbfca..813f7c9 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.resx @@ -118,7 +118,8 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - If you do not agree to the following rules below DO NOT log into the chat: + +If you do not agree to the following rules below DO NOT log into the chat: No Bullying No Swearing -- cgit v1.2.3 From 20888be46b9c9ae14db62e746e61eeea48920ef5 Mon Sep 17 00:00:00 2001 From: lempamo Date: Tue, 3 Oct 2017 21:08:34 -0400 Subject: quick minor design fix --- Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs') diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs index 5c47344..cf5fd9c 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs @@ -170,6 +170,7 @@ // login // this.login.BackColor = System.Drawing.Color.Moccasin; + this.login.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.login.Controls.Add(this.label2); this.login.Controls.Add(this.txtscreenname); this.login.Controls.Add(this.button1); @@ -199,9 +200,9 @@ // // button1 // - this.button1.AdaptBackColorWithTheme = true; - this.button1.AdaptFontWithTheme = true; - this.button1.AdaptForeColorWithTheme = true; + this.button1.AdaptBackColorWithTheme = false; + this.button1.AdaptFontWithTheme = false; + this.button1.AdaptForeColorWithTheme = false; this.button1.BackColor = System.Drawing.Color.NavajoWhite; this.button1.DialogResult = System.Windows.Forms.DialogResult.None; this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); -- cgit v1.2.3 From fae49b1d952d12e14f129d5067ccfadc7721f879 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 8 Oct 2017 18:33:46 -0400 Subject: a bit more story in wc99 --- .../OS/Win98/Win98Apps/WebChat1999.Designer.cs | 2 +- Histacom2/OS/Win98/Win98Apps/WebChat1999.cs | 38 ++++++++++++++-------- 2 files changed, 25 insertions(+), 15 deletions(-) (limited to 'Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs') diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs index cf5fd9c..8b3a5bb 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs @@ -180,7 +180,7 @@ this.login.Controls.Add(this.textBox2); this.login.Location = new System.Drawing.Point(126, 106); this.login.Name = "login"; - this.login.Size = new System.Drawing.Size(468, 242); + this.login.Size = new System.Drawing.Size(469, 243); this.login.TabIndex = 17; // // label2 diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs index 120618f..c770ec5 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs @@ -67,27 +67,37 @@ namespace Histacom2.OS.Win98.Win98Apps { if (chatStage == 2) { - await Task.Delay(3000); - history.AppendText("ThatDude: omg really??" + Environment.NewLine); receive.Play(); - await Task.Delay(4000); - history.AppendText("ThatDude: hold on, let me check your ip to make sure" + Environment.NewLine); receive.Play(); + await Task.Delay(3000); history.AppendText("ThatDude: omg really??" + Environment.NewLine); receive.Play(); + await Task.Delay(4000); history.AppendText("ThatDude: hold on, let me check your ip to make sure" + Environment.NewLine); receive.Play(); } else if (chatStage == 3) { - await Task.Delay(2800); - history.AppendText("ThatDude: oh.." + Environment.NewLine); receive.Play(); - await Task.Delay(5500); - history.AppendText("ThatDude: lemme just check your ip quick to find out who ya are tho" + Environment.NewLine); receive.Play(); + await Task.Delay(2800); history.AppendText("ThatDude: oh.." + Environment.NewLine); receive.Play(); + await Task.Delay(5500); history.AppendText("ThatDude: lemme just check your ip quick to find out who ya are tho" + Environment.NewLine); receive.Play(); } else { - await Task.Delay(3300); - history.AppendText("ThatDude: hold on, let me just check your ip real quick" + Environment.NewLine); receive.Play(); + await Task.Delay(3300); history.AppendText("ThatDude: hold on, let me just check your ip real quick" + Environment.NewLine); receive.Play(); } - await Task.Delay(5000); - history.AppendText("ThatDude: YES! ITS YOU!" + Environment.NewLine); receive.Play(); - await Task.Delay(3500); - history.AppendText("ThatDude: hey just wait a sec here" + Environment.NewLine); receive.Play(); + await Task.Delay(5000); history.AppendText("ThatDude: YES! ITS YOU!" + Environment.NewLine); receive.Play(); + await Task.Delay(3000); history.AppendText("ThatDude: hey just wait a sec here" + Environment.NewLine); receive.Play(); + await Task.Delay(3000); listBox1.Items.Remove("ThatDude"); listBox1.Items.Add("HiddenHacker"); history.AppendText("System: ThatDude is now known as HiddenHacker." + Environment.NewLine); file.Play(); + await Task.Delay(5000); history.AppendText("HiddenHacker: yeah, sorry bout the fake name" + Environment.NewLine); receive.Play(); + await Task.Delay(5000); history.AppendText("HiddenHacker: anyways, ive waited about a whole year to see if that time distorter worked" + Environment.NewLine); receive.Play(); + await Task.Delay(3000); history.AppendText("HiddenHacker: and it looks like it worked" + Environment.NewLine); receive.Play(); + await Task.Delay(5000); history.AppendText("HiddenHacker: now, after you left 1998, 12padams tried to attack me, but closed my telnet before he could" + Environment.NewLine); receive.Play(); + await Task.Delay(2500); history.AppendText("HiddenHacker: since then, ive been in hiding" + Environment.NewLine); receive.Play(); + await Task.Delay(3000); history.AppendText("HiddenHacker: lately, ive been hiding in this webchat" + Environment.NewLine); receive.Play(); + await Task.Delay(4000); history.AppendText("HiddenHacker: because he'll never think to look in his own app!" + Environment.NewLine); receive.Play(); + await Task.Delay(2000); listBox1.Items.Add("12padams"); history.AppendText("System: 12padams has joined the chat." + Environment.NewLine); join.Play(); + await Task.Delay(2500); history.AppendText("12padams: at last i found you!" + Environment.NewLine); receive.Play(); + await Task.Delay(1500); history.AppendText("HiddenHacker: oh CRAP!" + Environment.NewLine); receive.Play(); + await Task.Delay(1500); history.AppendText("HiddenHacker: quick! lets logout!" + Environment.NewLine); receive.Play(); + await Task.Delay(1250); history.AppendText("12padams: oh come on guys.." + Environment.NewLine); receive.Play(); + await Task.Delay(1750); history.AppendText("HiddenHacker: no! i cant close the webchat!" + Environment.NewLine); receive.Play(); + await Task.Delay(2500); history.AppendText("12padams: please just calm down, im not angry with you" + Environment.NewLine); receive.Play(); + await Task.Delay(1750); history.AppendText("HiddenHacker: wait, really?" + Environment.NewLine); receive.Play(); + await Task.Delay(1100); history.AppendText("12padams: yea" + Environment.NewLine); receive.Play(); } private void button2_Click(object sender, EventArgs e) -- cgit v1.2.3 From 718fc7c680c17508b9d97cc92e8a3632cb999bb7 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 15 Oct 2017 00:45:50 -0400 Subject: the hype is real, folks --- Histacom2/GlobalPrograms/WinClassicDownloader.cs | 3 + Histacom2/Histacom2.csproj | 10 ++ Histacom2/OS/Win98/Win98.cs | 11 +- .../OS/Win98/Win98Apps/WebChat1999.Designer.cs | 1 + Histacom2/OS/Win98/Win98Apps/WebChat1999.cs | 13 +++ .../Win98Apps/WinClassicTimeDistorter2.Designer.cs | 117 ++++++++++++++++++++ .../OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs | 20 ++++ .../Win98/Win98Apps/WinClassicTimeDistorter2.resx | 120 +++++++++++++++++++++ .../Win98/Win98Apps/WinClassicWindowsExplorer.cs | 2 +- 9 files changed, 291 insertions(+), 6 deletions(-) create mode 100644 Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs create mode 100644 Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs create mode 100644 Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.resx (limited to 'Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs') diff --git a/Histacom2/GlobalPrograms/WinClassicDownloader.cs b/Histacom2/GlobalPrograms/WinClassicDownloader.cs index eaf253a..3778de8 100644 --- a/Histacom2/GlobalPrograms/WinClassicDownloader.cs +++ b/Histacom2/GlobalPrograms/WinClassicDownloader.cs @@ -58,6 +58,9 @@ namespace Histacom2.GlobalPrograms case "Downloading: Web Chat 1999": CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Web Chat Setup.exe", "web chat 99 setup", 11, 37048); break; + case "Downloading: Time Distorter 0.2": + CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "tdistortv2.exe", "time distorter setup", 11, 21583); + break; } /* if (appName.Text == "Downloading: Skindows 95") { diff --git a/Histacom2/Histacom2.csproj b/Histacom2/Histacom2.csproj index 8e7b31b..da772b6 100644 --- a/Histacom2/Histacom2.csproj +++ b/Histacom2/Histacom2.csproj @@ -334,6 +334,12 @@ WinClassicIE4.cs + + UserControl + + + WinClassicTimeDistorter2.cs + UserControl @@ -546,6 +552,9 @@ WinClassicIE4.cs + + WinClassicTimeDistorter2.cs + WinClassicWindowsExplorer.cs Designer @@ -859,6 +868,7 @@ + diff --git a/Histacom2/OS/Win98/Win98.cs b/Histacom2/OS/Win98/Win98.cs index 417c91c..3365def 100644 --- a/Histacom2/OS/Win98/Win98.cs +++ b/Histacom2/OS/Win98/Win98.cs @@ -31,6 +31,7 @@ namespace Histacom2.OS.Win98 public bool webchatInstalled = false; public bool hiddenpadamsFound = false; + private WinClassicTimeDistorter2 distort; // Init the form public Windows98() @@ -455,11 +456,11 @@ namespace Histacom2.OS.Win98 private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e) { - //distort = new Histacom2WinClassicTimeDistorter("1998", "1999", 150, Hack2.StartObjective); - //WinClassic app = wm.StartWin95(distort, "Time Distorter", null, false, true); - //AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); - //app.BringToFront(); - //startmenu.Hide(); + distort = new WinClassicTimeDistorter2(); + WinClassic app = wm.Init(distort, "Time Distorter", null, false, false, false); + AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); + app.BringToFront(); + startmenu.Hide(); } private void FTPClientToolStripMenuItem_Click(object sender, EventArgs e) diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs index 8b3a5bb..f6714a2 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs @@ -131,6 +131,7 @@ this.button5.Size = new System.Drawing.Size(75, 23); this.button5.TabIndex = 0; this.button5.Text = "Download"; + this.button5.Click += new System.EventHandler(this.button5_Click); // // history // diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs index 004d99f..75786d9 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs @@ -10,6 +10,7 @@ using System.Windows.Forms; using System.Media; using Histacom2.Engine; using Histacom2.Engine.Template; +using Histacom2.GlobalPrograms; namespace Histacom2.OS.Win98.Win98Apps { @@ -128,6 +129,9 @@ namespace Histacom2.OS.Win98.Win98Apps await Task.Delay(3500); history.AppendText($"12padams: as i said before, make sure that {SaveSystem.ProfileName} arrives safely in 2000" + Environment.NewLine); receive.Play(); await Task.Delay(3000); history.AppendText("HiddenHacker: but what if he doesnt make it?" + Environment.NewLine); receive.Play(); await Task.Delay(3500); history.AppendText("12padams: we will cross that bridge when we come to it" + Environment.NewLine); receive.Play(); + await Task.Delay(3500); history.AppendText("12padams: anyways, im gonna upload 0.2 right now" + Environment.NewLine); receive.Play(); + await Task.Delay(4500); history.AppendText("System: File \"tdistortv2\" has been uploaded." + Environment.NewLine); label5.Show(); button5.Show(); file.Play(); + await Task.Delay(4500); history.AppendText($"12padams: go ahead and install it {SaveSystem.ProfileName}, we'll wait" + Environment.NewLine); receive.Play(); } private void button2_Click(object sender, EventArgs e) @@ -147,5 +151,14 @@ namespace Histacom2.OS.Win98.Win98Apps break; } } + + private void button5_Click(object sender, EventArgs e) + { + WinClassicDownloader opendownload = new WinClassicDownloader(); + WindowManager wm = new WindowManager(); + wm.Init(opendownload, "Downloader", null, false, true); + opendownload.appName.Text = "Downloading: Time Distorter 0.2"; + opendownload.amountToDL = 42; + } } } diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs new file mode 100644 index 0000000..1b32d32 --- /dev/null +++ b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.Designer.cs @@ -0,0 +1,117 @@ +namespace Histacom2.OS.Win98.Win98Apps +{ + partial class WinClassicTimeDistorter2 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.classicButton1 = new Histacom2.Engine.UI.ClassicButton(); + this.classicLabel1 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicLabel2 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicLabel3 = new Histacom2.Engine.UI.ClassicLabel(); + this.classicLabel4 = new Histacom2.Engine.UI.ClassicLabel(); + this.SuspendLayout(); + // + // classicButton1 + // + this.classicButton1.AdaptBackColorWithTheme = true; + this.classicButton1.AdaptFontWithTheme = false; + this.classicButton1.AdaptForeColorWithTheme = true; + this.classicButton1.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.classicButton1.BackColor = System.Drawing.Color.Silver; + this.classicButton1.DialogResult = System.Windows.Forms.DialogResult.None; + this.classicButton1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F); + this.classicButton1.ForeColor = System.Drawing.Color.Black; + this.classicButton1.Location = new System.Drawing.Point(21, 174); + this.classicButton1.Name = "classicButton1"; + this.classicButton1.Size = new System.Drawing.Size(276, 23); + this.classicButton1.TabIndex = 0; + this.classicButton1.Text = "Take me to 2000!"; + // + // classicLabel1 + // + this.classicLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.classicLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.classicLabel1.Location = new System.Drawing.Point(25, 34); + this.classicLabel1.Name = "classicLabel1"; + this.classicLabel1.Size = new System.Drawing.Size(270, 120); + this.classicLabel1.TabIndex = 1; + this.classicLabel1.Text = "1999"; + // + // classicLabel2 + // + this.classicLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.classicLabel2.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.classicLabel2.Location = new System.Drawing.Point(104, 13); + this.classicLabel2.Name = "classicLabel2"; + this.classicLabel2.Size = new System.Drawing.Size(108, 18); + this.classicLabel2.TabIndex = 2; + this.classicLabel2.Text = "Current Year:"; + // + // classicLabel3 + // + this.classicLabel3.Anchor = System.Windows.Forms.AnchorStyles.Bottom; + this.classicLabel3.Location = new System.Drawing.Point(24, 154); + this.classicLabel3.Name = "classicLabel3"; + this.classicLabel3.Size = new System.Drawing.Size(289, 13); + this.classicLabel3.TabIndex = 3; + this.classicLabel3.Text = "Click the button to take a one-way trip to the year 2000!"; + // + // classicLabel4 + // + this.classicLabel4.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.classicLabel4.Location = new System.Drawing.Point(21, 177); + this.classicLabel4.Name = "classicLabel4"; + this.classicLabel4.Size = new System.Drawing.Size(276, 17); + this.classicLabel4.TabIndex = 4; + this.classicLabel4.Text = "Preparing to travel. ETA: N/A secs."; + this.classicLabel4.Visible = false; + // + // WinClassicTimeDistorter2 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Silver; + this.Controls.Add(this.classicLabel4); + this.Controls.Add(this.classicLabel3); + this.Controls.Add(this.classicLabel2); + this.Controls.Add(this.classicLabel1); + this.Controls.Add(this.classicButton1); + this.Name = "WinClassicTimeDistorter2"; + this.Size = new System.Drawing.Size(313, 211); + this.ResumeLayout(false); + + } + + #endregion + + private Engine.UI.ClassicButton classicButton1; + private Engine.UI.ClassicLabel classicLabel1; + private Engine.UI.ClassicLabel classicLabel2; + private Engine.UI.ClassicLabel classicLabel3; + private Engine.UI.ClassicLabel classicLabel4; + } +} diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs new file mode 100644 index 0000000..62c055b --- /dev/null +++ b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs @@ -0,0 +1,20 @@ +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 Histacom2.OS.Win98.Win98Apps +{ + public partial class WinClassicTimeDistorter2 : UserControl + { + public WinClassicTimeDistorter2() + { + InitializeComponent(); + } + } +} diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.resx b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs index 2f27899..f261cb2 100644 --- a/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WinClassicWindowsExplorer.cs @@ -329,7 +329,7 @@ namespace Histacom2.OS.Win95.Win95Apps WinClassicInstaller instTd = new WinClassicInstaller("Time Distorter 0.2"); instTd.InstallCompleted += (sendr, args) => { - TitleScreen.frm95.TimeDistorterToolStripMenuItem.Visible = true; + TitleScreen.frm98.TimeDistorterToolStripMenuItem.Visible = true; }; WinClassic appTd = wm.Init(instTd, "Time Distorter Setup", null, true, true); Program.AddTaskbarItem(appTd, appTd.Tag.ToString(), "Time Distorter Setup", null); -- cgit v1.2.3 From 455d5bd4366242bc928fe230bb1d9bd8d54f679c Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 15 Oct 2017 13:04:06 -0400 Subject: some script stuff in hack3 --- Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs | 6 +++++- Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs | 2 +- Histacom2/OS/Win98/Win98Apps/WebChat1999.cs | 2 +- Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs | 1 + 4 files changed, 8 insertions(+), 3 deletions(-) (limited to 'Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs') diff --git a/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs b/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs index 9758a7e..3519986 100644 --- a/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs +++ b/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs @@ -13,7 +13,11 @@ namespace Histacom2.OS.Win98.Win98Apps.Story public static async void StartObjective() { - + await Task.Delay(4000); TitleScreen.frm98.webchat.history.AppendText("12padams: it looks like the time distorter has been activated"); TitleScreen.frm98.webchat.receive.Play(); // 176 + await Task.Delay(3000); TitleScreen.frm98.webchat.history.AppendText("HiddenHacker: so, in 3 minutes we see the results?"); TitleScreen.frm98.webchat.receive.Play(); // 173 + await Task.Delay(4000); TitleScreen.frm98.webchat.history.AppendText($"12padams: wrong. 3 minutes for {SaveSystem.ProfileName}, and a year for us"); TitleScreen.frm98.webchat.receive.Play(); // 169 + await Task.Delay(3000); TitleScreen.frm98.webchat.history.AppendText("HiddenHacker: oh great, not another year"); TitleScreen.frm98.webchat.receive.Play(); // 166 + await Task.Delay(4000); TitleScreen.frm98.webchat.history.AppendText("12padams: hey, tests like these take time, be patient"); TitleScreen.frm98.webchat.receive.Play(); // 162 } } } diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs index f6714a2..3c2fc4c 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.Designer.cs @@ -292,7 +292,6 @@ private System.Windows.Forms.Panel panel1; private Engine.UI.ClassicLabel label5; private Engine.UI.ClassicButton button5; - private System.Windows.Forms.TextBox history; private Engine.UI.ClassicLabel label1; private System.Windows.Forms.ListBox listBox1; private System.Windows.Forms.Panel login; @@ -303,5 +302,6 @@ private Engine.UI.ClassicLabel label4; private System.Windows.Forms.TextBox textBox1; private Engine.UI.ClassicLabel textBox2; + public System.Windows.Forms.TextBox history; } } diff --git a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs index 75786d9..f5bfb24 100644 --- a/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs +++ b/Histacom2/OS/Win98/Win98Apps/WebChat1999.cs @@ -21,7 +21,7 @@ namespace Histacom2.OS.Win98.Win98Apps SoundPlayer join = new SoundPlayer(Properties.Resources.AIMbuddyjoin); SoundPlayer leave = new SoundPlayer(Properties.Resources.AIMbuddyleave); SoundPlayer send = new SoundPlayer(Properties.Resources.AIMmessagesent); - SoundPlayer receive = new SoundPlayer(Properties.Resources.AIMmessagereceived); + public SoundPlayer receive = new SoundPlayer(Properties.Resources.AIMmessagereceived); SoundPlayer file = new SoundPlayer(Properties.Resources.AIMfile); int chatStage = 0; diff --git a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs index 764a615..f2477ad 100644 --- a/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs +++ b/Histacom2/OS/Win98/Win98Apps/WinClassicTimeDistorter2.cs @@ -25,6 +25,7 @@ namespace Histacom2.OS.Win98.Win98Apps classicLabel4.Show(); classicLabel4.Text = "Preparing to travel. ETA: 180 secs."; timer1.Start(); + Story.Hack3.StartObjective(); } private void timer1_Tick(object sender, EventArgs e) -- cgit v1.2.3