O'Reilly logo

Embedded Programming with the Microsoft® .NET Micro Framework by Rob Miles, Donald Thompson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Application Class

Before we can begin to display items using the Windows Presentation Foundation, we have to consider how Windows applications work within this environment. Up until now, we have written very simple programs. They have created and used resources directly. Our programs have produced output by interacting directly with the required devices and obtained input by binding to events generated by the hardware itself. We have noticed that when our program reaches the end of the Main method, it stops running. In other words, there is nothing managing the execution of our application; our programs have sole control of the platform. This is perfectly acceptable for very simple applications, such as our first flashlight program.

However, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required