hide form when user clicks elsewhere
i have application with one form, which i developed in c#. I would like to hide the form when a user clicks somewhere else then on the form or on the notification开发者_高级运维 icon (in system tray). How could i do that?
I am not 100% sure you can do it with the standard event exposed by Visual Studio in the designer but if you could attach to the DeActivate event, or form lost focus, then you can call form.Hide
精彩评论