O'Reilly logo

Microsoft®C# Programming for the absolute beginner by Andy Harris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Animating Images

Animation is an important feature of graphical programs. Most computer animation involves one or more of three basic techniques: creating a scene mathematically on-the-fly, moving an object on the screen, and swapping between several images in the same space to create the illusion that the image is changing. In this chapter you focus on the last two techniques. Figure 7.7 illustrates an example of the image-swapping form of animation. The Spin Globe program shows several images placed in succession in the same spot.

Figure 7.7. Each time the user clicks the Next button, the image changes. The result is the illusion of a spinning globe.

The Spin Globe program has only one picture box on it, but that picture box displays several values. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required