I'm getting a ObjectDisposedException from my Winform EXE, but not when I run the identical test case in the VS.NET debugger
Our application is a run-of-the-mill two pane (like outlook) app that dynamically creates the right-side user control based on what node you click on the left-side treeview control. Before creating the new user control, the old one is queried to see if any of its data has changed and therefore should be saved
The exception thrown is
System.ObjectDisposedException:
Cannot access a disposed object named "Button"
Object name: "Button"
at System.Windows.Forms.Control.CreateHandle(
And it occurs when a user clicks from the left-side treeview control immediately onto one of the right-side user control's contained controls (e.g. a combo box or button)
I'd be happy to provide any addition detail or code that would help find a solution
Thanks.
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/