A fast-paced example-driven tutorial to building custom controls using Visual C# 2005 Express Edition and .NET 2.0. If you want to build custom controls with C# but you don't know where to start, or you are intimidated by the huge amount of information that needs to be absorbed, then this book is for you. This friendly tutorial is based on numerous examples with real-world applicability, and includes a case study featuring the development of a fully functional PieChart control. Showing you how to use the free Visual C# 2005 Express Edition environment to develop your controls, Building Custom Controls with Visual C# 2005 will teach you how to create professional, reusable custom controls for your desktop applications in no time. This book has been written with the intermediate C# developer in mind. Assuming a working knowledge of C#, the book teaches you how to implement custom controls using Visual C# 2005 Express Edition and all other versions of Visual C#, and GDI+ with .NET 2.0 The book covers: . Understand the basics of custom controls . Use GDI+ to draw your own controls . Implement double buffering to speed up your forms . Add printing functionality to your custom controls . Handle the mouse events to improve the user experience . Offer design-time support for programmers using your control . Design intuitive interfaces for your users
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Iulian Serban is a software architect who started programming at a very young age. He evolved through a lot of programming languages including Pascal, Delphi, C++ Builder, Visual C++ with MFC and finally .NET and C #. By the age of 17 he started working for Syncfusion, one of the largest .NET control builders in the US, writing code for professional custom controls. Nowadays he devotes most of his spare time to his own IT business, which is set to release significant software projects soon. Tiberiu Radu has been working with computers for over 10 years now, programming in a wide range of languages including Pascal, C/C++, Visual Basic, Delphi, and C#. As a Microsoft Student Partner in the Microsoft Academic Program, he's devoting a lot of time to many .NET-related technologies. Tiberiu is in the last year of studies with the Automatic Control and Computers Faculty of the Politehnica University of Bucharest. While researching for his own IT security business, he developed skills in embedded programming and new web technologies, and is seeking new and innovating networking security solutions. Dragos Brezoi started programming to create an application for processing and adding extra effects to his guitar's sound. Several years after, he got a Masters Degree in Computer Science from the Politehnica University of Bucharest, and is now researching for a Ph.D. in Advanced Automatics. Dragos currently works as a programmer for Mikon Systems, developing industrial software. His skills cover a wide area of specialization from PLC and DSP programming to SCADA, OPC, and DCS solutions. At this moment he is creating professional human-machine interfaces, with a focus on developing advanced custom controls with C#.Adam Ward works for a communications technology company in Derby, England. Adam excels in experimental programming techniques and has a particular interest in high-speed algorithms and graphical methods. His professional work is based in a varied Research and Development environment and he thrives on tasks requiring innovation, skill, and fine-tuning. He has also been involved in experimental coding collaborations showcasing the power of C#. Away from work, Adam is turning his attentions to Linux systems and especially cross-platform programming under .NET-compatible systems.
Preface
Chapter 1: Introduction to Custom Controls
Chapter 2: Introduction to GDI+
Chapter 3: Basic Drawing
Chapter 4: Drawing Complex Shapes and Using Transformations
Chapter 5: Drawing Control Parts, Borders, and Adornments
Chapter 6: Working with Images
Chapter 7: Printing
Chapter 8: Collections
Chapter 9: Double Buffering
Chapter 10: Handling Mouse Events
Chapter 11: Implementing Design-Time Support
Chapter 12: Designing Intuitive Interfaces
Chapter 13: The PieChart Control
Appendix A: Distributing Custom Controls
Index
* Preface
* Chapter 1: Introduction to Custom Controls
o What Are Controls?
o Introducing Custom Controls
+ Categories of User Controls
o Preparing Your Environment
o What Are Custom Controls Made Of?
+ Private Fields
+ Properties
+ Indexers
+ Events and Delegates
# Handling Events
+ Collections
+ Enums
o Building TinyNoiseMaker
+ Time for Action—Creating the TinyNoiseMaker Custom Control
* Extending TinyNoiseMaker
o Time for Action—Adding Public Functionality
o Time for Action—Using the Control's Public Interface
* Summary
* Chapter 2: Introduction to GDI+
o Understanding Control Drawing
+ Understanding GDI+
+ The Graphics Object
+ The Control.Paint Event
+ Invalidation
o Simple Drawing on a Form
+ Time for Action—Creating the Application
* Drawing Inside a Panel Object
o Time for Action—Creating the Application
* Drawing Inside a Control
o Time for Action—Creating the Application
* Summary
* Chapter 3: Basic Drawing
o The GDI+ Coordinate System
o Drawing with GDI+
+ Using the Color Object
+ Drawing Using the Pen Object
+ Filling Surfaces Using the Brush Object
+ Drawing Text Using the Font Object
+ Improving Drawing Quality
o Building the GradientLabel Control
+ Time for Action—Creating the GradientLabel Custom Control
* Summary
* Chapter 4: Drawing Complex Shapes and Using Transformations
o Drawing Complex Shapes
+ The GraphicsPath Object
+ The Region Object
o Clipping Drawing Using Region Objects
+ Keeping Drawing Inside a Region
+ Keeping Drawing Outside a Region
o Graphics Transformations
+ Translation
+ Rotation
+ Scaling
o Creating the Clock Control
+ Time for Action—Creating the Clock Control
+ Time for Action—Updating the Clock to Use Transformations
* Summary
* Chapter 5: Drawing Control Parts, Borders, and Adornments
o Rendering Common Control Parts
+ Drawing Buttons
+ Drawing Caption Buttons
+ Drawing Checkboxes
+ Drawing Drop-Down Buttons
+ Drawing Radio Buttons
+ Drawing Scroll Buttons
o Rendering Borders and Frames
+ Rendering Button Borders
+ Rendering 3D Borders
o Rendering Control Adornments
o Creating Multiple Controls that Reuse the Same Functionality
+ Creating a Base Class for Two or More Controls
# Time for Action—Creating the ControlPart Base Class
o Creating Derived Controls
+ Time for Action—Creating the ScrollArrowButton Control
+ Time for Action—Creating the CheckButton Control
* Extending Existing Controls
o Time for Action—Creating the BorderGradientPanel Control
o Time for Action—Implementing the GradientButton Control
* Summary
* Chapter 6: Working with Images
o Drawing Images
+ Using the Image Class
+ Using the Bitmap Class
+ Displaying Images
# Time for Action—Displaying Images
o Image Effects
o Skewing, Rotation, and Scaling
* Building the ImageWarper Class
o Time for Action—Creating the ImageWarper Class
* The ImageWarperControl
o Time for Action—Creating the ImageWarperApp and the Image WarperControl
* Summary
* Chapter 7: Printing
o .NET Printing Explained
+ Using the PrintDocument Class
o Your First Print Job
+ Time for Action—Creating the "Hello Printer!" Application
* The SimpleReportPrinter
o Building the SimpleReportPrinter and TextDispenser Classes
+ Time for Action—Building the TextDispenser Class
+ Time for Action—Building the SimpleReportPrinter Class
* User Involvement
* Our Responsibilities as Programmers
* Printing Custom Controls
o Time for Action—Creating the PrintableRichTextBox
* Summary
* Chapter 8: Collections
o Collections in the .NET Framework
+ ArrayList
+ Queue
+ Stack
+ SortedList
o Generics
o Building the Font Picker
+ Time for Action—Building Font Picker
* Summary
* Chapter 9: Double Buffering
o Introduction to Double Buffering
o The Scroll Bar
+ Scroll that Text!
# Time for Action—Building FlickerFree Control
* Summary
* Chapter 10: Handling Mouse Events
o Handling Mouse Events
+ Working with Coordinates
o Dragging and Dropping
+ Dragging
# Time for Action—Dragging
o Dragging and Dropping
+ Time for Action—Dragging and Dropping
* Summary
* Chapter 11: Implementing Design-Time Support
o Building Designer-Friendly Controls
+ Attributes
+ Designers
+ Type Converters
+ UI Type Editors
+ Property Editors
# Creating Property Editors
* Time for Action—Adding Design-Time Support
o Summary
* Chapter 12: Designing Intuitive Interfaces
o The Relationship between User and Computer
+ Communicating with Users
o Requests, Input Parsing, Fault Tolerance, and Feedback
+ Examining the Sketcher Control
o Looking Further Into Input Parsing
+ How Can We Use Regex to Our Advantage?
# Time for Action—Creating the Regex Application
o Our Regex Pattern in Detail
* Optimization and Coding Conventions
* Summary
* Chapter 13: The PieChart Control
o Creating the PieChart Control
+ Time for Action—Creating the PieChart Control
* Adding Slice Names and Delimiters
o Time for Action—Improving the PieChart Control
* PieChart Legend
o Time for Action—Creating the PieChart Legend
* Printing the PieChart
o Time for Action—The Printable PieChart
* Adding and Removing Slices
o Time for Action—Add Application Support for PieChart Slice Add/Remove Operations
* Summary
* Appendix A: Distributing Custom Controls
o Creating a Control Library Using Visual Studio 2005
o Creating a Control Library Using Visual C# Express 2005
o Using a Custom Control Library
* Index
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
EUR 29,36 per la spedizione da Regno Unito a Italia
Destinazione, tempi e costiEUR 1,22 per la spedizione da U.S.A. a Italia
Destinazione, tempi e costiDa: PBShop.store US, Wood Dale, IL, U.S.A.
PAP. Condizione: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Codice articolo L0-9781904811602
Quantità: Più di 20 disponibili
Da: PBShop.store UK, Fairford, GLOS, Regno Unito
PAP. Condizione: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Codice articolo L0-9781904811602
Quantità: Più di 20 disponibili
Da: California Books, Miami, FL, U.S.A.
Condizione: New. Codice articolo I-9781904811602
Quantità: Più di 20 disponibili
Da: Ria Christie Collections, Uxbridge, Regno Unito
Condizione: New. In. Codice articolo ria9781904811602_new
Quantità: Più di 20 disponibili
Da: THE SAINT BOOKSTORE, Southport, Regno Unito
Paperback / softback. Condizione: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days 510. Codice articolo C9781904811602
Quantità: Più di 20 disponibili
Da: moluna, Greven, Germania
Condizione: New. Based on numerous examples, this tutorial helps to build custom controls using Visual C No 2005 Express Edition and .NET 2.0. It includes a case study featuring the development of a fully functional PieChart control. It helps you to: use GDI+ to draw you ow. Codice articolo 11786094
Quantità: Più di 20 disponibili
Da: Chiron Media, Wallingford, Regno Unito
PF. Condizione: New. Codice articolo 6666-IUK-9781904811602
Quantità: 10 disponibili
Da: AHA-BUCH GmbH, Einbeck, Germania
Taschenbuch. Condizione: Neu. nach der Bestellung gedruckt Neuware - Printed after ordering. Codice articolo 9781904811602
Quantità: 1 disponibili
Da: Books Puddle, New York, NY, U.S.A.
Condizione: New. pp. 276. Codice articolo 262413895
Quantità: 4 disponibili
Da: Majestic Books, Hounslow, Regno Unito
Condizione: New. Print on Demand pp. 276 3:B&W 7.5 x 9.25 in or 235 x 191 mm Perfect Bound on White w/Gloss Lam. Codice articolo 5466776
Quantità: 4 disponibili