internal void LoadHtml(string html) { if (_loadHtmlMethod == null) { _loadHtmlMethod = BrowserType.GetMethod("LoadHtml", new Type[] { typeof(String) }); } _loadHtmlMethod.Invoke(_webBrowser, new object[] { html }); }
internal bool HasInputFocus() { if (_hasInputFocusMethod == null) { _hasInputFocusMethod = BrowserType.GetMethod("HasInputFocus"); } return((bool)_hasInputFocusMethod.Invoke(_webBrowser, null)); }
internal void RemoveInputFocus() { if (_removeInputFocusMethod == null) { _removeInputFocusMethod = BrowserType.GetMethod("RemoveInputFocus"); } _removeInputFocusMethod.Invoke(_webBrowser, null); }
internal void SetInputFocus() { if (_setInputFocusMethod == null) { _setInputFocusMethod = BrowserType.GetMethod("SetInputFocus"); } _setInputFocusMethod.Invoke(_webBrowser, null); }
internal bool Focus() { if (_focusMethod == null) { _focusMethod = BrowserType.GetMethod("Focus"); } return((bool)_focusMethod.Invoke(_webBrowser, null)); }
internal void Dispose() { if (_disposeMethod == null) { _disposeMethod = BrowserType.GetMethod("Dispose"); } _disposeMethod.Invoke(_webBrowser, null); }