Events in windows forms

  • Thread starter Thread starter Teekam
  • Start date Start date
T

Teekam

Hi,

I have created one mdi form and many child forms in my
applicaion. In one of the forms, I have implemented leave
event for one text box which gives a messagebox if the
value has been changed in the text box.
I also have a toolbar that closes all child forms (one at
any point of time) and opens another form.
The problem is that when I change the text box value and
click on toolbar it popsup the message.

How can i avoid that, only when toolbar is clicked?

Regards,
Teekam.
 
So is the event firing twice? Can you post the code
snippet, I think I could get alittle clearer idea of the
problem then.

Bill
 
Back
Top