28 lines
786 B
C++
28 lines
786 B
C++
#include <vcl.h>
|
|
#pragma hdrstop
|
|
#include <tchar.h>
|
|
|
|
USEFORM("MenuUnit.cpp", frmMenu);
|
|
USEFORM("GameUnit.cpp", frmGame);
|
|
USEFORM("ShapesUnit.cpp", frmShapes);
|
|
USEFORM("BoundsUnit.cpp", frmBounds);
|
|
|
|
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
|
|
{
|
|
try
|
|
{
|
|
Application->Initialize();
|
|
Application->MainFormOnTaskBar = true;
|
|
Application->Title = L"Лабораторные работы";
|
|
Application->CreateForm(__classid(TfrmMenu), &frmMenu);
|
|
Application->CreateForm(__classid(TfrmGame), &frmGame);
|
|
Application->CreateForm(__classid(TfrmShapes), &frmShapes);
|
|
Application->CreateForm(__classid(TfrmBounds), &frmBounds);
|
|
Application->Run();
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
return 0;
|
|
}
|