|
-
Jan 30th, 2010, 02:31 PM
#1
Thread Starter
Member
Disposed Object Issue
Currently I have two separate solutions. Both are windows form applications. Both have a button on Form1 to open Form2. The code to open Form2 is Form2.Show(). On my first app. I can close Form2 using either the red "X" or using a button that does Me.Hide() I can then reopen Form2 by clicking the button on Form1 that does Form2.Show()
On my second app. however, I have the same setup, but if I close Form2 using the red "X" and try reopening it from Form1 using the button that calls Form2.Show(), I get an error about cannot access Disposed object.
I'm not sure what, If anything I have changed or why this could be happening. Any thoughts on were I can begin my hunt for answers would be great! Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|