public string ExecuteJS(string script, bool withResult = false) { checkLive(); if (withResult) { return(AwesomiumWebControl.ExecuteJavascriptWithResult(script)); } AwesomiumWebControl.ExecuteJavascript(script); return(null); }
public new void Dispose() { AwesomiumWebControl?.Dispose(); WebCore.Shutdown(); System.Runtime.InteropServices.Marshal.ReleaseComObject(this); }
public void LoadHtml(string html) { checkLive(); AwesomiumWebControl.LoadHTML(html); }
public bool Reload(bool ignoreCache = false) { checkLive(); return(AwesomiumWebControl.Reload(ignoreCache)); }
public void GoForward() { checkLive(); AwesomiumWebControl.GoForward(); }
public bool CanGoForward() { checkLive(); return(AwesomiumWebControl.CanGoForward()); }
public void GoBack() { checkLive(); AwesomiumWebControl.GoBack(); }
public bool CanGoBack() { checkLive(); return(AwesomiumWebControl.CanGoBack()); }