Just create the application as a console application. If you need a message pump, you need to call Run without any parameters, and CF does not. OpenNETCF class Application2 in SDF . At this point, you can raise the user interface at any time by creating and showing the form as usual.
You cannot create a true service for CE or WinMo with managed code because EE Hosting is not supported.
source share