How to: Start an Application

This example shows how to start an application.

Example

App app = new App();
app.Run();
SimpleProcedural::app^ app = gcnew SimpleProcedural::app();
app->Run();

You only need to call Run when you define your application using only code. See Code-Only Windows Application Sample for a description of how to do this.

See Also

Concepts

Application Management Overview