1. MSVC2013 -> File -> New Project -> CLR Empty Project -> OK
2. Project -> Add New Item -> UI -> Windows Form -> OK
3. Add controls as you like from the Toolbox (optional)
4. Define the entry point (if you like, in MyForm.cpp)
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
int main()
{
Project1::MyForm f;
Application::Run(%f);
return 0;
}
5. Press F5.
That's all!
No comments:
Post a Comment