views:

57

answers:

1

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 another window. How can I detect when the form becomes inactive? Thanks!

+4  A: 

Form.Deactivate

Roger Alsing
Yeah, I just found out. Thanks!
DigiMarco