aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-10-28 20:00:14 -0500
committerGitHub <[email protected]>2017-10-28 20:00:14 -0500
commitb2e99d751dd7417599212df04c74cdeb60c6453e (patch)
tree0c3892ecc10e96943621419924fa717a5fdd0a6d /Histacom2/OS/Win95/Win95Apps
parent8501b2ff1483efc270216ec33fd93abccdb66253 (diff)
parent5a87139ba9f8ad29b7c3e8c0d4249e149e1eebd0 (diff)
downloadhistacom2-b2e99d751dd7417599212df04c74cdeb60c6453e.tar.gz
histacom2-b2e99d751dd7417599212df04c74cdeb60c6453e.tar.bz2
histacom2-b2e99d751dd7417599212df04c74cdeb60c6453e.zip
Merge pull request #172 from jtsshieh/master
Fixing bugs part 1
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/IE3Sites/12padams1998.cs3
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs2
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs13
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs33
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx2
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs15
-rw-r--r--Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs11
7 files changed, 56 insertions, 23 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/IE3Sites/12padams1998.cs b/Histacom2/OS/Win95/Win95Apps/IE3Sites/12padams1998.cs
index 9f4bfbd..f55ee45 100644
--- a/Histacom2/OS/Win95/Win95Apps/IE3Sites/12padams1998.cs
+++ b/Histacom2/OS/Win95/Win95Apps/IE3Sites/12padams1998.cs
@@ -15,6 +15,7 @@ namespace Histacom2.OS.Win95.Win95Apps.IE3Sites
{
public partial class _12padams1998 : UserControl
{
+ bool clicked = false;
public _12padams1998()
{
InitializeComponent();
@@ -47,6 +48,8 @@ namespace Histacom2.OS.Win95.Win95Apps.IE3Sites
private void label17_Click(object sender, EventArgs e)
{
+ if (clicked) return;
+ clicked = true;
label16.Text = "1̧͙̙̦̪͙͇̜̥͍̟͍̹̰̝͖̫̩͘͡͡9̸̨͏̖̱̗̣̥͕̲͈̬̦9͠҉̶̢͔̹̖͇̫̩̻̪̬͔̥̟̺̼̺̟̫8̷̴̶̱̩͖̟̠̬̻̼̳̰̺͚͜͞:̧͟͏̰̣̠̹͍͔̼͕̲͇̪̥̗̞͚͇̖ͅ ͏̙͇̮̤̠͇̜͚͈͇͔̠̙͜͡ͅÀ͏̰̮̞̲̠̩̳͙͓͉̭̼̠͕̣͇̜͎ͅd̢̩̝̙̩̭̫͓̮͙͔̘̥͝d̻̻̪̙͖̬͈͟͝e͠҉̨̧҉̯̙̹̝̟̺̰͖̹̞̻̝̖̪͉͍͇̬#҉̵̻̜͇̻̹͈̀͟ ̨̡̘͓͔̜̭̫͖͔̰̦̘̀#̛͓̬̭̦̹̙̭͕̕#̧͢͠͏̖̙͚͉͇̣̜̖ͅ#̜̝͚͓̳̘̭̣̲̟̤̖͇̬̠̯̠̀͠ ̢͚̲̞̯͎͙̪̗̜̹͙͓͉͢ͅ#̡͙̻̫̝̪͙͚̺̝͓̘̬̬͙͔̀̕͠#̴҉͖̲̺̱͖͈̭̭ͅ#̸̸̷̼̫̪̖̻̻͈̭̬͓̘͓̦̟̻̪͇̞̕#̸̢̨̻̗̣̠̥̖̜̜̖̺͍̝̗͓̦̳̫#̛͡҉̭̝̙̟̘̩̬͖͎̘̞̭̖͔̪̼̠͢ͅ#̰̜̭̹̻̖̬̺͘͡#̛̬̣̳͔͔̘̟͜͢͟͡#̷̨̼̺̤̥̞́͢͡ ̢̞̬͙͍̬̪̪̰̰̰̙̮͙͚͕̩̟͇̕͜ͅ#̶͙̣̣̦͈͈̫̕͡#̸̡̥̹̮͇̱̱͍͜͜͢#̵̢̧̦͙̮̮͔͖̞̮͚͞#̧̗̤̱̪̜͓̠͖̞̰͍͢#̧̱̳̻̖̝͇͜͞#̛́҉͍̩̞̬͔̬̪̻̯̩";
Thread.Sleep(100);
Refresh();
diff --git a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
index 77f63b5..577b38a 100644
--- a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
@@ -80,7 +80,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
await Task.Delay(2500);
Console.WriteLine("Command> Show Start Button");
TitleScreen.frm95.startbutton.Show();
- TitleScreen.frm95.desktopicons.BackgroundImage = null;
+ if (SaveSystem.currentTheme.defaultWallpaper != null) TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(SaveSystem.currentTheme.defaultWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height);
await Task.Delay(2900);
Console.WriteLine("12padams> OKAY, NOW YOU'VE DONE IT!");
await Task.Delay(2500);
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
index 63e056b..c112e61 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.Designer.cs
@@ -78,8 +78,12 @@
//
// btnLogin
//
+ this.btnLogin.AdaptBackColorWithTheme = true;
+ this.btnLogin.AdaptFontWithTheme = true;
+ this.btnLogin.AdaptForeColorWithTheme = true;
this.btnLogin.BackColor = System.Drawing.Color.Silver;
- this.btnLogin.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnLogin.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.btnLogin.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.btnLogin.ForeColor = System.Drawing.Color.Black;
this.btnLogin.Location = new System.Drawing.Point(585, 4);
this.btnLogin.Name = "btnLogin";
@@ -184,7 +188,12 @@
//
// btnCancel
//
+ this.btnCancel.AdaptBackColorWithTheme = true;
+ this.btnCancel.AdaptFontWithTheme = true;
+ this.btnCancel.AdaptForeColorWithTheme = true;
this.btnCancel.BackColor = System.Drawing.Color.Silver;
+ this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.btnCancel.ForeColor = System.Drawing.Color.Black;
this.btnCancel.Location = new System.Drawing.Point(3, 2);
this.btnCancel.Name = "btnCancel";
@@ -227,7 +236,7 @@
this.ftpFiles.UseCompatibleStateImageBehavior = false;
this.ftpFiles.View = System.Windows.Forms.View.List;
this.ftpFiles.Visible = false;
- this.ftpFiles.Click += new System.EventHandler(this.ftpItems_Click);
+ this.ftpFiles.DoubleClick += new System.EventHandler(this.ftpFiles_DoubleClick);
//
// fileIcons
//
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
index 1a0836b..bc28c3a 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.cs
@@ -56,7 +56,23 @@ namespace Histacom2.OS.Win95.Win95Apps
}
}
- private void ftpItems_Click(object sender, EventArgs e)
+
+ private void btnCancel_Click(object sender, EventArgs e)
+ {
+ ParentForm.Close();
+ }
+
+ private void WinClassicFTPClient_Load(object sender, EventArgs e)
+ {
+
+ }
+
+ private void topBar_Paint(object sender, PaintEventArgs e)
+ {
+ topBar.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
+ }
+
+ private void ftpFiles_DoubleClick(object sender, EventArgs e)
{
Point objDrawingPoint = ftpFiles.PointToClient(Cursor.Position);
ListViewItem objListViewItem = new ListViewItem();
@@ -117,20 +133,5 @@ namespace Histacom2.OS.Win95.Win95Apps
}
}
}
-
- private void btnCancel_Click(object sender, EventArgs e)
- {
- ParentForm.Close();
- }
-
- private void WinClassicFTPClient_Load(object sender, EventArgs e)
- {
-
- }
-
- private void topBar_Paint(object sender, PaintEventArgs e)
- {
- topBar.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
- }
}
}
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx
index 9dd3ac3..e03fcd1 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicFTPClient.resx
@@ -128,7 +128,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABe
- EgAAAk1TRnQBSQFMAgEBAwEAATABAAEwAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ EgAAAk1TRnQBSQFMAgEBAwEAAUABAAFAAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
index de2e4b0..34828cc 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicIE3.cs
@@ -34,6 +34,7 @@ namespace Histacom2.OS.Win95.Win95Apps
public static async void GoToPage(string url)
{
+ string newURL = url;
UserControl uc = new UserControl();
switch (url)
@@ -50,12 +51,24 @@ namespace Histacom2.OS.Win95.Win95Apps
case "www.12padams.com":
uc = new _12padams1998();
break;
+ case "12padams.com":
+ uc = new _12padams1998();
+ newURL = "www.12padams.com";
+ break;
+ case "google.com":
+ uc = new GoogleHome();
+ newURL = "www.google.com";
+ break;
+ case "google.stanford.edu":
+ uc = new GooglePrototype();
+ newURL = "www.google.stanford.edu";
+ break;
default:
uc = new IENoPage();
break;
}
- addressbar.Text = url;
+ addressbar.Text = newURL;
uc.Dock = DockStyle.Fill;
await Task.Delay(new Random().Next(500, 1500));
diff --git a/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs b/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
index 33ab4f2..9421bdc 100644
--- a/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
+++ b/Histacom2/OS/Win95/Win95Apps/WinClassicTimeDistorter.Designer.cs
@@ -104,10 +104,17 @@
//
// btnGo
//
- this.btnGo.Location = new System.Drawing.Point(162, 133);
+ this.btnGo.AdaptBackColorWithTheme = true;
+ this.btnGo.AdaptFontWithTheme = true;
+ this.btnGo.AdaptForeColorWithTheme = true;
+ this.btnGo.BackColor = System.Drawing.Color.Silver;
+ this.btnGo.DialogResult = System.Windows.Forms.DialogResult.None;
+ this.btnGo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
+ this.btnGo.ForeColor = System.Drawing.Color.Black;
+ this.btnGo.Location = new System.Drawing.Point(155, 133);
this.btnGo.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.btnGo.Name = "btnGo";
- this.btnGo.Size = new System.Drawing.Size(124, 23);
+ this.btnGo.Size = new System.Drawing.Size(131, 23);
this.btnGo.TabIndex = 7;
this.btnGo.Text = "Go To Destination Year";
this.btnGo.Click += new System.EventHandler(this.btnGo_Click);