aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-03-28 13:34:52 -0400
committerlempamo <[email protected]>2017-03-28 13:34:52 -0400
commit2106eb8a4ee65dc15373b40202cb520959494da1 (patch)
tree92ee4d49c139394fa3bc9db2078cfd15dcf203a0
parent772a0ebfb2a50f5bb67abb97363ff51851a25473 (diff)
downloadhistacom2-2106eb8a4ee65dc15373b40202cb520959494da1.tar.gz
histacom2-2106eb8a4ee65dc15373b40202cb520959494da1.tar.bz2
histacom2-2106eb8a4ee65dc15373b40202cb520959494da1.zip
forward button working
-rw-r--r--TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs1
-rw-r--r--TimeHACK.Main/WinClassicForms/WinClassicIE4.cs5
2 files changed, 6 insertions, 0 deletions
diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs
index 324b86a..a49a493 100644
--- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs
+++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs
@@ -2380,6 +2380,7 @@
this.Button2.Text = "Forward";
this.Button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.Button2.UseVisualStyleBackColor = true;
+ this.Button2.Click += new System.EventHandler(this.Button2_Click);
//
// Button1
//
diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs
index e82f4c2..a1503f4 100644
--- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs
+++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs
@@ -142,5 +142,10 @@ namespace TimeHACK.WinClassicForms
historylocation--;
}
}
+
+ private void Button2_Click(object sender, EventArgs e)
+ {
+ if(browsinghistory[historylocation+1] != null) goToSite(browsinghistory[historylocation + 1], false);
+ }
}
}