public void GoForward() { if (!isUIThread) { Dispatcher.BeginInvoke(delegate() { GoForward(); }); return; } if (RhodesWebBrowser.CanGoForward) { RhodesWebBrowser.GoForward(); } }
public void GoForward() { if (!isUIThread) { Dispatcher.BeginInvoke(delegate() { GoForward(); }); return; } if (isDefaultBrowser()) { if (RhodesWebBrowser.CanGoForward) { RhodesWebBrowser.GoForward(); } } else { if (((WebBrowser)((PivotItem)TabbarPivot.Items[TabbarPivot.SelectedIndex]).Content).CanGoForward) { ((WebBrowser)((PivotItem)TabbarPivot.Items[TabbarPivot.SelectedIndex]).Content).GoForward(); } } }
public void GoForward(int index) { if (!isUIThread) { Dispatcher.BeginInvoke(delegate() { GoForward(index); }); return; } if ((TabbarPivot.Items.Count == 0) || (index < 0) || (index >= TabbarPivot.Items.Count)) { if (RhodesWebBrowser.CanGoForward) { RhodesWebBrowser.GoForward(); } } else { if (((WebBrowser)((PivotItem)TabbarPivot.Items[index]).Content).CanGoForward) { ((WebBrowser)((PivotItem)TabbarPivot.Items[index]).Content).GoForward(); } } }