Minimise/WindowState

  • Thread starter Thread starter Adam Godley
  • Start date Start date
A

Adam Godley

Hi

I have a MainContainer form, and a Picker form (which is NOT an MDIChild).

What I need to do is when the MainContainer is minimized, the same happens
to the Picker form: basically, the WindowStates need to be the same all the
time.

I can't find any event for this, and as far as I can see,
System.Windows.Forms.Form.WindowState is not virtual, so I can't override
it.

Help?

Ta.

Adam
 
hi,

there is a [form]_Resize(sender, System.EventArgs) {} method

when you select the form's properties, the events tabs (tha one having sort
of a lightning icon)

here you can check the WindowState and your work...

HTH,
Daniel
 
Thanks Very Much!

Bamse said:
hi,

there is a [form]_Resize(sender, System.EventArgs) {} method

when you select the form's properties, the events tabs (tha one having sort
of a lightning icon)

here you can check the WindowState and your work...

HTH,
Daniel

Adam Godley said:
Hi

I have a MainContainer form, and a Picker form (which is NOT an MDIChild).

What I need to do is when the MainContainer is minimized, the same happens
to the Picker form: basically, the WindowStates need to be the same all the
time.

I can't find any event for this, and as far as I can see,
System.Windows.Forms.Form.WindowState is not virtual, so I can't override
it.

Help?

Ta.

Adam
 
Back
Top