예제 #1
0
파일: WebClient.cs 프로젝트: whztt07/SDK
        public WebClient( WebBrowserControl owner )
        {
            if( owner == null )
                throw new ArgumentNullException( "owner" );

            this.owner = owner;
            this.lifeSpanHandler = new WebLifeSpanHandler( this.owner );
            this.displayHandler = new WebDisplayHandler( this.owner );
            this.renderHandler = new WebRenderHandler( this.owner );
            this.loadHandler = new WebLoadHandler( this.owner );
        }
예제 #2
0
        public WebClient(WebBrowserControl owner)
        {
            if (owner == null)
            {
                throw new ArgumentNullException("owner");
            }

            this.owner           = owner;
            this.lifeSpanHandler = new WebLifeSpanHandler(this.owner);
            this.displayHandler  = new WebDisplayHandler(this.owner);
            this.renderHandler   = new WebRenderHandler(this.owner);
            this.loadHandler     = new WebLoadHandler(this.owner);
        }