Addison wesley windows forms 2 0 programming 2nd edition may 2006 ISBN 0321267966

1.7K 252 0
Addison wesley windows forms 2 0 programming 2nd edition may 2006 ISBN 0321267966

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Windows Forms 2.0 Programming By Chris Sells, Michael Weinhardt Publisher: Addison Wesley Professional Pub Date: May 16, 2006 Print ISBN-10: 0-3212-6796-6 Print ISBN-13: 978-0-321-26796-2 Pages: 1296 Table of Contents | Index "Some books are different-the content can't be Googled from the Internet, the authors have real-life experiences to share, the code can be used in real-world projects This is one of those books." Neal Myrddin, Independent Developer "Chris and Michael nail the soul of Windows Forms 2.0 This book provides an insightful view into the design of Windows Forms and the integration of new 2.0 features It is just as applicable for the first-time Windows Forms programmer as the seasoned line of business developer The 'What's New in 2.0' appendix is worth the price of admission alone." Mike Harsh, Windows Forms Program Manager, Microsoft, Inc "This book takes an amazingly broad and deep technology, and breaks it into manageable pieces that are easily consumed You cannot survive building a complex WinForms application without this book." Ryan Dorrell, Chief Technology Officer, AgileThought "Windows Forms 2.0 Programming offers something for every NET developer Experienced developers will appreciate the in-depth coverage of new 2.0 features, including the most comprehensive coverage of ClickOnce deployment, multithreading, and the new designer integration found anywhere Developers new to Winforms programming will appreciate the coverage of the fundamentals all Winforms developers need to know Whether you're an experienced WinForms developer or just beginning, you need this book." Fritz Onion, cofounder of Pluralsight, author of Essential ASP.NET, and ASP.NET MVP "I don't want just a description of the WinForms widgets I can get that online or from other books What I want is a roadmap for pitfalls to avoid, and innovative solutions for common problems That is where this book shines All of us who found the first edition of this book to be an indispensible part of our reference library will appreciate this updated edition that describes WinForms 2.0." Johan Ericsson, Software Engineer, Agilent Technologies "The books Chris Sells writes are always insightful and this newest addition is no different This book in particular is for those who want to understand not just the flashy surface of Windows Forms 2.0, but also how it fits into the NET environment Readers will have this book at their desks, not stuck on their shelves, for quite a long time." Yoshimatsu Fumiaki, Software Engineer based in Tokyo Japan "Chris and Mike have done an excellent job presenting the information you need to be successful with Windows Forms." Jessica Fosler, Dev Tech Lead, Microsoft "This book is the 'must have' teaching and reference book for WinForms 2.0." Jim Rittenhouse, Senior Software Engineer, Siemens Windows Forms 2.0 Programming is the successor to the highly praised Windows Forms Programming in C# This edition has been significantly updated to amalgamate the sheer mass of new and improved support that is encompassed by Windows Forms 2.0, the NET Framework 2.0, and Visual Studio 2005 This is the one book developers need in order to learn how to build and deploy leading-edge Windows Forms 2.0 applications Readers will gain a deep understanding from Sells and Weinhardt's practical, well-balanced approach to the subject and clear code samples • Windows Forms 2.0 fundamentals, including forms, dialogs, data validation, help, controls, components, and rendering • Static and dynamic layout, snap lines, HTML-style flow and table layout, automatic resizing, and automatic cross-DPI scaling • Office 2003-style tool strip control coverage, including dynamic layout and custom rendering • Design-time integration with the Visual Studio 2005 Properties Window and Smart Tags • Resource management, strongly typed resources, and internationalization considerations • Strongly typed application and user settings • SDI, MDI, Single Instancing, Multiple-Instance SDI, Single-Instance MDI, databasecentric, and document-centric applications • Databinding data-source management, drag-and-drop databinding, the BindingSource, the BindingNavigator, and applied databinding • Events, delegates, multithreaded UIs, long-running operations, simplified multithreading with the BackgroundWorker, and asynchronous web service calls • ClickOnce application development publishing, shell integration, and partial trust security • Best practices for developers transitioning from Windows Forms 1.0 and MFC Windows Forms 2.0 Programming By Chris Sells, Michael Weinhardt Publisher: Addison Wesley Professional Pub Date: May 16, 2006 Print ISBN-10: 0-3212-6796-6 Print ISBN-13: 978-0-321-26796-2 Pages: 1296 Table of Contents | Index Copyright Microsoft NET Development Series About the Authors Foreword Preface Chapter 1 Hello, Windows Forms Windows Forms from Scratch Windows Forms in Visual Studio NET Arranging Controls Controls Application Settings Resources Dialogs Drawing Printing Data Binding Multithreaded User Interfaces Deployment Where Are We? Chapter 2 Forms Showing Forms Form Lifetime Form Notification Form Size and Location Form Adornments Form Transparency Form and Context Menus Tool Strips Status Strips Multiple Document Interface Applications Visual Inheritance Where Are We? Chapter 3 Dialogs Standard Dialogs Form Styles Data Exchange Data Validation Implementing Help Where Are We? Chapter 4 Layout Fixed Layout Dynamic Layout Layout Controls Layout Optimization Custom Layout Where Are We? Chapter 5 Drawing Basics Drawing to the Screen Colors Brushes Pens Shapes Paths Images Where Are We? Chapter 6 Drawing Text Fonts Strings The TextRenderer A Tale of Two Technologies Where Are We? Chapter 7 Advanced Drawing Page Units Transforms Regions Optimized Drawing Where Are We? Chapter 8 Printing Print Documents Print Controllers Basic Print Events Margins Page Settings Printer Settings Useful Printing Techniques Where Are We? Chapter 9 Components Components Defined Using Components Creating Custom Components Where Are We? Chapter 10 Controls Controls Defined Using Controls Themed Controls Owner-Drawn Controls Extending Existing Controls Custom Controls User Controls Hosting COM Controls Where Are We? Chapter 11 Design-Time Integration: The Properties Window Design-Time Components Hosts, Containers, and Sites Debugging Design-Time Functionality The DesignMode Property Attributes Code Serialization Batch Initialization Extender Property Providers Type Converters UI Type Editors Where Are We? Chapter 12 Design-Time Integration: Designers and Smart Tags Designers Smart Tags Where Are We? Chapter 13 Resources Resource Basics Strongly Typed Resources Application Internationalization Where Are We? Chapter 14 Applications Applications Single-Instance Applications Where Are We? Chapter 15 Settings The Application Environment Application, User, and Roaming-User Settings Strongly Typed Settings Using Strongly Typed Settings Designer Settings Alternative Storage for Settings Where Are We? Chapter 16 Data Binding Basics The Land before Data Binding Simple Data Binding and Item Data Sources Simple Binding and List Data Sources Complex Binding and List Data Sources IBindingList BindingList The BindingSource Component Design-Time Data Sources Binding UI Elements in the Designer Where Are We? Chapter 17 Applied Data Binding Drag-and-Drop Data Binding Fundamentals of Data-Bound UIs Data Views Real-World Data-Bound UIs Where Are We? Chapter 18 Multithreaded User Interfaces Long-Running Operations Asynchronous Web Services Where Are We? Chapter 19 ClickOnce Deployment A Day in the Life of ClickOnce Deployment ClickOnce Configuration ClickOnce Security Managing Permissions Considerations for Partially Trusted Assemblies Processing Command Line Arguments Where Are We? Appendix A What's New in Windows Forms 2.0 A Few Words About Windows Forms Windows Forms 2.0 Enhancements Windows Forms 2.0: The Improvements Appendix B Moving from MFC A Few Words About MFC MFC Versus Windows Forms MFC and Windows Forms Interop Windows Forms as a Better MFC Appendix C Delegates and Events Delegates Events Anonymous Delegates Happiness in the Universe Appendix D Component and Control Survey Components Controls Appendix E Drag and Drop Enabling Drag and Drop Adding Support for Multiple Drag-and-Drop Effects Customizing Drag and Drop Drag and Drop of Multiple Data Items File Drag and Drop Appendix F Document Management The FileDocument Component Shell Integration The MruMenuManager Component Opening Files Dragged and Dropped from the Shell Bibliography Color Insert Index Copyright Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals The NET logo is either a registered trademark or trademark of Microsoft Corporation in the United States and/or other countries and is used under license from Microsoft The following articles were originally printed in MSDN Magazine, and are reprinted in this book with permission ".NET Zero Deployment: Security and Versioning Models in the Windows Forms Engine Help You Create and Deploy Smart Clients" by Chris Sells, MSDN Magazine, July 2002 "Visual Studio NET: Building Windows Forms Controls and Components with Rich Design-Time Features" by Michael Weinhardt and Chris Sells, MSDN Magazine, April 2003 "Visual Studio NET: Building Windows Forms Controls and Components with Rich DesignTime Features, Part 2" by Michael Weinhardt and Chris Sells, MSDN Magazine, May 2003 ".NET Framework 2.0: Craft a Rich UI for Your NET App with Enhanced Windows Forms Support" by Michael Weinhardt and Chris Sells, MSDN Magazine, May 2004 "Smart Tags: Simplify UI Development with Custom Designer Actions in Visual Studio" by Michael Weinhardt, MSDN Magazine, July 2005 "Draft a Rich UI: Ground Rules for Building Enhanced Windows Forms Support into Your NET App" by Michael Weinhardt and Chris Sells, MSDN Magazine, May 2005 The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions No liability is assumed for incidental or consequential damages in text labels, smart tags text strings aligning antialiasing digit substitution drawing formatting paths glyphs hotkey prefixes tab stops setting trimming wrapping TextBox controls 2nd TextBoxRender TextRenderer 2nd 3rd Graphics, compared 2nd device-independent drawing font edge smoothing support formatting options 2nd formatting with 2nd GDI+ integration Graphics class, integration internationalization shell consistency text, drawing TextureBrush class themed controls third-party support, MFC threads, worker threads executing from initiating UI access detection Tick event time stamping ClickOnce applications Timer component 2nd TimeZoneModifier property toggling smart tag label text tool strip render modes, controls tool strips 2nd docking with MFC Office 2003-style tool strips Tool tip component 2nd tool tips, dialogs tool windows Toolbox icon, changing Toolbox Items dialog ToolStrip component 2nd ToolStrip control ToolStripContainer control ToolStripManager ToolStripProfessionalRenderer ToolStripSystemRenderer ToPage property ToString property ToString( ) method No-Touch Deployment (NTD) TrackBar control Transform property 2nd TransformPoints( ) method transforms combining helpers paths rotation scaling shearing translation world coordinates TranslateBounds( ) method translation color transforms transparency forms images tree-style navigation, bound data TreeView control 2nd 3rd triggering Paint event Trimming property trusted assemblies, partially trusted assemblies, ClickOnce deployment 2nd trusting code signed applications two-way item change synchronization two-way list change synchronization type converters custom type converters design-time integration TypeConverters bound UIs typed data sets typed resources application resources (.resx) files classes designer resources 2nd managing native resources, embedding persistence Resource Manager uses for typed settings 2nd typed table adapters typefaces types, settings 2nd Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] Designer, UI elements, data binding UI editors drop-down UI type editors modal UI type editors UI layout, MFC UI threads exceptions UI type editors Color Property drop-down UI editor Custom View drop-down UI editor design-type integration 2nd UI updating, MFC UIs (user interfaces) bound UIs 2nd hierarchical UIs item UIs list UIs list-item UIs master-details UIs multiple lookups TypeConverters data binding Details bound UIs multithreaded user interfaces 2nd asynchronous callbacks asynchronous operations asynchronous web services custom delegates pi calculations progress indicators progress reports shared data simplified multithreading synchronous callbacks 2nd worker threads access detection Unhandled-Exception dialog Update Available dialog UpdateLocation property updating application settings UpgradeRequired trick UseAntiAlias property UseEXDialog property user configuration files user controls 2nd design-time components testing user interfaces (UIs) [See UIs (user interfaces).] user settings User settings, applications UserControl Designer using statement 2nd Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] Validate( ) method validation combined validation controls, improvements to data format notification DDV (Dynamic Data Validation) dialogs list UIs masked text entry regular expressions values, settings Van Dam, Andries vector formats versioning, ClickOnce deployment video, resolution, dots per inch (dpi) views, Windows Forms Designer Visibility property Visible property visual design surface visual inheritance Visual Studio NET, forms VS05 (Visual Studio 2005) VScrollBar control Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] Warp( ) method web deployment ClickOnce deployment MFC security web services asynchronous web services, multithreaded user interfaces comunications 2nd Web Services Description Language (WSDL) WebBrowser control Weinhardt, Alex Weinhardt, Josef Weinhardt, Lili Weinhardt, Michael What You See Is What You Get (WYSIWYG) Widen( ) method Width property Win32 wrappers, MFC window procedure Windows Application project template Windows Developer magazine Windows Forms 2.0 2nd Applications, improvements to ClickOnce Deployment Components, improvements to Controls, improvements to data bindings, improvements to Design-Time integration, improvements to Drawing, improvements to enhancements forms, improvements to Multithreaded User Interfaces, improvements to printing, improvements to resources, improvements to settings, improvements to Windows Forms applications Windows Forms Designer 2nd controls 2nd anchoring arranging automatic resizing automatic scaling container controls custom layout docking FlowLayoutPanel grouping layout optimization positioning sizing splitting tab order TableLayoutPanel z-order layout modes Windows Forms Designer view Windows Forms Unhandled-Exception dialog Windows message handling, custom controls Windows Presentation Foundation (WPF) Windows theme wizards application wizards, MFC Data Source Configuration Wizard 2nd MDI Parent project template Publish mode Publish Wizard Windows Application Wizard 2nd word wrapping, printing 2nd worker threads executing from initiating UI access detection world coordinates WPF (Windows Presentation Foundation) wrapping text strings WSDL (Web Services Description Language) WYSIWYG (What You See Is What You Get) Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] XML (Extensible Markup Language) Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] Yoshimatsu, Fumiaki Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Y] [Z] z-order, controls 2nd Zoom property ... Computer softwareDevelopment I Weinhardt, Michael II Title QA76.76.M52S44 20 06 00 5 .2' 768dc 22 20 0 600 0194 Copyright © 20 06 Chris Sells and Michael Weinhardt All rights reserved Printed in the United States of America... Best practices for developers transitioning from Windows Forms 1 .0 and MFC Windows Forms 2. 0 Programming By Chris Sells, Michael Weinhardt Publisher: Addison Wesley Professional Pub Date: May 16, 20 06 Print ISBN- 10: 0- 321 2-6796-6... What's New in Windows Forms 2. 0 A Few Words About Windows Forms Windows Forms 2. 0 Enhancements Windows Forms 2. 0: The Improvements Appendix B Moving from MFC A Few Words About MFC MFC Versus Windows Forms

Ngày đăng: 26/03/2019, 16:01

Từ khóa liên quan

Mục lục

  • Windows Forms 2.0 Programming

  • Table of Contents

  • Copyright

  • Microsoft .NET Development Series

  • About the Authors

    • Foreword

    • Preface

    • Chapter 1. Hello, Windows Forms

      • Windows Forms from Scratch

      • Windows Forms in Visual Studio .NET

      • Arranging Controls

      • Controls

      • Application Settings

      • Resources

      • Dialogs

      • Drawing

      • Printing

      • Data Binding

      • Multithreaded User Interfaces

      • Deployment

      • Where Are We?

      • Chapter 2. Forms

        • Showing Forms

Tài liệu cùng người dùng

Tài liệu liên quan