PC Review


Reply
Thread Tools Rate Thread

does ShowDialog automatically dispose?

 
 
cody
Guest
Posts: n/a
 
      8th Dec 2003
When I use ShowDialog, is the form automatically disposed when ShowDialog
returns?

--
cody

Freeware Tools, Games and Humour
http://www.deutronium.de.vu
[noncommercial and no ****ing ads]


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      8th Dec 2003
* "cody" <(E-Mail Removed)> scripsit:
> When I use ShowDialog, is the form automatically disposed when ShowDialog
> returns?


According to the documentation, you will have to dispose the form
yourself.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tooltip, .ShowDialog(), and .Dispose() on .NET 2.0 generate a NullReferenceException Emmanuel_ Microsoft Dot NET Framework Forms 3 4th Jun 2006 10:13 PM
Why does a dialog (ShowDialog) closes automatically Michael Wong Microsoft Dot NET Framework Forms 0 23rd Dec 2005 08:55 PM
ApplicationEx.ShowDialog and Form.Dispose Myron Marston Microsoft Dot NET Compact Framework 1 21st Jul 2005 12:48 AM
ShowDialog() =?= Dispose()? Phill. W Microsoft VB .NET 1 1st Jul 2004 06:09 PM
Calling Dispose() after ShowDialog() Steve Austin Microsoft Dot NET Framework Forms 3 24th Jun 2004 04:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:44 PM.