Pro .NET 2.0 Windows Forms and Custom Controls P2
Số trang: 20
Loại file: pdf
Dung lượng: 560.66 KB
Lượt xem: 10
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
AcknowledgmentsNo author can complete a book without a small army of helpful individuals. I’m deeply indebted to the whole Apress team, including Grace Wong, Beckie Stones, and Janet Vail, who helped everything move swiftly and smoothly; Candace English, who performed the copy edit; and many other individuals who worked behind the scenes indexing pages, drawing figures, and proofreading the final copy. I owe a special thanks to Gary Cornell, who always offers invaluable advice about projects and the publishing world. I owe a sincere thanks to Christophe Nasarre, who provided unfailingly excellent and insightful tech-review comments—they’ve helped me to fill...
Nội dung trích xuất từ tài liệu:
Pro .NET 2.0 Windows Forms and Custom Controls P2AcknowledgmentsN o author can complete a book without a small army of helpful individuals. I’m deeplyindebted to the whole Apress team, including Grace Wong, Beckie Stones, and Janet Vail, whohelped everything move swiftly and smoothly; Candace English, who performed the copy edit;and many other individuals who worked behind the scenes indexing pages, drawing figures,and proofreading the final copy.I owe a special thanks to Gary Cornell, who always offers invaluable advice about projects andthe publishing world. I owe a sincere thanks to Christophe Nasarre, who provided unfailingly excellent andinsightful tech-review comments—they’ve helped me to fill gaps and improve the overall quality ofthis book. I’ve worked with many technical reviewers, and Christophe is clearly one of the best.Just as useful were the readers who took time out to report problems and ask good questionsabout the first edition of this book. This book was written with close support from the Microsoft Windows Forms team, whotook time out to review individual chapters and answer many emails filled with obscure questions.Although I didn’t always know where the answers were coming from, I can safely say that I owethanks to Shawn Burke, Mike Harsh, Jessica Fosler, Joe Stegman, Miguel Lacouture-Amaya,Jeff Chrisope, Mark Boulter, Scott Berry, Mike Henderlight, Raghavendra Prabhu, Simon Muzio,Mark Rideout, and many others for their replies and tech-review comments. I’m especiallyindebted to Erick Ellis, who fielded all my questions and followed up to make sure I had timelyinformation and review comments. It was a great experience to write this book with theirfeedback. Finally, I’d never write any book without the support of my wife and these special individuals:Nora, Razia, Paul, and Hamid. Thanks, everyone! Matthew MacDonald xxxiIntroductionF our years after the .NET Framework first hit the programming scene, smart client applicationsstill refuse to die. This is significant because when .NET first appeared, all too many people assumed it wasabout to usher in a new world of Web-only programming. In fact, for a short time Microsoft’sown Web site described the .NET Framework in a single sentence as a “platform for buildingWeb services and Web applications”—ignoring the Windows technology that made the companyfamous. Now that the dust has settled, it’s clear that Web and Windows applications aren’t lockedin the final rounds of a life-or-death battle. Instead, both technologies are flourishing. And notonly are both technologies gaining strength, but they’re also stealing some of each other’s bestfeatures. For example, the latest release of .NET gives Web developers rich controls like menusand trees that were previously the exclusive domain of Windows coders (or Web-heads whoweren’t afraid to write a mess of hardcore client-side JavaScript). On the other hand, Windowsapplications are gaining easy Web-based deployment, more-flexible layout options, and theability to display HTML. All of these innovations point to many productive years ahead for Weband Windows developers alike. If you’ve picked up this book, you’ve already decided to learn more about programmingWindows smart clients with .NET. Although both Web and Windows applications have theirstrengths and weaknesses, only Windows applications allow you to break out of the confines ofthe browser and take full advantage of the client computer. With Windows Forms, you can playsound and video, display dynamic graphics, react to the user’s actions instantaneously, andbuild sophisticated windowed interfaces. In this book, you’ll learn how to use all of these techniques to design state-of-the-art appli-cation interfaces. Best of all, you won’t just learn how to use the existing controls of the .NETFramework—you’ll also learn everything you need to extend, enhance, and customize them.About This BookThis book focuses relentlessly on Windows Forms, the .NET toolkit for building modernWindows interfaces. In this book you’ll learn about several sides of user interface programming. Some of the keythemes include the following: • Dissecting the .NET controls. Although this book is not a reference, it contains an exhaustive tour of just about every .NET user interface element you’ll ever want to use. • Best practices and design tips. As a developer, you need to know more than how to add a control to a window. You also need to know how to create an entire user interface framework that’s scalable, flexible, and reusable. xxxiiixxxiv ■I N T R O D U C T I O N • How to enhance .NET controls and build your own. In this book, you’ll learn key tech- niques to extend existing controls and create your own from scratch. You’ll even learn how to draw controls from scratch with GDI+, the remarkable .NET drawing framework. • How to design elegant user interfaces for the average user. This subject isn’t the focus of the book, but you’ll get a great overview from Appendix A. You’ll also learn more from tips and notes throughout the book. • Advanced user interface techniques. Features are neat, but how do you use them? In this book you’ll see practical examples of common techniques like document-view architecture, validation, and hit testing. You’ll also learn how to dynamically generate forms from a database, unshackle data binding, and build an integrated help system. Of course, it’s just as important to point ...
Nội dung trích xuất từ tài liệu:
Pro .NET 2.0 Windows Forms and Custom Controls P2AcknowledgmentsN o author can complete a book without a small army of helpful individuals. I’m deeplyindebted to the whole Apress team, including Grace Wong, Beckie Stones, and Janet Vail, whohelped everything move swiftly and smoothly; Candace English, who performed the copy edit;and many other individuals who worked behind the scenes indexing pages, drawing figures,and proofreading the final copy.I owe a special thanks to Gary Cornell, who always offers invaluable advice about projects andthe publishing world. I owe a sincere thanks to Christophe Nasarre, who provided unfailingly excellent andinsightful tech-review comments—they’ve helped me to fill gaps and improve the overall quality ofthis book. I’ve worked with many technical reviewers, and Christophe is clearly one of the best.Just as useful were the readers who took time out to report problems and ask good questionsabout the first edition of this book. This book was written with close support from the Microsoft Windows Forms team, whotook time out to review individual chapters and answer many emails filled with obscure questions.Although I didn’t always know where the answers were coming from, I can safely say that I owethanks to Shawn Burke, Mike Harsh, Jessica Fosler, Joe Stegman, Miguel Lacouture-Amaya,Jeff Chrisope, Mark Boulter, Scott Berry, Mike Henderlight, Raghavendra Prabhu, Simon Muzio,Mark Rideout, and many others for their replies and tech-review comments. I’m especiallyindebted to Erick Ellis, who fielded all my questions and followed up to make sure I had timelyinformation and review comments. It was a great experience to write this book with theirfeedback. Finally, I’d never write any book without the support of my wife and these special individuals:Nora, Razia, Paul, and Hamid. Thanks, everyone! Matthew MacDonald xxxiIntroductionF our years after the .NET Framework first hit the programming scene, smart client applicationsstill refuse to die. This is significant because when .NET first appeared, all too many people assumed it wasabout to usher in a new world of Web-only programming. In fact, for a short time Microsoft’sown Web site described the .NET Framework in a single sentence as a “platform for buildingWeb services and Web applications”—ignoring the Windows technology that made the companyfamous. Now that the dust has settled, it’s clear that Web and Windows applications aren’t lockedin the final rounds of a life-or-death battle. Instead, both technologies are flourishing. And notonly are both technologies gaining strength, but they’re also stealing some of each other’s bestfeatures. For example, the latest release of .NET gives Web developers rich controls like menusand trees that were previously the exclusive domain of Windows coders (or Web-heads whoweren’t afraid to write a mess of hardcore client-side JavaScript). On the other hand, Windowsapplications are gaining easy Web-based deployment, more-flexible layout options, and theability to display HTML. All of these innovations point to many productive years ahead for Weband Windows developers alike. If you’ve picked up this book, you’ve already decided to learn more about programmingWindows smart clients with .NET. Although both Web and Windows applications have theirstrengths and weaknesses, only Windows applications allow you to break out of the confines ofthe browser and take full advantage of the client computer. With Windows Forms, you can playsound and video, display dynamic graphics, react to the user’s actions instantaneously, andbuild sophisticated windowed interfaces. In this book, you’ll learn how to use all of these techniques to design state-of-the-art appli-cation interfaces. Best of all, you won’t just learn how to use the existing controls of the .NETFramework—you’ll also learn everything you need to extend, enhance, and customize them.About This BookThis book focuses relentlessly on Windows Forms, the .NET toolkit for building modernWindows interfaces. In this book you’ll learn about several sides of user interface programming. Some of the keythemes include the following: • Dissecting the .NET controls. Although this book is not a reference, it contains an exhaustive tour of just about every .NET user interface element you’ll ever want to use. • Best practices and design tips. As a developer, you need to know more than how to add a control to a window. You also need to know how to create an entire user interface framework that’s scalable, flexible, and reusable. xxxiiixxxiv ■I N T R O D U C T I O N • How to enhance .NET controls and build your own. In this book, you’ll learn key tech- niques to extend existing controls and create your own from scratch. You’ll even learn how to draw controls from scratch with GDI+, the remarkable .NET drawing framework. • How to design elegant user interfaces for the average user. This subject isn’t the focus of the book, but you’ll get a great overview from Appendix A. You’ll also learn more from tips and notes throughout the book. • Advanced user interface techniques. Features are neat, but how do you use them? In this book you’ll see practical examples of common techniques like document-view architecture, validation, and hit testing. You’ll also learn how to dynamically generate forms from a database, unshackle data binding, and build an integrated help system. Of course, it’s just as important to point ...
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