Event exit
hey i would like to know how can i Exit an event in C# like the selected index event in combobox ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Feb 12, 2014, 6:04 PM
You can also 'unhook' a handler from the event so that it is no longer called using the -= operator like this:
comboBox1.SelectedIndexChanged -= comboBox1_SelectedIndexChanged;