UserControl

  • Thread starter Thread starter Drew
  • Start date Start date
D

Drew

I have a class that extends System.Windows.Forms.UserControl

Can I use this class in the Compact Framework?

Is UserControl part of the runtime?



Thanks,



Drew
 
On the Compact Framework the base class for custom controls is
System.Windows.Forms.Control. You will need to rewrite your control to work
on the Compact Framework, depending on what custom code you have you may
find that some of your code will need to be changed because some methods
and properties are not supported as the Compact Framework is a subset of the
full framework.
You will also find that some special work is required to add Designer
support to your control.
see Alex's article at http://www.intelliprog.com/articles/index.html for
more details.

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
 
Back
Top