1. Trang chủ
  2. » Khoa Học Tự Nhiên

Aw net compact framework programming with c sharp

2K 484 0

Đ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

Thông tin cơ bản

Định dạng
Số trang 1.957
Dung lượng 14,32 MB

Nội dung

don't be afraid of buying books Next NET Compact Framework Programming with C# By Paul Yao, David Durant Publisher : Prentice Hall PTR Pub Date : May 24, 2004 ISBN : 0-321-17403-8 Pages : 1424 NET Compact Framework Programming with C# is the definitive tutorial and reference for the NET Compact Framework (CF) It shows you how to transfer your skills and your code to the Pocket PC 2003 and other mobile and embedded smart devices Authors Paul Yao and David Durant draw upon their years of research and experience with members of the Microsoft NET CF team to show you exactly how the best CF programming gets done in C# This is the only book a programmer needs to master the art of CF coding Throughout the book, sample code and examples illustrate best practices and programming techniques In addition, the companion Web site includes downloadable code for all these examples, along with a set of development tools to help you with your CF development projects The authors expertly zero in on what programmers need to understand for • Table of successful smart device programming, Contents including: Garbage Collection in the NET Compact Framework Controls and supported Properties, Methods, and Events (PMEs) Custom controls with Windows Forms Designer support Using Platform Invoke (P/Invoke) Simple and complex data binding and the DataGrid control Programming with ADO.NET data classes Synchronizing SQL Server CE with SQL Server 2000 databases Creating graphical output, including font and printing coding tricks Differences between the standard desktop framework and the CF NET Compact Framework Programming with C# is your single resource for everything you really need to know about CF programming Amazon Prev don't be afraid of buying books Next NET Compact Framework Programming with C# By Paul Yao, David Durant Publisher : Prentice Hall PTR Table of Pub Date : May 24, 2004 • ISBN : 0-321-17403-8 Contents Pages : 1424 Copyright Praise for NET Compact Framework Programming with C# Microsoft NET Development Series Titles in the Series Foreword Preface What You Need to Use This Book The Target Audience for This Book Acknowledgments About the Authors Part I Foundations Chapter 1 .NET Compact Framework Architecture Windows CE Overview The NET Compact Framework What Is NET? CONCLUSION Chapter 2 What Is a NET Compact Framework Program? The Essence of a NET Compact Framework Program Using Visual Studio NET 2003 Adding Classes The Cistern Sample Program CONCLUSION Chapter 3 The NET Type System Using Type Information: Namespace References and Assembly References Standard Types Strings Type Conversion CONCLUSION Memory Management Chapter 4 Platform Invoke Overview of P/Invoke Supported P/Invoke Function Parameters Writing Win32 Dynamic Link Libraries Communicating between Unmanaged and Managed Code Creating P/Invoke Declarations A Sample Program: CallWin32 Manual P/Invoke Parameter Passing Comparing P/Invoke Support CONCLUSION Part II Building the User Interface Chapter 5 Creating Forms What Are Forms? Inheritance and Visual Inheritance Chapter 6 Mouse and Keyboard Input Manipulating Forms CONCLUSION Overview of Input Programming for Mouse Input CONCLUSION Programming for Keyboard Input Chapter 7 Inside Controls What Are Controls? Properties, Methods, and Events The Core Properties Working with Control Type Information A Sample Program: TimeTracker The TextBox Control The Button Control Categories of Controls The Core Events The Core Methods Five Commonly Used Controls The Label Control The ListBox and ComboBox Controls The RadioButton and CheckBox Controls CONCLUSION Chapter 8 Data Binding to Controls Data Binding Complex Data Binding The DataGrid Control Simple Data Binding CONCLUSION Chapter 9 Inside More Controls Detecting Support for Properties, Methods, and Events Menus The ToolBar and ImageList Controls CONCLUSION Grabbing Events Dialog Boxes Chapter 10 Building Custom Controls Custom Controls Deriving Custom Controls from an Existing NET Control Creating New Controls Authoring Custom Controls for the Multithreaded Environment Controls as Objects Creating Composite Controls Adding Animation to a Custom Control Adding a Custom Control to the Visual Studio NET Toolbox CONCLUSION Part III Managing Device Data Chapter 11 Storage Smart-Device Data Storage Registry Access File I/O CONCLUSION Chapter 12 ADO.NET Programming Examining ADO.NET Working with Data Sets Microsoft SQL Server CONCLUSION Microsoft SQL Server CE Web Services Chapter 13 Synchronizing Mobile Data Understanding Remote Data Applications Installing Remote Data Connectivity Using RDA Choosing between Merge Replication and RDA Using Merge Replication CONCLUSION Chapter 14 The Remote API What Is ActiveSync? RAPI Fundamentals Detecting Changes in Device Connection State Loading Programs and DLLs Accessing the Object Store CONCLUSION Part IV Creating Graphical Output Chapter 15 .NET Compact Framework Graphics An Introduction to NET Compact Framework Graphics Drawing on the Display Screen Vector Graphics Raster Graphics CONCLUSION Chapter 16 Text and Fonts Drawing Text Font Selection Text Color Placing Text CONCLUSION Chapter 17 Printing The Printing Pipeline Programming for Printed Output Rendering with GDI Rendering with PrinterCE Direct Printing HP Mobile Printing CONCLUSION Part V Appendixes Appendix A Hungarian Notation for NET Programs Goals and Objectives Guidelines Hungarian Notation NET Naming Guidelines Appendix B Supported PMEs for NET Compact Framework Controls Appendix C Data Synchronization Wizards The Virtual Directory Creation Wizard The Create Publication Wizard Appendix D Windows API Allocation and Cleanup Functions Glossary Amazon Prev don't be afraid of buying books Next 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 Addison-Wesley 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 Microsoft, Windows, Visual Basic, Visual C#, and Visual C++ are either registered trademark or trademarks of Microsoft Corporation in the U.S.A and/or other countries/regions 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 connection with or arising out of the use of the information or programs contained herein The publisher offers discounts on this book when ordered in quantity for bulk purchases and special sales For more information, please contact: U.S Corporate and Government Sales (800) 382-3419 corpsales@pearsontechgroup.com For sales outside of the U.S., please contact: International Sales (317) 581-3793 international@pearsontechgroup.com Visit Addison-Wesley on the Web: www.awprofessional.com Library of Congress Cataloging-in-Publication Data Yao, Paul .NET compact framework programming with C# / Paul Yao, David Durant p cm.—(Microsoft NET development series) Includes index ISBN 0-321-17403-8 (alk paper) C#(Computer program language) Microsoft NET Framework I Durant, David II Title III Series QA76.73.C154Y36 2004 005.13'3—dc22 2004002429 Copyright © 2004 by Pearson Education, Inc All rights reserved No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher Printed in the United States of America Published simultaneously in Canada For information on obtaining permission for use of material from this work, please submit a written request to: Pearson Education, Inc Rights and Contracts Department 75 Arlington Street, Suite 300 ... Foundations Chapter 1 .NET Compact Framework Architecture Windows CE Overview The NET Compact Framework What Is NET? CONCLUSION Chapter 2 What Is a NET Compact Framework Program? The Essence of a... CONCLUSION Part IV Creating Graphical Output Chapter 15 .NET Compact Framework Graphics An Introduction to NET Compact Framework Graphics Drawing on the Display Screen Vector Graphics... the Internet World, 0-201-74568-2 Paul Yao and David Durant, NET Compact Framework Programming with C# , 0-321-17403-8 Paul Yao and David Durant, NET Compact Framework Programming with Visual Basic NET, 0-321-17404-6

Ngày đăng: 25/03/2019, 16:30