.
Winforms Banner
Skip Navigation LinksWelcome : Windows Forms Tips and Tricks

Welcome to Windows Forms Tips and Tricks

Windows Forms is the managed wrapper for Win32 objects. .Net user interface systems have been based on the principles first seen in the earlier versions of Windows. Although the windows handles and event systems were hidden behind Control objects and delegates, the essential functioning was always managed by the underlying unmanaged system.

Windows Forms simplified the development of applications, provided an advanced, object oriented method for managing the screen regions and introduced the use of delegates instead of unweildy case switch statements for event handling.

This FAQ style list of articles contains many useful examples of both common and esoteric use cases. Enjoy!

Skip Navigation Links
Tips
General Technique
Debugging controls
To override or handle?
Backtrack the mouse to the virtual page
Embed TrueType fonts
Pre-jit your application
Drawing menus with a custom font
Singleton App
Understanding AutoScroll
Accessing dialog properties
Flash the titlebar or the start-bar button
How to play a sound
Controls
Creating transparent Windows Forms Controls
ComboBox SelectedIndexChanged event problems in data-bound VB
Adding a standard border
The ToolboxBitmap puzzle
Put a CheckBox next to a Boolean value in the property grid
Make a Boolean value in the property grid read Yes/No instead of True/False
Maintain the aspect ratio of a control when resizing it
Creating a Snap-to-grid effect
Tips for shaped controls
Drawing on the background of an MDI application
Zoom and pan an image with the ZoomPicBox
Design-time
DesignerSerializationVisibility and collections
Animation
Double Buffering Windows Forms
Animating objects
Performance
Speed up font painting
Resources
Find resource names

Sponsored By
DaraizeTechnologies.com
Bob Powell

Create your badge

Copyright © Bob Powell 2000-2012.  All rights reserved.