maybe try this (not tested)
add a listener to the form closing event
in the event handling:
- set property Cancel of CancelEventArgs to true
- hide the form
I think that should do it
"Snuyt" <sn**********@skynet.be> wrote in message
news:40*********************@news.skynet.be...
Hallo,
when a form is closed by clicking the closing button (cross in the right
upper corner of the form), it is also disposed. Can I prevent this, and
instead of closing (and disposing) the form, just hide the form? (it is
not the main form)
thanks,
Snuyt