1
Answer

Stopping execution of function on Button Click ??

Sumit Anand

Sumit Anand

9y
503
1
// For Start Button 
public void MyAction1() 
{   // Code Here }   

// For Exit Button function  
public void MyExit1() 
{     
Thread thrd1 = new Thread(() => MyAction1());     
thrd1.Abort(); 
}
Answers (1)