Restricting Designer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

It appears that in order to play a sound in the .NET CF, I need to do a
DllImport on the PlaySound entry point in coredll.dll. The problem that I am
having is when I add this to my control class all of the functionality that
the Designer was implementing on my control has gone away. For instance, my
text doesn't show up now, but there is default text displayed that remains
the same, even when I change my Text property. Does anyone know of a way
that I can add the DllImport to the class without the Designer even being
aware that I did it.

Thanks!
 
Thanks, Tim. Actually, I just saw your reply and it was very helpful. It
solved my problem!
 
Back
Top