ControlPaintTester Icon

ControlPaintTester

Find the source useful since everything is done with reflection.

ControlPaintTesterOverview

I've been drawing controls lately and it's 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 I'm 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

NEW

Fixed some bugs.

ControlPaintTesterInformation

Version
1.0
Date
10.21.08
License
Free
Language
English
File Size
12KB
Developer
Category
SubCategory
Operating Systems
Windows Vista, 2003, XP, 2000, 98
System Requirements
No additional system requirements.
Ruler Icon
It's a screen ruler for Windows.
Free
Base62 struct Icon
Display as much alphanumeric info in as little space as possible.
Free
Access Query Analyzer Icon
Quicker to write one instead of trying to find one on the internet
Free
Snippet Compiler Icon
Snippet Compiler compiles snippets.
Free
NCover Browser Icon
Drag & drop file on app to load, File|Reload to reload.
Free
IsDebug Icon
A small debug tool.
Free
Message Dialog Icon
A Code of Message Dialog.
Free
More
JD-GUI Icon
Decompile and analyze Java 5, and upper, ".class" files.
Free
DLL Export Viewer Icon
display the list of exported functions and virtual memory addresses for DLL file
Free
IDA PRO Icon
IDA Pro is a Windows or Linux hosted multi-processor disassembler and debugger.
Trial
AccessPort Icon
AccessPort - RS232 Monitor / RS232 Terminal for serial port.
Free
BinViewer Icon
Quickly browsing through huge binary files, do hex and text searches.
Free
WinGDB Icon
Debug processes on remote machines running Linux
Trial
USBTrace Icon
A professional software-only USB protocol analyzer
Trial
Real Pic Simulator Icon
Microchip PIC microcontroller simulator
Trial
More