On Mon, 11 Oct 2004 09:46:27 -0500, Chris Dunaway wrote:
I don't believe that the form is disposed when closed after a .showdialog.
Further info from the docs:
When a form is displayed as a modal dialog box, clicking the close form
button (the button with an "X" at the top right of the form) causes the
form to be hidden and the DialogResult property to be set to
DialogResult.Ca ncel. Unlike modeless forms, the Close method is not called
by the .NET Framework when the user clicks the close form button of a
dialog box or sets the value of the DialogResult property. Instead the form
is hidden and can be shown again without creating a new instance of the
dialog box. Because a form displayed as a dialog box is not closed, you
must call the Dispose method of the form when the form is no longer needed
by your application.
--
Chris
dunawayc[AT]sbcglobal_lunch meat_[DOT]net
To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.