I tried to create 10 random circles with random colors using windows forms.
The problem am not able to restrict my program to draw only 10 circles.It goes on and on.
Timer t = new Timer();
t.Interval = 1;
t.Start();
t.Tick += new EventHandler(DrawCircle);
is there any way to stop the timer after 10 counts?
So that i will call
t.stop(); after drawing 10 circles.