GDI+ Application Custom Controls with Visual C♯ 2005
Contributors: Brezoi, Dragos; Serban, Iulian
Publisher: Packt Pub.
Published: 2006
Place of publication: Birmingham
Language: eng
Format: [electronic resource]
Number of pages: 543
ISBN-13: 9781847190468
Subjects: Computer graphics; Microsoft .NET; User interfaces (Computer systems)
Description: A fast-paced example-driven tutorial to building custom controls using Visual C♯ 2005 Express Edition and .NET 2.0.
Notes: Time for Action-Implementing the GradientButton Control.

Description based on print version record.
Table of contents: title: GDI+ Custom Controls with Visual C♯ 2005; 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.; title: Time for Action-Creating the TinyNoiseMaker Custom ControlWhat Just Happened?; Extending TinyNoiseMaker; ; ; Time for Action-Adding Public Functionality; What Just Happened?; Time for Action-Using the Control's Public Interface; What Just Happened?; 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 Action-Creating the Application; What Just Happened?; Drawing Inside a Panel Object; ; ; Time for Action-Creating the Application; What Just Happened?; title: Drawing Inside a Control; ; Time for Action-Creating the Application; What Just Happened?; Summary; 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 Action-Creating the GradientLabel Custom Control; What Just Happened?; Summary; 4. Drawing Complex Shapes and Using Transformations; Drawing Complex Shapes; The GraphicsPath Object; The Region Object.; title: Clipping Drawing Using Region ObjectsKeeping Drawing Inside a Region; Keeping Drawing Outside a Region; Graphics Transformations; Translation; Rotation; Scaling; Creating the Clock Control; ; ; Time for Action-Creating the Clock Control; Time for Action-Updating the Clock to Use Transformations; What Just Happened?; Summary; 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.; title: Rendering Button BordersRendering 3D Borders; Rendering Control Adornments; 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; What Just Happened?; Creating Derived Controls; ; Time for Action-Creating the ScrollArrowButton Control; What Just Happened?; Time for Action-Creating the CheckButton Control; What Just Happened?; Extending Existing Controls; ; ; Time for Action-Creating the BorderGradientPanel Control; What Just Happened?