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
Bineesh Viswanath
1k
424
43.3k
How to use Multi Threading in a form C# winform
Dec 19 2017 5:41 AM
Sir,
I need help regarding how to use multi threading in a winform application.
suppose I have five large data processing functions.
Can i use five thread for each functions or is it a obsolete?
I putting an example below. kindly suggest better option:-
Function1()
{
ThreadStart tsActive = new ThreadStart(LoadActionDetailsForGrid);
Thread thrdActive = new Thread(tsActive);
thrdActive.Start();
}
Function2()
{
ThreadStart tsActive1 = new ThreadStart(LoadActionDetailsForGrid1);
Thread thrdActive1 = new Thread(tsActive1);
thrdActive1.Start();
}
Function3()
{
ThreadStart tsActive2 = new ThreadStart(LoadActionDetailsForGrid2);
Thread thrdActive2 = new Thread(tsActive2);
thrdActive2.Start();
}
Reply
Answers (
2
)
Export the values in List of class type to excel format c#
Prevent Download manager