Pro .NET 2.0 Windows Forms and Custom Controls P1
Số trang: 30
Loại file: pdf
Dung lượng: 824.44 KB
Lượt xem: 10
Lượt tải: 0
Xem trước 3 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
The late 1990s brought us the revolution of the Internet. After 15 years of moving from a serverbasedmodel of computing to a client/server-based model, the pendulum swung back heavilytoward the server with the rapid growth of Web pages, HTML, and server-based applications.There was much to like about Web applications. Designers liked them because they hadlots of great ways to apply nice-looking style sheets and layouts. Companies liked them becausethey did away with all the expensive and risky aspects of deploying client applications. All thathad to be done was to install the application on a Web server, and you were done....
Nội dung trích xuất từ tài liệu:
Pro .NET 2.0 Windows Forms and Custom Controls P1Pro .NET 2.0 WindowsForms and CustomControls in C#■■■Matthew MacDonaldPro .NET 2.0 Windows Forms and Custom Controls in C#Copyright © 2006 by Matthew MacDonaldAll rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,electronic or mechanical, including photocopying, recording, or by any information storage or retrievalsystem, without the prior written permission of the copyright owner and the publisher.ISBN (pbk): 1-59059-439-8Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrenceof a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademarkowner, with no intention of infringement of the trademark.Lead Editor: Dominic ShakeshaftTechnical Reviewer: Christophe NasarreEditorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore, Jonathan Hassell, Chris Mills, Dominic Shakeshaft, Jim SumserAssociate Publisher: Grace WongProject Manager: Beckie BrandCopy Edit Manager: Nicole LeClercCopy Editor: Candace EnglishAssistant Production Director: Kari Brooks-CoponyProduction Editor: Janet VailCompositor: Susan GlinertProofreader: Nancy SixsmithIndexer: Michael BrinkmanArtist: Kinetic Publishing Services, LLCInterior Designer: Van Winkle Design GroupCover Designer: Kurt KramesManufacturing Director: Tom DebolskiDistributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com, orvisit http://www.springeronline.com.For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com.The information in this book is distributed on an “as is” basis, without warranty. Although every precautionhas been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability toany person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectlyby the information contained in this work.The source code for this book is available to readers at http://www.apress.com in the Source Code section.For Nora and PaulContents at a GlanceForeword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvAbout the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviiAbout the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxixAcknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiiiPART 1 ■■■ Windows Forms Fundamentals■CHAPTER 1 User Interface Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3■CHAPTER 2 Control Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41■CHAPTER 3 Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73■CHAPTER 4 The Classic Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111■CHAPTER 5 Images and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151■CHAPTER 6 Lists and Trees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173■CHAPTER 7 Drawing with GDI+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211■CHAPTER 8 Data Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263PART 2 ■■■ Custom Controls■CHAPTER 9 Custom Control Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321■CHAPTER 10 User Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337■CHAPTER 11 Derived Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365■CHAPTER 12 Owner-Drawn Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389■CHAPTER 13 Design-Time Support for Custom Controls . . . . . . . . . . . . . . . . . . . . 425PART 3 ■■■ Modern Controls■CHAPTER 14 Tool, Menu, and Status Strips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477■CHAPTER 15 The DataGridView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521■CHAPTER 16 Sound and Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579■CHAPTER 17 The WebBrowser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593 vvi ■C O N T E N T S A T A G L A N C E PART 4 ■■■ Wind ...
Nội dung trích xuất từ tài liệu:
Pro .NET 2.0 Windows Forms and Custom Controls P1Pro .NET 2.0 WindowsForms and CustomControls in C#■■■Matthew MacDonaldPro .NET 2.0 Windows Forms and Custom Controls in C#Copyright © 2006 by Matthew MacDonaldAll rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,electronic or mechanical, including photocopying, recording, or by any information storage or retrievalsystem, without the prior written permission of the copyright owner and the publisher.ISBN (pbk): 1-59059-439-8Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrenceof a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademarkowner, with no intention of infringement of the trademark.Lead Editor: Dominic ShakeshaftTechnical Reviewer: Christophe NasarreEditorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore, Jonathan Hassell, Chris Mills, Dominic Shakeshaft, Jim SumserAssociate Publisher: Grace WongProject Manager: Beckie BrandCopy Edit Manager: Nicole LeClercCopy Editor: Candace EnglishAssistant Production Director: Kari Brooks-CoponyProduction Editor: Janet VailCompositor: Susan GlinertProofreader: Nancy SixsmithIndexer: Michael BrinkmanArtist: Kinetic Publishing Services, LLCInterior Designer: Van Winkle Design GroupCover Designer: Kurt KramesManufacturing Director: Tom DebolskiDistributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com, orvisit http://www.springeronline.com.For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com.The information in this book is distributed on an “as is” basis, without warranty. Although every precautionhas been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability toany person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectlyby the information contained in this work.The source code for this book is available to readers at http://www.apress.com in the Source Code section.For Nora and PaulContents at a GlanceForeword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvAbout the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviiAbout the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxixAcknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiiiPART 1 ■■■ Windows Forms Fundamentals■CHAPTER 1 User Interface Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3■CHAPTER 2 Control Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41■CHAPTER 3 Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73■CHAPTER 4 The Classic Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111■CHAPTER 5 Images and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151■CHAPTER 6 Lists and Trees . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173■CHAPTER 7 Drawing with GDI+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211■CHAPTER 8 Data Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263PART 2 ■■■ Custom Controls■CHAPTER 9 Custom Control Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321■CHAPTER 10 User Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337■CHAPTER 11 Derived Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365■CHAPTER 12 Owner-Drawn Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389■CHAPTER 13 Design-Time Support for Custom Controls . . . . . . . . . . . . . . . . . . . . 425PART 3 ■■■ Modern Controls■CHAPTER 14 Tool, Menu, and Status Strips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477■CHAPTER 15 The DataGridView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521■CHAPTER 16 Sound and Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579■CHAPTER 17 The WebBrowser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593 vvi ■C O N T E N T S A T A G L A N C E PART 4 ■■■ Wind ...
Tìm kiếm theo từ khóa liên quan:
Kỹ thuật lập trình Phần cứng Công nghệ thông tin Tin học Quản trị mạngTài liệu liên quan:
-
52 trang 432 1 0
-
24 trang 358 1 0
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 319 0 0 -
74 trang 303 0 0
-
96 trang 297 0 0
-
Báo cáo thực tập thực tế: Nghiên cứu và xây dựng website bằng Wordpress
24 trang 291 0 0 -
Đồ án tốt nghiệp: Xây dựng ứng dụng di động android quản lý khách hàng cắt tóc
81 trang 284 0 0 -
EBay - Internet và câu chuyện thần kỳ: Phần 1
143 trang 277 0 0 -
Tài liệu dạy học môn Tin học trong chương trình đào tạo trình độ cao đẳng
348 trang 269 1 0 -
Kỹ thuật lập trình trên Visual Basic 2005
148 trang 268 0 0