charqus 0 Junior Poster in Training

Hello guys. I made a code , which contains:

a Circle and a ball. The ball is moving on the axis of Circle. But I'm using Thread.Sleep(80) , and when i want to close the form , i must press X for 10+ times , and after that i recive a message with End Now ... :|.

And i want to make that code in a Timer , is that possible ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.