What fires for Form.Show and Form.Hide?

P

Peter Rilling

What events are fired when the Form.Show() and Form.Hide() methods are
called.

I know Load fires the first time, but what about showing and hiding the form
at any point during its life cycle?

From looking at Reflector, it looks like no event is fired. I would have
through the VisibleChanged event would fire, but Reflector shows that it
only fires when the form is an MDI type.
 
P

Peter Rilling

Never mind. It is VisibleChanged that is firing. The code resides in the
parent class for Form, that is why I did not see it with Reflector.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top