File: Form1.cpp

package info (click to toggle)
nant 0.85.dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 8,328 kB
  • ctags: 6,758
  • sloc: cs: 50,420; sh: 483; makefile: 137; cpp: 70; xml: 40
file content (15 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "stdafx.h"
#include "Form1.h"
#include <windows.h>

using namespace WinForms;

int APIENTRY _tWinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPTSTR    lpCmdLine,
                     int       nCmdShow)
{
	System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA;
	Application::Run(new Form1());
	return 0;
}