Form Minimize.

P

Przemek

Hi.
How can I make something when user minimize Form (push standard toolbar
minimize button on the top of the form).
After it, I'd like to hide my form and show notifyicon (like many programs
having)
Thanks for wrote-nice day.
 
M

Morten Wennevik

Hi Przemek,

You can check the WindowState from the SizeChanged event.
If it is Minimized, hide and show the notifyicon.
 

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