C++ window form tital and UI not displaying

Tris Yang
1
Reputation point
I have create a window form in visual studio 2013 community 2013 and the following code in the MyForm.h:
include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThreadAttribute]
void main(array<String^>^ args)
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Project2::Form frm;
Application::Run(%frm);
}
but when I run it, it shows:
I've also named entry point and the subsystem in project and added some elements to the form, but it still doesn't show anything :(
{count} votes