GDI+ Application Custom Controls with Visual C# 2005 - Helion
ebook
Autor: Tiberiu Radu, Iulian Serban, Dragos Brezoi, Adam WardTytuł oryginału: GDI+ Application Custom Controls with Visual C# 2005.
ISBN: 9781847190468
Format: ebook
Data wydania: 2006-07-10
Księgarnia: Helion
Cena książki: 129,00 zł
Osoby które kupowały "GDI+ Application Custom Controls with Visual C# 2005", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
GDI+ Application Custom Controls with Visual C# 2005 eBook -- spis treści
- GDI+ Custom Controls with Visual C# 2005
- Table of Contents
- GDI+ Custom Controls with Visual C# 2005
- Credits
- About the Authors
- About the Reviewer
- Preface
- What This Book Covers
- Conventions
- Reader Feedback
- Customer Support
- Downloading the Example Code for the Book
- Errata
- Questions
- 1. Introduction to Custom Controls
- What Are Controls?
- Introducing Custom Controls
- Categories of User Controls
- Preparing Your Environment
- What Are Custom Controls Made Of?
- Private Fields
- Properties
- Indexers
- Events and Delegates
- Handling Events
- Collections
- Enums
- Building TinyNoiseMaker
- Time for ActionCreating the TinyNoiseMaker Custom Control
- What Just Happened?
- Time for ActionCreating the TinyNoiseMaker Custom Control
- Extending TinyNoiseMaker
- Time for ActionAdding Public Functionality
- What Just Happened?
- Time for ActionUsing the Controls Public Interface
- What Just Happened?
- Time for ActionAdding Public Functionality
- Summary
- 2. Introduction to GDI+
- Understanding Control Drawing
- Understanding GDI+
- The Graphics Object
- The Control.Paint Event
- Invalidation
- Simple Drawing on a Form
- Time for ActionCreating the Application
- What Just Happened?
- Time for ActionCreating the Application
- Drawing Inside a Panel Object
- Time for ActionCreating the Application
- What Just Happened?
- Time for ActionCreating the Application
- Drawing Inside a Control
- Time for ActionCreating the Application
- What Just Happened?
- Time for ActionCreating the Application
- Summary
- Understanding Control Drawing
- 3. Basic Drawing
- The GDI+ Coordinate System
- 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
- Building the GradientLabel Control
- Time for ActionCreating the GradientLabel Custom Control
- What Just Happened?
- Time for ActionCreating the GradientLabel Custom Control
- Summary
- 4. Drawing Complex Shapes and Using Transformations
- Drawing Complex Shapes
- The GraphicsPath Object
- The Region Object
- Clipping Drawing Using Region Objects
- Keeping Drawing Inside a Region
- Keeping Drawing Outside a Region
- Graphics Transformations
- Translation
- Rotation
- Scaling
- Creating the Clock Control
- Time for ActionCreating the Clock Control
- Time for ActionUpdating the Clock to Use Transformations
- What Just Happened?
- Summary
- Drawing Complex Shapes
- 5. Drawing Control Parts, Borders, and Adornments
- Rendering Common Control Parts
- Drawing Buttons
- Drawing Caption Buttons
- Drawing Checkboxes
- Drawing Drop-Down Buttons
- Drawing Radio Buttons
- Drawing Scroll Buttons
- Rendering Borders and Frames
- Rendering Button Borders
- Rendering 3D Borders
- Rendering Control Adornments
- Creating Multiple Controls that Reuse the Same Functionality
- Creating a Base Class for Two or More Controls
- Time for ActionCreating the ControlPart Base Class
- What Just Happened?
- Time for ActionCreating the ControlPart Base Class
- Creating a Base Class for Two or More Controls
- Creating Derived Controls
- Time for ActionCreating the ScrollArrowButton Control
- What Just Happened?
- Time for ActionCreating the CheckButton Control
- What Just Happened?
- Time for ActionCreating the ScrollArrowButton Control
- Extending Existing Controls
- Time for ActionCreating the BorderGradientPanel Control
- What Just Happened?
- Time for ActionImplementing the GradientButton Control
- What Just Happened?
- Time for ActionCreating the BorderGradientPanel Control
- Summary
- Rendering Common Control Parts
- 6. Working with Images
- Drawing Images
- Using the Image Class
- Using the Bitmap Class
- Displaying Images
- Time for ActionDisplaying Images
- What Just Happened?
- Time for ActionDisplaying Images
- Image Effects
- Skewing, Rotation, and Scaling
- Building the ImageWarper Class
- Time for ActionCreating the ImageWarper Class
- What Just Happened?
- Time for ActionCreating the ImageWarper Class
- The ImageWarperControl
- Time for ActionCreating the ImageWarperApp and the Image WarperControl
- What Just Happened?
- Time for ActionCreating the ImageWarperApp and the Image WarperControl
- Summary
- Drawing Images
- 7. Printing
- .NET Printing Explained
- Using the PrintDocument Class
- Your First Print Job
- Time for ActionCreating the "Hello Printer!" Application
- What Just Happened?
- Time for ActionCreating the "Hello Printer!" Application
- The SimpleReportPrinter
- Building the SimpleReportPrinter and TextDispenser Classes
- Time for ActionBuilding the TextDispenser Class
- What Just Happened?
- Time for ActionBuilding the SimpleReportPrinter Class
- What Just Happened?
- Time for ActionBuilding the TextDispenser Class
- Building the SimpleReportPrinter and TextDispenser Classes
- User Involvement
- Our Responsibilities as Programmers
- Printing Custom Controls
- Time for ActionCreating the PrintableRichTextBox
- What Just Happened?
- Time for ActionCreating the PrintableRichTextBox
- Summary
- .NET Printing Explained
- 8. Collections
- Collections in the .NET Framework
- ArrayList
- Queue
- Stack
- SortedList
- Generics
- Building the Font Picker
- Time for ActionBuilding Font Picker
- What Just Happened?
- Time for ActionBuilding Font Picker
- Summary
- Collections in the .NET Framework
- 9. Double Buffering
- Introduction to Double Buffering
- The Scroll Bar
- Scroll that Text!
- Time for ActionBuilding FlickerFree Control
- What Just Happened?
- Time for ActionBuilding FlickerFree Control
- Scroll that Text!
- Summary
- 10. Handling Mouse Events
- Handling Mouse Events
- Working with Coordinates
- Dragging and Dropping
- Dragging
- Time for ActionDragging
- What Just Happened?
- Time for ActionDragging
- Dragging
- Dragging and Dropping
- Time for ActionDragging and Dropping.
- What Just Happened?
- Time for ActionDragging and Dropping.
- Summary
- Handling Mouse Events
- 11. Implementing Design-Time Support
- Building Designer-Friendly Controls
- Attributes
- Designers
- Type Converters
- UI Type Editors
- Property Editors
- Creating Property Editors
- Time for ActionAdding Design-Time Support
- What Just Happened?
- Time for ActionAdding Design-Time Support
- Creating Property Editors
- Summary
- Building Designer-Friendly Controls
- 12. Designing Intuitive Interfaces
- The Relationship between User and Computer
- Communicating with Users
- Requests, Input Parsing, Fault Tolerance, and Feedback
- Examining the Sketcher Control
- Looking Further Into Input Parsing
- How Can We Use Regex to Our Advantage?
- Time for ActionCreating the Regex Application
- What Just Happened?
- Time for ActionCreating the Regex Application
- How Can We Use Regex to Our Advantage?
- Our Regex Pattern in Detail
- Optimization and Coding Conventions
- Summary
- The Relationship between User and Computer
- 13. The PieChart Control
- Creating the PieChart Control
- Time for ActionCreating the PieChart Control
- What Just Happened?
- Time for ActionCreating the PieChart Control
- Adding Slice Names and Delimiters
- Time for ActionImproving the PieChart Control
- What Just Happened?
- Time for ActionImproving the PieChart Control
- PieChart Legend
- Time for ActionCreating the PieChart Legend
- What Just Happened?
- Time for ActionCreating the PieChart Legend
- Printing the PieChart
- Time for ActionThe Printable PieChart
- What Just Happened?
- Time for ActionThe Printable PieChart
- Adding and Removing Slices
- Time for ActionAdd Application Support for PieChart Slice Add/Remove Operations
- What Just Happened?
- Time for ActionAdd Application Support for PieChart Slice Add/Remove Operations
- Summary
- Creating the PieChart Control
- A. Distributing Custom Controls
- Creating a Control Library Using Visual Studio 2005
- Creating a Control Library Using Visual C# Express 2005
- Using a Custom Control Library
- Index