internal GeckoDocument(nsIDOMHTMLDocument document) : base(document) { this.DomDocument = document; // since a reference is stored in the base class, we only need a weak reference here Marshal.ChangeWrapperHandleStrength(DomDocument, true); }
public Document (WebBrowser control, nsIDOMHTMLDocument document) : base (control, document) { if (control.platform != control.enginePlatform) this.node = nsDOMHTMLDocument.GetProxy (control, document); else this.node = document; }
public PropertiesDialog(nsIDOMHTMLDocument doc) : this() { txtTitle.Text = nsString.Get(doc.GetTitle); txtAddress.Text = nsString.Get(doc.GetURL); txtReferrer.Text = nsString.Get(doc.GetReferrer); nsIDOMDocumentType docType = doc.GetDoctype(); if (docType != null) lblDocType.Text = nsString.Get(docType.GetPublicId); else lblDocType.Text = "(none)"; }
public Document(WebBrowser control, nsIDOMHTMLDocument document) : base(control, document) { if (control.platform != control.enginePlatform) { this.node = nsDOMHTMLDocument.GetProxy(control, document); } else { this.node = document; } }
public PropertiesDialog(nsIDOMHTMLDocument doc) : this() { txtTitle.Text = nsString.Get(doc.GetTitle); txtAddress.Text = nsString.Get(doc.GetURL); txtReferrer.Text = nsString.Get(doc.GetReferrer); nsIDOMDocumentType docType = doc.GetDoctype(); if (docType != null) { lblDocType.Text = nsString.Get(docType.GetPublicId); } else { lblDocType.Text = "(none)"; } }
internal static GeckoDocument Create(nsIDOMHTMLDocument document) { return((document == null) ? null : new GeckoDocument(document)); }
internal GeckoDocument(nsIDOMHTMLDocument document) : base(document) { this.DomDocument = document; }
internal GeckoDocument(nsIDOMHTMLDocument document) : base(document) { this._domHtmlDocument = document; }
public static nsIDOMHTMLDocument GetProxy(Mono.WebBrowser.IWebBrowser control, nsIDOMHTMLDocument obj) { object o = Base.GetProxyForObject(control, typeof(nsIDOMHTMLDocument).GUID, obj); return(o as nsIDOMHTMLDocument); }