Imagelist not working if OpenNETCF SDF is used

G

Girish NS

Hi,

I'm using OpenNETCF smart device framework controls in my C# Pocket PC
application. When
I try to add a imagelist control to my form, its giving runtime error. Here
is the error message which I'm getting when I start my Pocket PC
application.

An unhandled exception of type 'System.TypeLoadException' occurred in
mscorlib.dll

Additional information: OpenNETCF.Windows.Forms.ControlModeEnum,
OpenNETCF.Windows.Forms, Version=1.0.2904.0, Culture=neutral,
PublicKeyToken=30c767b29d52d6e6

Has anybody encountered this error before? If so, What can be done to
overcome this error?

Thanks for any valuable inputs.

Girish.
 
P

Peter Foot [MVP]

What other controls other than the imagelist do you have on your form? can
you post (or mail) a code snippet to illustrate this.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top