Book description
.NET Windows Forms are a powerful technology for building a large class of applications for the Windows .NET platform. They offer nearly the same power and flexibility of classic Win32 development, but for a fraction of the effort. The programming model is lean and streamlined, and many of the tedious details that developers used to have to spend time on are now dealt with automatically by the platform. .NET Windows Forms in a Nutshell offers an accelerated introduction to this next-generation of rich user interface development. The book provides an all-inclusive guide for experienced programmers using the .NET Windows Forms platform to develop Windows applications, along with a compact but remarkably complete reference to the .NET Framework Class Library (FCL) Windows Forms namespaces and types. The authors present solid coverage of the fundamental building blocks, such as Controls, Forms, Menus, and GDI+, and enough detail to help you build your own fully featured reusable visual components so you can write visual component libraries as well as standalone applications. .NET Windows Forms in a Nutshell aims to provide not just the practical information and advice required to get programs working, but also to communicate the rationale behind the various parts of Windows Forms' design. The authors show how the thinking behind the framework enhances your productivity substantially. The new framework allows you to guess correctly what "the Right Way" to do things is a majority of the time, even if you've never tried what you're doing before. No more digging around in documentation for days to try to find the bit of information you need to use one particular feature. Anyone who is involved in user interface development will appreciate the ease of creation and expanded capabilities provided by .NET Windows Forms, as well as the in-depth focus and straight-forward approach this book brings. Included on CD is an add-in that will integrate the book's reference directly into the help files of Visual Studio .NET.
Table of contents
-
.NET Windows Forms in a Nutshell
- Preface
-
I. Introduction to Windows Forms
- 1. .NET and Windows Forms Overview
- 2. Controls
- 3. Forms, Containers, and Applications
- 4. Menus and Toolbars
- 5. Building Controls
- 6. Inheritance and Reuse
- 7. Redrawing and GDI+
- 8. Property Grids
- 9. Controls and the IDE
- 10. Data Binding
-
II. API Quick Reference
- 11. How to Use This Quick Reference
- 12. Converting from C# to VB Syntax
-
13. The System.ComponentModel Namespace
- AmbientValueAttribute
- ArrayConverter
- AttributeCollection
- BaseNumberConverter
- BindableAttribute
- BindableSupport
- BooleanConverter
- BrowsableAttribute
- ByteConverter
- CancelEventArgs
- CancelEventHandler
- CategoryAttribute
- CharConverter
- CollectionChangeAction
- CollectionChangeEventArgs
- CollectionChangeEventHandler
- CollectionConverter
- Component
- ComponentCollection
- ComponentConverter
- ComponentEditor
- Container
- CultureInfoConverter
- DateTimeConverter
- DecimalConverter
- DefaultEventAttribute
- DefaultPropertyAttribute
- DefaultValueAttribute
- DescriptionAttribute
- DesignerAttribute
- DesignerCategoryAttribute
- DesignerSerializationVisibility
- DesignerSerializationVisibilityAttribute
- DesignOnlyAttribute
- DesignTimeVisibleAttribute
- DoubleConverter
- EditorAttribute
- EditorBrowsableAttribute
- EditorBrowsableState
- EnumConverter
- EventDescriptor
- EventDescriptorCollection
- EventHandlerList
- ExpandableObjectConverter
- ExtenderProvidedPropertyAttribute
- GuidConverter
- IBindingList
- IComNativeDescriptorHandler
- IComponent
- IContainer
- ICustomTypeDescriptor
- IDataErrorInfo
- IEditableObject
- IExtenderProvider
- IListSource
- ImmutableObjectAttribute
- InheritanceAttribute
- InheritanceLevel
- InstallerTypeAttribute
- Int16Converter
- Int32Converter
- Int64Converter
- InvalidEnumArgumentException
- ISite
- ISupportInitialize
- ISynchronizeInvoke
- ITypeDescriptorContext
- ITypedList
- License
- LicenseContext
- LicenseException
- LicenseManager
- LicenseProvider
- LicenseProviderAttribute
- LicenseUsageMode
- LicFileLicenseProvider
- ListBindableAttribute
- ListChangedEventArgs
- ListChangedEventHandler
- ListChangedType
- ListSortDirection
- LocalizableAttribute
- MarshalByValueComponent
- MemberDescriptor
- MergablePropertyAttribute
- NotifyParentPropertyAttribute
- ParenthesizePropertyNameAttribute
- PropertyChangedEventArgs
- PropertyChangedEventHandler
- PropertyDescriptor
- PropertyDescriptorCollection
- PropertyTabAttribute
- PropertyTabScope
- ProvidePropertyAttribute
- ReadOnlyAttribute
- RecommendedAsConfigurableAttribute
- ReferenceConverter
- RefreshEventArgs
- RefreshEventHandler
- RefreshProperties
- RefreshPropertiesAttribute
- RunInstallerAttribute
- SByteConverter
- SingleConverter
- StringConverter
- SyntaxCheck
- TimeSpanConverter
- ToolboxItemAttribute
- ToolboxItemFilterAttribute
- ToolboxItemFilterType
- TypeConverter
- TypeConverter.StandardValuesCollection
- TypeConverterAttribute
- TypeDescriptor
- TypeListConverter
- UInt16Converter
- UInt32Converter
- UInt64Converter
- WarningException
- Win32Exception
-
14. The System.Drawing Namespace
- Bitmap
- Brush
- Brushes
- CharacterRange
- Color
- ColorConverter
- ColorTranslator
- ContentAlignment
- Font
- FontConverter
- FontConverter.FontNameConverter
- FontConverter.FontUnitConverter
- FontFamily
- FontStyle
- Graphics
- Graphics.DrawImageAbort
- Graphics.EnumerateMetafileProc
- GraphicsUnit
- Icon
- IconConverter
- Image
- Image.GetThumbnailImageAbort
- ImageAnimator
- ImageConverter
- ImageFormatConverter
- KnownColor
- Pen
- Pens
- Point
- PointConverter
- PointF
- Rectangle
- RectangleConverter
- RectangleF
- Region
- RotateFlipType
- Size
- SizeConverter
- SizeF
- SolidBrush
- StringAlignment
- StringDigitSubstitute
- StringFormat
- StringFormatFlags
- StringTrimming
- StringUnit
- SystemBrushes
- SystemColors
- SystemIcons
- SystemPens
- TextureBrush
- ToolboxBitmapAttribute
-
15. The System.Drawing.Drawing2D Namespace
- AdjustableArrowCap
- Blend
- ColorBlend
- CombineMode
- CompositingMode
- CompositingQuality
- CoordinateSpace
- CustomLineCap
- DashCap
- DashStyle
- FillMode
- FlushIntention
- GraphicsContainer
- GraphicsPath
- GraphicsPathIterator
- GraphicsState
- HatchBrush
- HatchStyle
- InterpolationMode
- LinearGradientBrush
- LinearGradientMode
- LineCap
- LineJoin
- Matrix
- MatrixOrder
- PathData
- PathGradientBrush
- PathPointType
- PenAlignment
- PenType
- PixelOffsetMode
- QualityMode
- RegionData
- SmoothingMode
- WarpMode
- WrapMode
-
16. The System.Drawing.Imaging Namespace
- BitmapData
- ColorAdjustType
- ColorChannelFlag
- ColorMap
- ColorMapType
- ColorMatrix
- ColorMatrixFlag
- ColorMode
- ColorPalette
- EmfPlusRecordType
- EmfType
- Encoder
- EncoderParameter
- EncoderParameters
- EncoderParameterValueType
- EncoderValue
- FrameDimension
- ImageAttributes
- ImageCodecFlags
- ImageCodecInfo
- ImageFlags
- ImageFormat
- ImageLockMode
- Metafile
- MetafileFrameUnit
- MetafileHeader
- MetafileType
- MetaHeader
- PaletteFlags
- PixelFormat
- PlayRecordCallback
- PropertyItem
- WmfPlaceableFileHeader
-
17. The System.Drawing.Printing Namespace
- Duplex
- InvalidPrinterException
- Margins
- MarginsConverter
- PageSettings
- PaperKind
- PaperSize
- PaperSource
- PaperSourceKind
- PreviewPageInfo
- PreviewPrintController
- PrintController
- PrintDocument
- PrinterResolution
- PrinterResolutionKind
- PrinterSettings
- PrinterSettings.PaperSizeCollection
- PrinterSettings.PaperSourceCollection
- PrinterSettings.PrinterResolutionCollection
- PrinterSettings.StringCollection
- PrinterUnit
- PrinterUnitConvert
- PrintEventArgs
- PrintEventHandler
- PrintingPermission
- PrintingPermissionAttribute
- PrintingPermissionLevel
- PrintPageEventArgs
- PrintPageEventHandler
- PrintRange
- QueryPageSettingsEventArgs
- QueryPageSettingsEventHandler
- StandardPrintController
- 18. The System.Drawing.Text Namespace
-
19. The System.Windows.Forms Namespace
- AccessibleEvents
- AccessibleNavigation
- AccessibleObject
- AccessibleRole
- AccessibleSelection
- AccessibleStates
- AmbientProperties
- AnchorStyles
- Appearance
- Application
- ApplicationContext
- ArrangeDirection
- ArrangeStartingPosition
- AxHost
- AxHost.ActiveXInvokeKind
- AxHost.AxComponentEditor
- AxHost.ClsidAttribute
- AxHost.ConnectionPointCookie
- AxHost.InvalidActiveXStateException
- AxHost.State
- AxHost.StateConverter
- AxHost.TypeLibraryTimeStampAttribute
- BaseCollection
- Binding
- BindingContext
- BindingManagerBase
- BindingMemberInfo
- BindingsCollection
- BootMode
- Border3DSide
- Border3DStyle
- BorderStyle
- BoundsSpecified
- Button
- ButtonBase
- ButtonBase.ButtonBaseAccessibleObject
- ButtonBorderStyle
- ButtonState
- CaptionButton
- CharacterCasing
- CheckBox
- CheckBox.CheckBoxAccessibleObject
- CheckedListBox
- CheckedListBox.CheckedIndexCollection
- CheckedListBox.CheckedItemCollection
- CheckedListBox.ObjectCollection
- CheckState
- Clipboard
- ColorDepth
- ColorDialog
- ColumnClickEventArgs
- ColumnClickEventHandler
- ColumnHeader
- ColumnHeaderStyle
- ComboBox
- ComboBox.ChildAccessibleObject
- ComboBox.ObjectCollection
- ComboBoxStyle
- CommonDialog
- ContainerControl
- ContentsResizedEventArgs
- ContentsResizedEventHandler
- ContextMenu
- Control
- Control.ControlAccessibleObject
- Control.ControlCollection
- ControlBindingsCollection
- ControlEventArgs
- ControlEventHandler
- ControlPaint
- ControlStyles
- ConvertEventArgs
- ConvertEventHandler
- CreateParams
- CurrencyManager
- Cursor
- CursorConverter
- Cursors
- DataFormats
- DataFormats.Format
- DataGrid
- DataGrid.HitTestInfo
- DataGrid.HitTestType
- DataGridBoolColumn
- DataGridCell
- DataGridColumnStyle
- DataGridLineStyle
- DataGridParentRowsLabelStyle
- DataGridPreferredColumnWidthTypeConverter
- DataGridTableStyle
- DataGridTextBox
- DataGridTextBoxColumn
- DataObject
- DateBoldEventArgs
- DateBoldEventHandler
- DateRangeEventArgs
- DateRangeEventHandler
- DateTimePicker
- DateTimePicker.DateTimePickerAccessibleObject
- DateTimePickerFormat
- Day
- DialogResult
- DockStyle
- DomainUpDown
- DomainUpDown.DomainItemAccessibleObject
- DomainUpDown.DomainUpDownAccessibleObject
- DomainUpDown.DomainUpDownItemCollection
- DragAction
- DragDropEffects
- DragEventArgs
- DragEventHandler
- DrawItemEventArgs
- DrawItemEventHandler
- DrawItemState
- DrawMode
- ErrorBlinkStyle
- ErrorIconAlignment
- ErrorProvider
- FeatureSupport
- FileDialog
- FlatStyle
- FontDialog
- Form
- Form.ControlCollection
- FormBorderStyle
- FormStartPosition
- FormWindowState
- FrameStyle
- GiveFeedbackEventArgs
- GiveFeedbackEventHandler
- GridColumnStylesCollection
- GridItem
- GridItemCollection
- GridItemType
- GridTablesFactory
- GridTableStylesCollection
- GroupBox
- Help
- HelpEventArgs
- HelpEventHandler
- HelpNavigator
- HelpProvider
- HorizontalAlignment
- HScrollBar
- IButtonControl
- ICommandExecutor
- IComponentEditorPageSite
- IContainerControl
- IDataGridColumnStyleEditingNotificationService
- IDataGridEditingService
- IDataObject
- IFeatureSupport
- IFileReaderService
- ImageIndexConverter
- ImageList
- ImageList.ImageCollection
- ImageListStreamer
- ImeMode
- IMessageFilter
- InputLanguage
- InputLanguageChangedEventArgs
- InputLanguageChangedEventHandler
- InputLanguageChangingEventArgs
- InputLanguageChangingEventHandler
- InputLanguageCollection
- InvalidateEventArgs
- InvalidateEventHandler
- ItemActivation
- ItemBoundsPortion
- ItemChangedEventArgs
- ItemChangedEventHandler
- ItemCheckEventArgs
- ItemCheckEventHandler
- ItemDragEventArgs
- ItemDragEventHandler
- IWin32Window
- IWindowTarget
- KeyEventArgs
- KeyEventHandler
- KeyPressEventArgs
- KeyPressEventHandler
- Keys
- KeysConverter
- Label
- LabelEditEventArgs
- LabelEditEventHandler
- LayoutEventArgs
- LayoutEventHandler
- LeftRightAlignment
- LinkArea
- LinkArea.LinkAreaConverter
- LinkBehavior
- LinkClickedEventArgs
- LinkClickedEventHandler
- LinkLabel
- LinkLabel.Link
- LinkLabel.LinkCollection
- LinkLabelLinkClickedEventArgs
- LinkLabelLinkClickedEventHandler
- LinkState
- ListBindingConverter
- ListBox
- ListBox.ObjectCollection
- ListBox.SelectedIndexCollection
- ListBox.SelectedObjectCollection
- ListControl
- ListView
- ListView.CheckedIndexCollection
- ListView.CheckedListViewItemCollection
- ListView.ColumnHeaderCollection
- ListView.ListViewItemCollection
- ListView.SelectedIndexCollection
- ListView.SelectedListViewItemCollection
- ListViewAlignment
- ListViewItem
- ListViewItem.ListViewSubItem
- ListViewItem.ListViewSubItemCollection
- ListViewItemConverter
- MainMenu
- MdiClient
- MdiClient.ControlCollection
- MdiLayout
- MeasureItemEventArgs
- MeasureItemEventHandler
- Menu
- Menu.MenuItemCollection
- MenuGlyph
- MenuItem
- MenuMerge
- Message
- MessageBox
- MessageBoxButtons
- MessageBoxDefaultButton
- MessageBoxIcon
- MessageBoxOptions
- MethodInvoker
- MonthCalendar
- MonthCalendar.HitArea
- MonthCalendar.HitTestInfo
- MouseButtons
- MouseEventArgs
- MouseEventHandler
- NativeWindow
- NavigateEventArgs
- NavigateEventHandler
- NodeLabelEditEventArgs
- NodeLabelEditEventHandler
- NotifyIcon
- NumericUpDown
- OpacityConverter
- OpenFileDialog
- Orientation
- OSFeature
- OwnerDrawPropertyBag
- PageSetupDialog
- PaintEventArgs
- PaintEventHandler
- Panel
- PictureBox
- PictureBoxSizeMode
- PrintControllerWithStatusDialog
- PrintDialog
- PrintPreviewControl
- PrintPreviewDialog
- ProgressBar
- PropertyGrid
- PropertyGrid.PropertyTabCollection
- PropertyManager
- PropertySort
- PropertyTabChangedEventArgs
- PropertyTabChangedEventHandler
- PropertyValueChangedEventArgs
- PropertyValueChangedEventHandler
- QueryAccessibilityHelpEventArgs
- QueryAccessibilityHelpEventHandler
- QueryContinueDragEventArgs
- QueryContinueDragEventHandler
- RadioButton
- RadioButton.RadioButtonAccessibleObject
- RichTextBox
- RichTextBoxFinds
- RichTextBoxScrollBars
- RichTextBoxSelectionAttribute
- RichTextBoxSelectionTypes
- RichTextBoxStreamType
- RichTextBoxWordPunctuations
- RightToLeft
- SaveFileDialog
- Screen
- ScrollableControl
- ScrollableControl.DockPaddingEdges
- ScrollableControl.DockPaddingEdgesConverter
- ScrollBar
- ScrollBars
- ScrollButton
- ScrollEventArgs
- ScrollEventHandler
- ScrollEventType
- SecurityIDType
- SelectedGridItemChangedEventArgs
- SelectedGridItemChangedEventHandler
- SelectionMode
- SelectionRange
- SelectionRangeConverter
- SendKeys
- Shortcut
- SizeGripStyle
- SortOrder
- Splitter
- SplitterEventArgs
- SplitterEventHandler
- StatusBar
- StatusBar.StatusBarPanelCollection
- StatusBarDrawItemEventArgs
- StatusBarDrawItemEventHandler
- StatusBarPanel
- StatusBarPanelAutoSize
- StatusBarPanelBorderStyle
- StatusBarPanelClickEventArgs
- StatusBarPanelClickEventHandler
- StatusBarPanelStyle
- StructFormat
- SystemInformation
- TabAlignment
- TabAppearance
- TabControl
- TabControl.ControlCollection
- TabControl.TabPageCollection
- TabDrawMode
- TabPage
- TabPage.TabPageControlCollection
- TabSizeMode
- TextBox
- TextBoxBase
- ThreadExceptionDialog
- TickStyle
- Timer
- ToolBar
- ToolBar.ToolBarButtonCollection
- ToolBarAppearance
- ToolBarButton
- ToolBarButtonClickEventArgs
- ToolBarButtonClickEventHandler
- ToolBarButtonStyle
- ToolBarTextAlign
- ToolTip
- TrackBar
- TreeNode
- TreeNodeCollection
- TreeNodeConverter
- TreeView
- TreeViewAction
- TreeViewCancelEventArgs
- TreeViewCancelEventHandler
- TreeViewEventArgs
- TreeViewEventHandler
- TreeViewImageIndexConverter
- UICues
- UICuesEventArgs
- UICuesEventHandler
- UpDownBase
- UpDownEventArgs
- UpDownEventHandler
- UserControl
- View
- VScrollBar
-
20. The System.Windows.Forms.Design Namespace
- AnchorEditor
- AxImporter
- AxImporter.IReferenceResolver
- AxImporter.Options
- AxParameterData
- AxWrapperGen
- ComponentDocumentDesigner
- ComponentEditorForm
- ComponentEditorPage
- ComponentTray
- ControlDesigner
- ControlDesigner.ControlDesignerAccessibleObject
- DockEditor
- DocumentDesigner
- EventHandlerService
- EventsTab
- FileNameEditor
- FolderNameEditor
- IMenuEditorService
- IUIService
- IWindowsFormsEditorService
- MenuCommands
- ParentControlDesigner
- PropertyTab
- ScrollableControlDesigner
- SelectionRules
- WindowsFormsComponentEditor
- III. Appendixes
- Index
- Colophon
Product information
- Title: .NET Windows Forms in a Nutshell
- Author(s):
- Release date: March 2003
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003388
You might also like
book
Windows Forms 2.0 Programming
“Some books are different-the content can't be Googled from the Internet, the authors have real-life experiences …
book
Pro ASP.NET 4.5 in C#, Fifth Edition
ASP.NET 4.5 remains Microsoft's preferred technology for creating dynamic websites, providing developers with unrivaled power and …
book
.NET IL Assembler
" Advanced .NET IL Assembler is a comprehensive drill-down into the inner workings of the .NET …
book
Data Binding with Windows Forms 2.0: Programming Smart Client Data Applications with .NET
“Brian Noyes’ writing style easily captures your attention as he elaborates on all aspects of data …