/////////////////////////////////////////////////////////////////// // TestContainer.cpp - Test demoControl // // - use its controlText property for titlebar // // - handle its mousedown and mouseup events by // // toggling background color and setting title // // text. // // // // Language: Visual C++/CLI, VS8 // // Platform: Dell Dimension 9250, Windows XP Pro, SP2 // // Application: CSE775 - Distributed Objects Demo // // Author: Jim Fawcett, CST 2-187, Syracuse University // // (315) 443-3948, jfawcett@twcny.rr.com // /////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Form1.h" using namespace TestContainer; [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; }