예제 #1
0
		public DocumentType (WebBrowser control, nsIDOMDocumentType doctype)
			: base (control, doctype as nsIDOMNode)
		{
			if (control.platform != control.enginePlatform)
				this.doctype = nsDOMDocumentType.GetProxy (control, doctype);
			else
				this.doctype = doctype;
		}
예제 #2
0
		protected override void Dispose (bool disposing)
		{
			if (!disposed) {
				if (disposing) {
					this.resources.Clear ();
					this.doctype = null;
				}
			}
			base.Dispose (disposing);
		}
예제 #3
0
 public DocumentType(WebBrowser control, nsIDOMDocumentType doctype)
     : base(control, doctype as nsIDOMNode)
 {
     if (control.platform != control.enginePlatform)
     {
         this.doctype = nsDOMDocumentType.GetProxy(control, doctype);
     }
     else
     {
         this.doctype = doctype;
     }
 }
예제 #4
0
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         if (disposing)
         {
             this.resources.Clear();
             this.doctype = null;
         }
     }
     base.Dispose(disposing);
 }
예제 #5
0
        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)";
            }
        }
예제 #6
0
		public static nsIDOMDocumentType GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMDocumentType obj)
		{
			object o = Base.GetProxyForObject (control, typeof(nsIDOMDocumentType).GUID, obj);
			return o as nsIDOMDocumentType;
		}
예제 #7
0
		internal static DomDocumentType Create(nsIDOMDocumentType domDocumentType)
		{
			return domDocumentType != null ? new DomDocumentType(domDocumentType) : null;
		}
예제 #8
0
        public static nsIDOMDocumentType GetProxy(Mono.WebBrowser.IWebBrowser control, nsIDOMDocumentType obj)
        {
            object o = Base.GetProxyForObject(control, typeof(nsIDOMDocumentType).GUID, obj);

            return(o as nsIDOMDocumentType);
        }
예제 #9
0
 public static DomDocumentType Create(nsIDOMDocumentType documentType)
 {
     return(new DomDocumentType(documentType));
 }
예제 #10
0
 private DomDocumentType(nsIDOMDocumentType documentType)
     : base(documentType)
 {
     _documentType = documentType;
 }
예제 #11
0
		private DomDocumentType(nsIDOMDocumentType documentType)
			:base(documentType)
		{
			_documentType = documentType;
		}
예제 #12
0
		public static DomDocumentType Create(nsIDOMDocumentType documentType)
		{
			return new DomDocumentType( documentType );
		}
 internal DomDocumentType(nsIDOMDocumentType documentType)
     : base(documentType)
 {
 }
예제 #14
0
 public static DomDocumentType Create(mozIDOMWindowProxy window, nsIDOMDocumentType documentType)
 {
     return(new DomDocumentType(window, documentType));
 }
예제 #15
0
		private DomDocumentType(nsIDOMDocumentType domDocumentType)
			: base(domDocumentType)
		{
			Debug.Assert(domDocumentType != null);
			m_DomDocumentType = domDocumentType;
		}
예제 #16
0
 private DomDocumentType(mozIDOMWindowProxy window, nsIDOMDocumentType documentType)
     : base(window, documentType)
 {
     _documentType = documentType;
 }
 internal DomDocumentType(nsIDOMDocumentType documentType)
     : base(documentType)
 {
 }