Restricting Designer

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!
 
G

Guest

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

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