// Ex21_01.cpp : main project file. #include "stdafx.h" #include "Form1.h" using namespace Ex21_01; [STAThreadAttribute] int main(array ^args) { // Enabling Windows XP visual effects before any controls are created Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); // Create the main window and run it Application::Run(gcnew Form1()); return 0; }