|
-
Sep 7th, 2019, 12:31 AM
#4
Re: Click link open form and still access window from behind
The point of a using statement is to dispose an object implicitly when you're finished using it. In this case, you're not finished using that form immediately after showing it so you don't use a using statement. I specifically said that forms displayed with ShowDialog aren't implicitly disposed when you close them. What is unsaid there is that forms displayed with Show are implicitly disposed when you close them, so there's no need for you to dispose them yourself.
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
|