How to minimize the parent window when the child window gets minimized?

  • Thread starter Thread starter Nagachandra Sekhar Grandhi
  • Start date Start date
N

Nagachandra Sekhar Grandhi

Hi,

I am opening a dialog box (which is also a form) after clicking a button
in the main form using ".ShowDialog(this)". There is a minimize button for
the opened dialog box(form). I want to minimize the parent form when my
child form gets minimized. How to do this?

Please let me know as early as possible
 
I think there is a property called Parent and it allows you access to the
parents methods. You should be able to launch an event from that some how.
 
Nick said:
I think there is a property called Parent and it allows you access to the
parents methods. You should be able to launch an event from that some how.
 
Sorry..I forgot to enter the comments.

Nick,

Is there any other way to do this without accessing the parent object
properties??

-chandu.
 
Back
Top