diff options
Diffstat (limited to 'TimeHACK.Main/WinClassicForms')
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs | 2 | ||||
| -rw-r--r-- | TimeHACK.Main/WinClassicForms/WinClassicIE4.cs | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs index 324b86a..f167732 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.Designer.cs @@ -2341,6 +2341,7 @@ this.Button5.Text = "Home"; this.Button5.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.Button5.UseVisualStyleBackColor = true; + this.Button5.Click += new System.EventHandler(this.Button5_Click); // // Button4 // @@ -2380,6 +2381,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 055de48..61cd5a1 100644 --- a/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs +++ b/TimeHACK.Main/WinClassicForms/WinClassicIE4.cs @@ -98,7 +98,7 @@ namespace TimeHACK.WinClassicForms browsinghistory[i] = null; } int j = 0; - for (int i = 0; i < browsinghistory.Count; i++) + for (int i = 1; i < browsinghistory.Count; i++) { if (browsinghistory[i] != null && browsinghistory[i] != "") j++; } @@ -142,5 +142,15 @@ namespace TimeHACK.WinClassicForms historylocation--; } } + + private void Button2_Click(object sender, EventArgs e) + { + if(browsinghistory[historylocation+1] != null) goToSite(browsinghistory[historylocation + 1], false); + } + + private void Button5_Click(object sender, EventArgs e) + { + goToSite("www.microsoft.com/internetexplorer4/welcome", false); + } } } |
