User Interfaces in C#: Windows Forms and Custom Controls

Voorkant
Apress, 1 jan 2008 - 624 pagina's
IN THE PAST FEW MONTHS, a deluge of .NET books has hit store shelves, each one eager to explain the new programming philosophy of the .NET world. In the excitement, many of these books have left out the tricks and insights you need to really master .NET programming. Part of the problem is that no single work can cover the entire .NET platform-a sprawling, ambitious framework that revolu tionizes everything from Internet applications to data access technology. Many .NET books provide a good overview of essential concepts, but they can't deal with the subtleties needed for all types of development. This book represents the start of the second wave of .NET books: closely focused works that give you the insight of experienced developers about a single aspect of .NET programming. User Interfaces in C#: Windows Forms and Custom Controls takes a close look at all the ingredients you can use to design state-of-the art application interfaces. It also delves into entirely new topics like custom control design and GDI+, the next-generation painting framework for Windows. You don't just learn about anchoring and docking, you work with examples that show document-view architecture, custom control layout engines, dockable windows, and hit testing with owner-drawn controls. You also learn how to design irregularly shaped forms, unshackle data binding, and build an integrated help system.
 

Geselecteerde pagina's

Inhoudsopgave

Creating Usable Interfaces
1
Why Worry About the Interface?
2
Creativity vs Convention
10
Programming User Interface for the Web
20
Designing with Classes and Tiers
23
User Interface Classes in NET
29
Interacting with a Control
39
Developing in Tiers
47
The StatusBar
249
The NotifyIcon
257
Custom Controls
259
Inherited Controls
289
Custom Extender Providers
298
The Last Word
307
DesignTime Support for Custom Controls
309
The Toolbox Bitmap
316

Control Class Basics
57
Position and Size
64
Focus and the Tab Sequence
72
LowLevel Members
81
Classic Controls
83
The Classic Control Gallery
90
CheckBox and RadioButton
96
Other Domain Controls
102
Menus
111
OwnerDrawn Menus
122
DragandDrop
130
The Last Word
142
Forms
143
Prebuilt Dialogs
165
Resizable Forms
171
Splitting Windows
180
Irregularly Shaped Forms
186
Visual Inheritance
193
The Last Word
199
Modern Controls
201
Basic ListView
206
The DataGrid Control
215
Basic TreeView
217
Manipulating Nodes
223
Advanced TreeView Tricks
228
Taming the TreeView
235
The ToolBar
242
Custom Designers
326
Data Types and UITypeEditors
335
Licensing Custom Controls
341
Data Controls
349
ADO NET Data Binding
360
Data Binding Exposed
373
DataGrid Relations
381
Encapsulation with Data Controls
387
MDI Interfaces and Workspaces
399
Merging Menus
407
Floating Windows and Docking
425
Dynamic User Interface
435
Dynamic Content
449
DataDriven Programming
457
GDI+ Basics
465
The Graphics Class
481
Hit Testing
494
The Last Word
500
GDI+ Control
501
Creating Button Controls
512
Reconsidering the Vector Drawing Program
519
A Simple Graphing Control
525
Help and ApplicationEmbedded Support
531
ApplicationEmbedded Support
550
Index
561
A DataDriven Pricing Application
577
Copyright

Overige edities - Alles bekijken

Veelvoorkomende woorden en zinsdelen

Over de auteur (2008)

Matthew MacDonald is an author,educator, and MCSD developer who has a passion for emerging technologies. He isthe author of more than a dozen books about .NET programming. In a dimly-remembered past life, he studied English literature and theoretical physics.

Bibliografische gegevens