Home  »  Windows  »  Debugging
controlpainttester 1-0
controlpainttester 1-0
Authorize : Freeware Free

Requirements : No special requirements

Publisher : Jeff Key

OfficeWebsite : http://weblogs.asp.net/jkey/

OS Support : Windows Vista, 2003, XP, 2000, 98

Servers
  • USA
Content
Find the source useful since everything is done with reflection.
Editor: Ive been drawing controls lately and its a hassle to go through all the permutations of each method of ControlPaint to see what each parameter does and what the result will look like, so I wrote this to make it easier. You simply select a method and set the parameters; the display changes as the values are changed.
The primary reason Im putting this dopey Little app on the web is that some may find the source useful since everything is done with reflection and the property Grid implementation is interesting.
The Static methods are read from the ControlPaint class.
The parameters are read from the methods and put into an object that implements ICustomTypeDescriptor. This gives the object complete control of what the property grid displays, so I can use this single object as the bound property grid object for every method, no matter what the parameters are.
The Paint is invoked using the updated values from the aforementioned object you can free download ControlPaintTester 1.0 now.

Hot Download

New Download