Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I wonder if anyone could show me an example in C# of an application of a ball (filled circle) that moves around within the limits of a window.
I feel a little stupid asking this question because I have no idea how much code this requires. All I know is that I need a timer that redraws the window with the ball and that I have to know how the new coordinates for the ball for every "Timer-tick".
Or do you guys know of any websites that has similar examples in C#?