Quantcast
Channel: User Sinatr - Stack Overflow
Viewing all articles
Browse latest Browse all 601

Comment by Sinatr on Can I access the Form after ShowDialog returned?

$
0
0
I suspect the question is rather "what could go wrong"? You are safe as long as you are not doing anything what require window handle (which is destroyed after) or indirectly message pump (e.g. invoking will not work). You should get an exception in such cases. Accessing child control properties should be ok, but invalidating or creating graphics likely are not.

Viewing all articles
Browse latest Browse all 601

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>