MacDonald | Pro .NET 2.0 Windows Forms and Custom Controls in C# | E-Book | www.sack.de
E-Book

E-Book, Englisch, 1080 Seiten

MacDonald Pro .NET 2.0 Windows Forms and Custom Controls in C#


1. ed
ISBN: 978-1-4302-0110-6
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark

E-Book, Englisch, 1080 Seiten

ISBN: 978-1-4302-0110-6
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark



*The first advanced book offering important .NET 2.0 insights into C# and Windows Forms *Explains taking .NET controls to highest level for programmers, with advanced customizations *Follows the successful formula of the previous edition (1590590457), examining all the .NET controls from old staples to the new .NET 2.0 controls

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.

MacDonald Pro .NET 2.0 Windows Forms and Custom Controls in C# jetzt bestellen!

Autoren/Hrsg.


Weitere Infos & Material


1;Contents at a Glance;5
2;Contents;7
3;Foreword;24
4;About the Author;26
5;About the Technical Reviewer;27
6;Acknowledgments;28
7;Introduction;29
7.1;About This Book;29
7.2;Conventions Used in this Book;34
8;Windows Forms Fundamentals;36
8.1;User Interface Architecture;37
8.1.1;Classes and Objects;38
8.1.2;User Interface Classes in . NET;43
8.1.3;Interacting with a Control;53
8.1.4;Visual Studio;57
8.1.5;Designing Windows Forms Applications;67
8.1.6;The Last Word;73
8.2;Control Basics;74
8.2.1;The Windows Forms Package;74
8.2.2;The Control Class;76
8.2.3;Position and Size;81
8.2.4;Color;85
8.2.5;Fonts and Text;88
8.2.6;Focus and the Tab Sequence;92
8.2.7;Responding to the Mouse and Keyboard;94
8.2.8;Low- Level Members;103
8.2.9;The Last Word;104
8.3;Forms;105
8.3.1;The Form Class;105
8.3.2;Prebuilt Dialogs;123
8.3.3;Resizable Forms;126
8.3.4;Splitting Windows;136
8.3.5;The Last Word;142
8.4;The Classic Controls;143
8.4.1;The Classic Control Gallery;143
8.4.2;The Date Controls;161
8.4.3;Container Controls;166
8.4.4;AutoComplete;169
8.4.5;Drag- and- Drop;171
8.4.6;Extender Providers;175
8.4.7;The NotifyIcon;177
8.4.8;ActiveX Controls;180
8.4.9;The Last Word;182
8.5;Images and Resources;183
8.5.1;The Image Class;183
8.5.2;Resources;190
8.5.3;Localization;198
8.5.4;The Last Word;203
8.6;Lists and Trees;204
8.6.1;ListView Basics;204
8.6.2;More Advanced ListViews;213
8.6.3;TreeView Basics;226
8.6.4;More Advanced TreeViews;235
8.6.5;The Last Word;241
8.7;Drawing with GDI+;242
8.7.1;Understanding GDI+;243
8.7.2;Paint Sessions with GDI+;244
8.7.3;The Graphics Class;250
8.7.4;More- Advanced GDI+;266
8.7.5;Optimizing GDI+ Painting;275
8.7.6;Painting Windows Controls;286
8.7.7;The Last Word;293
8.8;Data Binding;294
8.8.1;Introducing Data Binding;295
8.8.2;Basic Data Binding;297
8.8.3;Common Data- Binding Scenarios;307
8.8.4;Data Binding Exposed;319
8.8.5;Binding to Custom Objects;327
8.8.6;Automatic Data Binding;335
8.8.7;Data- Aware Controls;344
8.8.8;The Last Word;349
9;Custom Controls;350
9.1;Custom Control Basics;351
9.1.1;Understanding Custom Controls;351
9.1.2;Control Projects;356
9.1.3;The Client Project;360
9.1.4;The GAC;363
9.1.5;The Last Word;366
9.2;User Controls;367
9.2.1;Understanding User Controls;367
9.2.2;The Progress User Control;368
9.2.3;The Bitmap Thumbnail Viewer;374
9.2.4;User Controls and Dynamic Interfaces;385
9.2.5;The Last Word;393
9.3;Derived Controls;394
9.3.1;Understanding Derived Controls;394
9.3.2;The ProjectTree Control;397
9.3.3;The DirectoryTree Control;406
9.3.4;Deriving Forms;409
9.3.5;The Last Word;415
9.4;Owner-Drawn Controls;417
9.4.1;Understanding Owner- Drawn Controls;417
9.4.2;Owner- Drawn Custom Controls;431
9.4.3;The Last Word;451
9.5;Design-Time Support for Custom Controls;452
9.5.1;Design- Time Basics;452
9.5.2;Code Serialization;463
9.5.3;Type Conversion;473
9.5.4;Type Editors;488
9.5.5;The Last Word;500
10;Modern Controls;501
10.1;Tool, Menu, and Status Strips;502
10.1.1;ToolStrip Basics;502
10.1.2;The StatusStrip and MenuStrip;517
10.1.3;ToolStrip Customization;529
10.1.4;Customizing the ToolStrip Rendering;539
10.1.5;The Last Word;545
10.2;The DataGridView;546
10.2.1;The DataGrid Legacy;546
10.2.2;Introducing the DataGridView;547
10.2.3;Bare- Bones Data- Binding;550
10.2.4;Formatting the DataGridView;564
10.2.5;Editing and Validation with the DataGridView;583
10.2.6;DataGridView Customization;592
10.2.7;The Last Word;603
10.3;Sound and Video;604
10.3.1;The SoundPlayer;604
10.3.2;Advanced Media with DirectShow;608
10.3.3;The Last Word;616
10.4;The WebBrowser;617
10.4.1;WebBrowser Basics;617
10.4.2;Blending Web and Windows Interfaces;625
10.4.3;The Last Word;635
11;Windows Forms Techniques;636
11.1;Validation and Masked Editing;637
11.1.1;Validating at the Right Time;637
11.1.2;Validation Events;639
11.1.3;The ErrorProvider;643
11.1.4;Regular Expressions;647
11.1.5;Custom Validation Components;652
11.1.6;Masked Edit Controls;664
11.1.7;The Last Word;676
11.2;Multiple and Single Document Interfaces;677
11.2.1;The Evolution of Document Interface Models;677
11.2.2;MDI Essentials;681
11.2.3;Document- View Architecture;692
11.2.4;Multiple- Document SDI Applications;706
11.2.5;Gaps in the Framework;712
11.2.6;The Last Word;713
11.3;Multithreading;714
11.3.1;Multithreading Basics;714
11.3.2;Asynchronous Delegates;717
11.3.3;Multithreading in a Windows Application;721
11.3.4;The BackgroundWorker Component;733
11.3.5;The Thread Class;739
11.3.6;The Last Word;753
11.4;Dynamic Interfaces and Layout Engines;754
11.4.1;The Case for Dynamic User Interface;754
11.4.2;Dynamic Content;755
11.4.3;Managing Control Layout;763
11.4.4;Layout Engines;769
11.4.5;The FlowLayoutPanel;772
11.4.6;The TableLayoutPanel;776
11.4.7;Layout Panel Examples;782
11.4.8;Markup- Based User Interface;799
11.4.9;The Last Word;800
11.5;Help Systems;801
11.5.1;Understanding Help;801
11.5.2;Basic Help with the HelpProvider;807
11.5.3;HTML Help with the HelpProvider;812
11.5.4;Invoking Help Programmatically;818
11.5.5;Application- Embedded Support;823
11.5.6;The Last Word;831
12;Advanced Custom Controls;832
12.1;Skinned Forms and Animated Buttons;833
12.1.1;Shaped Forms and Controls;833
12.1.2;Animated Buttons;840
12.1.3;Improving the Performance of Owner- Drawn Controls;857
12.1.4;The Last Word;861
12.2;Dynamic Drawing with a Design Surface;862
12.2.1;A Drawing Program with Controls;862
12.2.2;A Drawing Program with Shape Objects;872
12.2.3;The Last Word;894
12.3;Custom Extender Providers;895
12.3.1;Understanding Extender Providers;895
12.3.2;The StatusStripHelpLabel Provider;897
12.3.3;The HelpIconProvider;902
12.3.4;The Last Word;908
12.4;Advanced Design-Time Support;909
12.4.1;Control Designers;909
12.4.2;Smart Tags;928
12.4.3;Container and Collection Controls;934
12.4.4;Licensing Custom Controls;944
12.4.5;The Last Word;950
12.5;Creating Usable Interfaces;951
12.5.1;Why Worry About the Interface?;951
12.5.2;A Brief History of User Interfaces;952
12.5.3;Creativity vs. Convention;958
12.5.4;Handling Complexity;961
12.5.5;Helpful Restrictions;963
12.5.6;The Last Word;965
12.6;ClickOnce;967
12.6.1;The Ground Rules;968
12.6.2;A Simple ClickOnce Deployment;970
12.6.3;ClickOnce Options;978
12.6.4;ClickOnce Security;982
12.6.5;The Last Word;985
13;Index;986



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.