A
Alan T
As the Suspend method is deprecated, what method can I use?
What I want to do is when the user press the button "Cancel", it will prompt
the user to confirm it he want to stop the process, I need to suspend the
thread before the user choose "Yes" or "No".
If he choose "Yes", I will call
Thread.Abort()
If he choose "No", I will call
Thread.Resume().
What I want to do is when the user press the button "Cancel", it will prompt
the user to confirm it he want to stop the process, I need to suspend the
thread before the user choose "Yes" or "No".
If he choose "Yes", I will call
Thread.Abort()
If he choose "No", I will call
Thread.Resume().