0
Answer

Threading

Munna Sarfraz

Munna Sarfraz

16y
2.6k
1

Hi,

I am using c# language in window application, Using browser controls, connecting any web site, if web site persists any Javascript alert then

main thread or systems thread is blocked, In that case I am dragging an image into the application, But its not working, Because due to javascript alert blocks systems thread,  

 

I am using this code but not able to solve

 

delThread objDelMethod = new delThread(this.toolStripObjectSpy_MouseMove);

actionThread = new Thread(new ThreadStart(objDelMethod));

actionThread.Start();

Thread.Sleep(500);

 

This function toolStripObjectSpy_MouseMov ist not custom function

 

Please tell me how can I do ?