Click here to Skip to main content
15,849,129 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone
I want to write a program that uses Multi Threading.

In this project I should create a ball in form first. When the ball hit the walls of form create a new ball by thread etc

Means every ball is created in a thread

Do you have any source code?
Updated 13-Jul-10 1:05am

1 solution

What makes you think anybody has source code like this? Most likely, nobody has ever written such an app before.

Besides: Didn't you say that YOU wanted to write the program?

Nobody here is going to do it for you.

You could try looking at the Backgroundworker class and create a new instance of that for every new ball.

You can use the workers ReportProgress functionality to alert the form that it's time to create a new worker.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900