O'Reilly - .NET Windows Forms in a Nutshell

O'Reilly - .NET Windows Forms in a Nutshell - Ian...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Ian Griffiths & Matthew Adams A Desktop Quick Reference IN A NUTSHELL .NET WINDOWS FORMS C o n t r o l s , F o r m s , M e n u s , G D I + a n d m o r e … .NET WINDOWS FORMS IN A NUTSHELL Ian Griffiths and Matthew Adams Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo v This is the Title of the Book, eMatter Edition Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved. Chapter 1 Table of Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Part I. Introduction to Windows Forms 1. .NET and Windows Forms Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Windows Development and .NET 3 The Common Language Runtime (CLR) 5 .NET Programming Languages 10 Components 11 The .NET Type System 12 2. Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Windows Forms and the Control Class 23 Using Standard Control Features 24 Built-in Controls 47 3. Forms, Containers and Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Application Structure 51 The Form Class 56 Containment 68 Layout 76 Localization 81 Extender Providers 86 Summary 87 vi | Table of Contents This is the Title of the Book, eMatter Edition Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved. 4. Menus and Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Menus 88 5. Building Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Composite Controls 95 Custom Controls 100 Designing for Developers 112 Summary 116 6. Inheritance and Reuse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 When To Inherit 119 Inheriting from Forms and User Controls 122 Inheriting from Other Controls 127 Pitfalls of Inheritance 136 Summary 140 7. Redrawing and GDI+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Drawing and Controls 141 GDI+ 145 Summary 196 8. Property Grids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Displaying Simple Objects 197 Type Conversion 207 Custom Type Editors 225 Summary 231 9. Controls and the IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Design Time vs. Runtime 233 Custom Component Designers 236 Extender Providers 264 Summary 268 10. Data Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 Data Sources and Bindings 269 Simple and Complex Binding 279 DataTable, DataSet, and Friends 282 The DataGrid Control 294 The DataView Class 298 Summary 300 Table of Contents | vii This is the Title of the Book, eMatter Edition Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved....
View Full Document

This note was uploaded on 10/06/2009 for the course COMPUTER S n/a taught by Professor P.j.deitel during the Spring '09 term at 東京大学.

Page1 / 42

O'Reilly - .NET Windows Forms in a Nutshell - Ian...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online