Chapter 17. Interacting with Users

<feature><title>What You’ll Learn in This Hour</title> <objective>

Displaying messages using the MessageBox.Show() function

</objective>
<objective>

Creating custom dialog boxes

</objective>
<objective>

Interacting with the keyboard

</objective>
<objective>

Using the common mouse events

</objective>
</feature>

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 fine-tuned to deal with certain keystrokes or mouse clicks. In this hour, you learn how to create functional and cohesive interaction between your application and the ...

Get Sams Teach Yourself Visual C# 2008 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.