C# detect when form becomes unfocused?
Is there a winforms event that fires when the user switches from a form to another window? I.e. Not through minimizing, but just by clicking on anot开发者_如何学Pythonher window. How can I detect when the form becomes inactive? Thanks!
Form.Deactivate
精彩评论