Chapter 17. Interacting with Users

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 ...

Get Sams Teach Yourself Microsoft® Visual C#® 2005 in 24 Hours, Complete Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.