Exemple #1
0
        public void goForward(object sender)
        {
            WebBackForwardList history = webView.BackForwardList;

            if (history.ForwardListCount > 0)
            {
                history.GoForward();
                loadHistoryItem(history.CurrentItem);
            }
        }
        public void goBack(Cocoa.Object sender)
        {
            WebBackForwardList history = webView.BackForwardList;

            if (history.BackListCount > 0)
            {
                history.GoBack();
                loadHistoryItem(history.CurrentItem);
            }
        }