示例#1
0
 /// <summary>
 /// Reloads page for current URL
 /// </summary>
 public void reload()
 {
     if (browser != null)
     {
         browser.Refresh(WebBrowserRefreshOption.Completely);
         do
         {
             // Run events while waiting
             Trifle.Wait(50);
         } while (loading);
     }
 }
示例#2
0
 /// <summary>
 /// Reloads page for current URL
 /// </summary>
 public void reload()
 {
     if (browser != null)
     {
         // Set navigation type
         this.navigationType = "Reload";
         browser.Refresh(WebBrowserRefreshOption.Completely);
         do
         {
             // Run events while waiting
             Trifle.Wait(50);
         } while (loading);
     }
 }