Exemple #1
0
 public void Initialize()
 {
     try
     {
         WindowProc.KillProcess("iexplore");
         ie = new SHDocVw.InternetExplorer();
     }
     catch (Exception ex)
     {
         SharpLog.Error("WebProcInit", ex.ToString());
     }
 }
Exemple #2
0
 public void Close()
 {
     try
     {
         if (ie != null)
         {
             //ie.Quit();
             WindowProc.KillProcess("iexplore");
         }
     }
     catch (Exception ex)
     {
         SharpLog.Error("WebProcClose", ex.ToString());
     }
 }