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 634)

Button (page 644)

ContextMenu (page 641)

CheckBox (page 645)

ErrorProvider (page 642)

CheckedListBox (page 647)

FontDialog (page 635)

ComboBox (page 647)

HelpProvider (page 642)

DataGrid (page 649)

ImageList (page 640)

DateTimePicker (page 651)

MainMenu (page 641)

DomainUpDown (page 652)

OpenFileDialog (page 635)

GroupBox (page 657)

PageSetupDialog (Chapter 7: Printing)

HScrollBox (page 651)

PrintDialog (Chapter 7: Printing)

Label (page 643)

PrintDocument (Chapter 7: Printing)

LinkLabel (page 644)

PrintPreviewDialog (Chapter 7: Printing)

ListBox (page 646)

SaveFileDialog (page 636)

ListView (page 648)

Timer (page 639)

MonthCalendar (page 650)

ToolTip (page 643)

NumericUpDown (page 653)

 

Panel (page 657)

 

PictureBox (page 646)

 

PrintPreviewControl (page 654)

 

ProgressBar (page 653)

 

RadioButton (page 645)

 

RichTextBox (page 654)

 

Splitter (page 655)

 

TextBox (page 644)

 

StatusBar (page 656)

 

TabControl (page 658)

 

ToolBar (page 655)

 

TrackBar (page 653)

 

TreeView (page 649)

 

VScrollBar (page 652)

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 C#
Windows Forms Programming in C#
ISBN: 0321116208
EAN: 2147483647
Year: 2003
Pages: 136
Authors: Chris Sells

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