[Mono-list] Window with Gecko WebControl does not reopen

Chris Howie cdhowie at gmail.com
Wed Aug 6 14:42:03 EDT 2008


On Wed, Aug 6, 2008 at 10:15 AM, colbec <colbec at start.ca> wrote:
> I have a window A which contains a button which opens a new window B
> containing a WebControl. Each time the button in window A is pressed a new
> instance of window B opens with a different URL exposed in the B WebControl.
> This works fine repeatedly with new windows provided at least one child
> window remains open.
>
> As soon as all child windows have been closed then a press on the button in
> window A crashes the application with the following stacktrace when the
> method ShowAll() is applied to the window:

Yes, I had this same issue.  My solution was to create a WebControl
and hold a reference to it while the program is open.  This seems to
be enough to keep it happy.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Mono-list mailing list