FREE Registration is required
Overview:
Get the most out of Windows Forms, the next-generation Windows programming class library, by using C# to create dynamic user interfaces and graphical outputs for Windows applications. Focus on developing custom controls in this sample chapter from Programming Microsoft Windows Forms: A Streamlined Approach Using C#. From a programming perspective, a custom control is a class that you define that derives—either directly or indirectly—from Control. It may be an enhancement of an existing control or an entirely new control. Although you can perform a significant amount of customization just by installing event handlers on existing controls and processing those events, a new class is required if you need to entirely override default event handling. You also need to create a new class if you want to add fields or properties to an existing control. In this chapter, investigate:
- Enhancing existing controls
- Overriding methods
- Adding new properties
- Control paint jobs
- Combining existing controls
- Creating custom controls from scratch
As with most any programming job, the real benefit of custom controls comes with reusing them in multiple applications or in making them available to other programmers for profit or glory.
Title: Programming Microsoft Windows Forms: A Streamlined Approach Using C#
ISBN: 0735613702
Published: December 2001
Authors: Charles Petzold
Chapter: Chapter 4: Custom Controls
Published by Microsoft Press
(Is this item miscategorized? Does it need more tags? Let us know.)
| Format: | Size: | 1,565 KB | |
| Date: | Dec 2006 | Version: | 1.0 |
| License: | copyright | ||
| System Req: | Adobe Acrobat Reader 5.0 or later |
People who downloaded this item also downloaded
White Papers, Webcasts, and Resources
- Best Practices in the Call Center: A Customer Touch-Point Methodology OracleImprove customer satisfaction in your contact center -- while reducing costs -- with an approach that puts all client touch-points on one continuum.
- Orthopedic Center to Grow 30 Percent and Boost Productivity With Online Services MicrosoftRead how one healthcare provider dramatically lowered costs--saving over $35,000 annually on licensing fees alone--using Microsoft Online Services.
- Citizants: Bringing IT In-House Dell EqualLogicRead how one company enhanced IT flexibility and scalability by creating an in-house virtualized infrastructure that will pay for itself in 18 months.
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
Featured Training Courses
- Implementing and Administering Windows 7 in the Enterprise
- CCNA Boot Camp v2.0
- VMware vSphere: Install, Configure, Manage [V4]
- Certified Ethical Hacker
- Management and Leadership Skills
- Browse all Training Courses
SmartPlanet
- Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
- More from IBM
- How to Drive Better Business Outcomes with Exceptional Web Experiences Download the eBook
- Driving Business Agility through SOA Connectivity & Integration Read the White Paper from IBM
- Linking Decisions and Information for Organizational Performance Read the Tom Davenport study




