Exemple #1
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     // Following should solve the "Windowless ActiveX controls are not supported" bug.
     if (disposing)
     {
         axWebBrowser.Dispose();
         axWebBrowser.ContainingControl = null;
         if (null != axWebBrowser && null != components)
         {
             components.Dispose();
         }
     }
     base.Dispose(disposing);
 }