-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject_ORC.cpp
More file actions
53 lines (52 loc) · 1.81 KB
/
Project_ORC.cpp
File metadata and controls
53 lines (52 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
//---------------------------------------------------------------------------
#include <Vcl.Styles.hpp>
#include <Vcl.Themes.hpp>
USEFORM("UnitFormMain.cpp", FormMain);
USEFORM("UnitFormLaberinto.cpp", FormLaberinto);
USEFORM("UnitFormVelocistas.cpp", FormVelocistas);
USEFORM("UnitFormSelectores.cpp", FormSelectores);
USEFORM("UnitFormDisplayPtoTot.cpp", FormDisplayPtoTot);
USEFORM("UnitFormConfigEquipos.cpp", FormConfigEquipos);
USEFORM("UnitFormAbout.cpp", FormAbout);
USEFORM("UnitFormPassWord.cpp", FormPassword);
//---------------------------------------------------------------------------
int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
try
{
Application->Initialize();
Application->MainFormOnTaskBar = true;
TStyleManager::TrySetStyle("Carbon");
Application->Title = "Olympic Robotic Challenge v1.0";
Application->CreateForm(__classid(TFormMain), &FormMain);
Application->CreateForm(__classid(TFormVelocistas), &FormVelocistas);
Application->CreateForm(__classid(TFormAbout), &FormAbout);
Application->CreateForm(__classid(TFormSelectores), &FormSelectores);
Application->CreateForm(__classid(TFormLaberinto), &FormLaberinto);
Application->CreateForm(__classid(TFormConfigEquipos), &FormConfigEquipos);
Application->CreateForm(__classid(TFormDisplayPtoTot), &FormDisplayPtoTot);
Application->CreateForm(__classid(TFormPassword), &FormPassword);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------