开发者

C# detect when form becomes unfocused?

开发者 https://www.devze.com 2022-12-29 12:52 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消