Example #1
0
 public void GoForward()
 {
     if (!isUIThread)
     {
         Dispatcher.BeginInvoke(delegate() { GoForward(); }); return;
     }
     if (RhodesWebBrowser.CanGoForward)
     {
         RhodesWebBrowser.GoForward();
     }
 }
Example #2
0
 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();
         }
     }
 }
Example #3
0
 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();
         }
     }
 }