workItem.FieldChanged += new WorkItemFieldChangeEventHandler(this.workItem_changed);
workItem.Saving += new WorkItemPreSaveEventHandler(this.workItem_preSave);
I am wondering why these handlers are getting called thrice when a presave or fieldchanged event just occur for one time. I got stuck up in this. I am throwing an error message inside these handler (tried with both handlers) . Because of this multi-time calling, I am getting the error message box in Visual studio for three times. Please help . If it is that way it is done, then please suggest how I can display the error message in work item(Ex:TFS system throws error when a required field is not given) itself rather than using message box and how to prevent save. or any way i can do this by use of threading or something. I am bit new to .NET threading concepts.