private void raiseEvent_eWebPageLoadedAndProcess(O2HtmlPage hpHtmPage) { if (eWebPageLoadedAndProcess != null) eWebPageLoadedAndProcess.Invoke(hpHtmPage); }
public void analyzeLoadedUrlHtmlObjects() { lbLinks.Items.Clear(); dgvFormFields.Rows.Clear(); var hpHtmPage = new O2HtmlPage(); try { /*hpHtmPage = O2HtmlPage.getHtmlPageObjectFromWebBrowserObject(webBrowser); foreach (O2Link lLink in hpHtmPage.lLinks) lbLinks.Items.Add(lLink);*/ } catch (Exception ex) { DI.log.error("in analyzeLoadedUrlHtmlObjects:{0}", ex.Message); } setDataViewersEnableState(true); raiseEvent_eWebPageLoadedAndProcess(hpHtmPage); }