Exemple #1
0
		public StylesheetList(WebBrowser control, nsIDOMStyleSheetList stylesheetList) : base (control)
		{
			if (control.platform != control.enginePlatform)
				unmanagedStyles = nsDOMStyleSheetList.GetProxy (control, stylesheetList);
			else
				unmanagedStyles = stylesheetList;
			styles = new List<IStylesheet>();
		}
Exemple #2
0
 public StylesheetList(WebBrowser control, nsIDOMStyleSheetList stylesheetList) : base(control)
 {
     if (control.platform != control.enginePlatform)
     {
         unmanagedStyles = nsDOMStyleSheetList.GetProxy(control, stylesheetList);
     }
     else
     {
         unmanagedStyles = stylesheetList;
     }
     styles = new List <IStylesheet>();
 }
		public static nsIDOMStyleSheetList GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMStyleSheetList obj)
		{
			object o = Base.GetProxyForObject (control, typeof(nsIDOMStyleSheetList).GUID, obj);
			return o as nsIDOMStyleSheetList;
		}
Exemple #4
0
        public static nsIDOMStyleSheetList GetProxy(Mono.WebBrowser.IWebBrowser control, nsIDOMStyleSheetList obj)
        {
            object o = Base.GetProxyForObject(control, typeof(nsIDOMStyleSheetList).GUID, obj);

            return(o as nsIDOMStyleSheetList);
        }