Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }