示例#1
0
 // static void => call it if you want to raise the HtmlParsingDoneEvent
 public static void ParseHtml(string sFullPath, int iMaxTimeExecution, HtmlParsingDoneEventHandler myHtmlParsingDoneEvent)
 {
     using (HTMLParserWrapper myHTMLParser = new HTMLParserWrapper(sFullPath, iMaxTimeExecution, myHtmlParsingDoneEvent))
     {
         // nothing to do
     }
 }
 // static void => call it if you want to raise the HtmlParsingDoneEvent        
 public static void ParseHtml(string sFullPath, int iMaxTimeExecution, HtmlParsingDoneEventHandler myHtmlParsingDoneEvent)        
 {
     using (HTMLParserWrapper myHTMLParser = new HTMLParserWrapper(sFullPath, iMaxTimeExecution, myHtmlParsingDoneEvent))            
     {                
     // nothing to do            
     }        
 }