TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
frederic.zawalski
NA
2
0
thread abort (in try-catch bloc)
Dec 19 2004 5:20 AM
Hello, in class constructor, I have public class oneclass : System.Windows.Forms.Form { ... public Thread th; ... } on events : public void startsomethig() { ... try { ... } catch(Exception ef) { MessageBox.Show("ef content: " + ef.Message); } } private void Button1_Click(object sender, System.EventArgs e) { th = new Thread(new ThreadStart(startsomething)); th.Start(); } private void Button2_Click(object sender, System.EventArgs e) { th.Abort(); } How do I do if I push on button2 to stop the thread the catch above don't must intercepte stop error thread aborted. ? Thanks in advance. Frédéric
Reply
Answers (
1
)
User interface?
XMLSocket & C#