C# 2005 Application.EnableEvents
I have a textbox, in my project, I already wrote some functionality which execute during textbox value change in the textbox_valuechange event.
When I try to assign some value to the textbox this textbox_valuechange event is firing.
My problem is I need to prevent this, In VBA I found one Event Application.EnableEvents = false, which usually present events associated with that control and again when we make it as Application.EnableEvents = true, then event firing for control begin to execute like:
Application.EnableEvents = false
txtText1.value = "Dotnet"
Application.EnableEvents = true
There is any events or method in C#2005, which is equivalent to VBA Application.EnableEvents exists?..
Can anybody help me!.