Sams Teach Yourself Visual C# 2005 in 24 Hours, Complete Starter Kit

What You'll Learn in This Hour:

  • Displaying messages using the MessageBox.Show() function

  • Creating custom dialog boxes

  • Interacting with the keyboard

  • Using the common mouse events

Forms and controls are the primary means by which users interact with an application and vice versa. However, program interaction can and often does go deeper than that. For example, a program can display customized messages to a user, and it can be finely tuned to deal with certain keystrokes or mouse clicks. In this hour, you'll learn how to create functional and cohesive interaction between your application and the user. In addition, you'll learn how to program the keyboard and the mouse so that you can expand the interactivity of your program beyond what's natively supported by a form and its controls.

Категории