/////////////////////////////////////////////////////////////////////////////// // Drawer.cpp - Demonstrate Drawing on a C++/CLI form // // // // Jim Fawcett, CSE681 - Software Modeling and Analysis, Fall 2008 // /////////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Form1.h" using namespace Drawer; [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; }