If the number supplied to numForward exceeds the number of previously visited entries in the history, the System.Windows.Forms.WebBrowser control will navigate to the last item in the history.
If there are no entries ahead of the current page in the navigation stack, calling HtmlHistory.Forward(int) will have no effect, but it will not raise an error.