|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Create a Solid Brush
.NET Framework 2.0
This example creates aobject that can be used by a object for filling shapes.
After you have finished using them, you should callon objects that consume system resources, such as brush objects.