protected void CreateDocument()
 {
     try
     {
         this.tridentDocument  = (System.Design.NativeMethods.IHTMLDocument2) new System.Design.NativeMethods.HTMLDocument();
         this.tridentOleObject = (System.Design.NativeMethods.IOleObject) this.tridentDocument;
         this.tridentOleObject.SetClientSite(this);
         ((System.Design.NativeMethods.IPersistStreamInit) this.tridentDocument).InitNew();
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }
 protected void CreateDocument()
 {
     try
     {
         this.tridentDocument = (System.Design.NativeMethods.IHTMLDocument2) new System.Design.NativeMethods.HTMLDocument();
         this.tridentOleObject = (System.Design.NativeMethods.IOleObject) this.tridentDocument;
         this.tridentOleObject.SetClientSite(this);
         ((System.Design.NativeMethods.IPersistStreamInit) this.tridentDocument).InitNew();
     }
     catch (Exception exception)
     {
         throw exception;
     }
 }