예제 #1
0
		public WindowCollection (WebBrowser control, nsIDOMWindowCollection windowCol) : base (control)
		{
			if (control.platform != control.enginePlatform)
				unmanagedWindows = nsDOMWindowCollection.GetProxy (control, windowCol);
			else
				unmanagedWindows = windowCol;
		}
예제 #2
0
 public WindowCollection(WebBrowser control, nsIDOMWindowCollection windowCol) : base(control)
 {
     if (control.platform != control.enginePlatform)
     {
         unmanagedWindows = nsDOMWindowCollection.GetProxy(control, windowCol);
     }
     else
     {
         unmanagedWindows = windowCol;
     }
 }
예제 #3
0
 public GeckoWindowCollection(nsIDOMWindowCollection collection)
 {
     _collection = new ComPtr <nsIDOMWindowCollection>(collection);
 }
예제 #4
0
		public static nsIDOMWindowCollection GetProxy (Mono.WebBrowser.IWebBrowser control, nsIDOMWindowCollection obj)
		{
			object o = Base.GetProxyForObject (control, typeof(nsIDOMWindowCollection).GUID, obj);
			return o as nsIDOMWindowCollection;
		}
예제 #5
0
        public static nsIDOMWindowCollection GetProxy(Mono.WebBrowser.IWebBrowser control, nsIDOMWindowCollection obj)
        {
            object o = Base.GetProxyForObject(control, typeof(nsIDOMWindowCollection).GUID, obj);

            return(o as nsIDOMWindowCollection);
        }
예제 #6
0
 public GeckoWindowCollection(nsIDOMWindowCollection collection)
 {
     _collection = new InstanceWrapper <nsIDOMWindowCollection>(collection);
 }