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

Getting More from the MessageBox Object

By now, you’ve learned nearly everything you need in order to write the Lunar Lander game. However, that program has one, seemingly little, feature that is very useful and bears explanation. When the game is over, the user gets a message box that asks whether the user wants to continue. Such a message box

NOTE

IN THE REAL WORLD

It is very reasonable for you to wonder how you’re supposed to know that picBall has a Bounds property, that Bounds is a Rectangle, and so on. You aren’t supposed to know it! The .NET environment is far too comprehensive for any one programmer to understand fully. It’s more important that you know how to think about the environment and how to look up what you need than to have all the ...

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