Лабораторные работы: пятнашки и редактор фигур
This commit is contained in:
commit
a5dbf9d3a2
1 changed files with 2579 additions and 0 deletions
28
LabWorks.cpp
Normal file
28
LabWorks.cpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#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;
|
||||
}
|
||||
Loading…
Reference in a new issue