Windows Forms (WinForms) are not restricted to using the standard built-in controls. Also included is a discussion of the.net drag-and-drop features that are used to move or copy data from one control to another. It begins with a survey of the more controls, before taking an in-depth look at how to implement controls such as the TextBox, ListBox, TreeView, and ListView. This chapter moves beyond that to examine the specific features of individual controls. This is particularly useful for developing international applications.ΔΆ ch07.fm Thursday, August 11, :44 AM 7 The previous chapter introduced the Control class and the methods, properties, and events it defines for all controls. Using Resources: Resources required by a program, such as title, descriptive labels, and images, can be embedded within an application s assembly or stored in a satellite assembly. Moving Data Between Controls: Drag and drop provides an easy way for users to copy or move an item from one control to offers a variety of classes and events required to implement this feature. Building a User Control: When no control meets an application s needs, a custom one can be crafted by combining multiple controls or adding features to an existing one. Timer and Progress Bar Controls: A timer can be used to control when an event is invoked, a ProgressBar to visually monitor the progress of an operation. The TreeView presents hierarchical information in an easy-to-navigate tree structure. ListView and TreeView Controls: The ListView offers multiple views for displaying data items and their associated icons. List Controls: The ListBox, ComboBox, and CheckListBox offer different interfaces for displaying and manipulating data in a list format. PictureBox and TextBoxt Controls: The PictureBox control is used to display and scale images the TextBox control can be used to easily display and edit single or multiple lines of text. Button Controls: The Button, CheckBox, and RadioButton controls are designed to permit users to make one or more selections on a form. 1 ch07.fm Thursday, August 11, :44 AM WINDOWS FORMS CONTROLS Topics in This Chapter Introduction: A class hierarchy diagram offers a natural way to group Windows Forms controls by their functionality.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |