This chapter introduced several common GUI controls. We discussed event handling in detail, and showed how to create event handlers. We showed how delegates are used to connect event handlers to the events of specific controls. You learned how to use a control’s properties and Visual Studio to specify the layout of your GUI. We then demonstrated several controls, beginning with Label
s, Button
s and TextBox
es. You learned how to use GroupBox
es and Panel
s to organize other controls. We then demonstrated CheckBox
es and RadioButton
s, which are state buttons that allow users to select among several options. We displayed images in PictureBox
controls, displayed helpful text on a GUI with ToolTip
components and specified a range of numeric input values for users with a NumericUpDown
control. We then demonstrated how to handle mouse and keyboard events. The next chapter introduces additional GUI controls. You’ll learn how to add menus to your GUIs and create Windows Form
s apps that display multiple Form
s.