How to stop a Event Process from another Event

Posted by T.saravanan under C# on 8/18/2010 | Points: 10 | Views : 3014 | Status : [Member] [MVP] | Replies : 2
Hi,

I am used a two button controls in winform.If i click a first button,Event will fire and do it process.My question is if is it possible to stop that event process from another button event before event process completed.Please any one help me with code or any idea.

Advance Thanks,
T.Saravanan.

Thanks,
T.Saravanan



Responses

Posted by: Vuyiswamb on: 8/19/2010 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
If its running in a thread you can look at on this
http://msdn.microsoft.com/en-us/library/aa645740%28VS.71%29.aspx

Thank you for posting at Dotnetfunda
[Administrator]

T.saravanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: T.saravanan on: 8/19/2010 [Member] [MVP] Silver | Points: 25

Up
0
Down
Thanks Vuyiswamb,

If any other solutions are there without using Thread.Because some times thread can not call the function and databinding error also occured.



Thanks,
T.Saravanan

T.saravanan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response