Help with NotifyIcon

  • Thread starter Thread starter shachar
  • Start date Start date
S

shachar

hi all.
in my application i use NotifyIcon.
when the user minimize the form i want it to hide and
wait in the systray.
and when the user rightclick's the icon in the systray i
want my form to show up in it's normal state.
i used ContextMnu, but should i write something in the
Form_Resize Event?

how can i do it?
 
Set the form's WindowState property to FormWindowState.Normal to restore the
window.

HTH

hi all.
in my application i use NotifyIcon.
when the user minimize the form i want it to hide and
wait in the systray.
and when the user rightclick's the icon in the systray i
want my form to show up in it's normal state.
i used ContextMnu, but should i write something in the
Form_Resize Event?

how can i do it?
 
Back
Top