Appendix D. Standard WinForms Components and Controls


Appendix D. Standard WinForms Components and Controls

Winforms provides several classes meant to be composed to build applications. How (and whether) instances of these classes need to interact with the user determines whether they are components or controls. The technical distinction isn't important unless you're building one (as covered in Chapter 8: Controls and Chapter 9: Design-Time Integration). What is important is knowing what's available out of the box for your use, as listed in Table D.1. This appendix briefly covers all these except for the print- related components, which are discussed in Chapter 7: Printing.

Table D.1. Standard WinForms Components and Controls

Components

Controls

ColorDialog (page 286)

Button (page 234)

ContextMenu (page 286)

CheckBox (page 236)

ErrorProvider (page 286)

CheckedListBox (page 237)

FontDialog (page 286)

ComboBox (page 237)

HelpProvider (page 286)

DataGrid (page 237)

ImageList (page 286)

DateTimePicker (page 236)

MainMenu (page 286)

DomainUpDown (page 237)

OpenFileDialog (page 286)

GroupBox (page 242)

PageSetupDialog (Chapter 7: Printing)

HScrollBox (page 236)

PrintDialog (Chapter 7: Printing)

Label (page 236)

PrintDocument (Chapter 7: Printing)

LinkLabel (page 236)

PrintPreviewDialog (Chapter 7: Printing)

ListBox (page 237)

SaveFileDialog (page 286)

ListView (page 237)

Timer (page 286)

MonthCalendar (page 236)

ToolTip (page 286)

NumericUpDown (page 236)

 

Panel (page 242)

 

PictureBox (page 236)

 

PrintPreviewControl (page 236)

 

ProgressBar (page 236)

 

RadioButton (page 236)

 

RichTextBox (page 236)

 

Splitter (page 236)

 

TextBox (page 236)

 

StatusBar (page 236)

 

TabControl (page 242)

 

ToolBar (page 234)

 

TrackBar (page 236)

 

TreeView (page 237)

 

VScrollBar (page 236)

The WinForms documentation does a really good job of providing the details of each standard component and control. This appendix is a quick look at each of them to give you an idea of what you have to choose from.



Windows Forms Programming in Visual Basic .NET
Windows Forms Programming in Visual Basic .NET
ISBN: 0321125193
EAN: 2147483647
Year: 2003
Pages: 139

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net