Created
August 31, 2017 13:58
-
-
Save izanbf1803/21749e7769a553e3dccf527155e5075f to your computer and use it in GitHub Desktop.
Default main() code required to initialize CLR UI Windows Forms with Visual Studio.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "[FORM NAME].h" | |
using namespace System; | |
using namespace System::Windows::Forms; | |
[STAThread] | |
void main(array<String^>^ args) | |
{ | |
Application::EnableVisualStyles(); | |
Application::SetCompatibleTextRenderingDefault(false); | |
[PROJECT NAME]::[FORM NAME] form; | |
Application::Run(%form); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment