Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have the code that draws LED characters in C# WinForm which is a UserControl that overrides the onpaint method.

But when I create a WPF program and add to the form a UserControl, the usercontrol don't have a Paint event for me to do the drawing of those LED characters.

Any ideas?
Posted
Updated 9-Dec-10 21:29pm
v2
Comments
Dalek Dave 10-Dec-10 3:29am    
Edited for Readability.

1 solution

The method you need to override is called OnRender in WPF land.

Hope this helps,
Fredrik Bornander
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900