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 ); }
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); }