How to: Start an Application
This example shows how to start an application.
Example
SimpleProcedural::app^ app = gcnew SimpleProcedural::app();
app->Run();
App app = new 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.