Imagelist not working if OpenNETCF SDF is used

  • Thread starter Thread starter Girish NS
  • Start date Start date
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.
 
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
 
Back
Top