controlHorario/controlHorario.~cpp
2021-09-01 17:28:46 +02:00

34 lines
1.0 KiB
Plaintext

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "splash.h"
//---------------------------------------------------------------------------
USEFORM("src\main.cpp", Form1);
USEFORM("src\splash.cpp", splashScreen);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
/***********************/
splashScreen = new TsplashScreen(Application);
splashScreen->Show();
splashScreen->Update();
/***********************/
Application->CreateForm(__classid(TForm1), &Form1);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
return 0;
}
//---------------------------------------------------------------------------