git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@26 05c56307-c608-d34a-929d-697000501d7a
41 lines
1.4 KiB
C++
41 lines
1.4 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#include <vcl.h>
|
|
#pragma hdrstop
|
|
//---------------------------------------------------------------------------
|
|
USERES("CustomDrawCardViewDemo.res");
|
|
USEFORM("CustomDrawCardViewDemoMain.cpp", CustomDrawCardViewDemoMainForm);
|
|
USEFORM("CustomDrawCardViewDemoData.cpp", CustomDrawCardViewDemoMainDM); /* TDataModule: File Type */
|
|
USEFORM("..\AboutDemoForm.cpp", formAboutDemo);
|
|
USEUNIT("CustomDrawCardViewDemoTypes.cpp");
|
|
USERC("CustomDrawCardViewDemoImages.rc");
|
|
//---------------------------------------------------------------------------
|
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
|
{
|
|
try
|
|
{
|
|
Application->Initialize();
|
|
Application->Title = "ExpressQuantumGrid CustomDrawCardView Demo";
|
|
Application->CreateForm(__classid(TCustomDrawCardViewDemoMainDM), &CustomDrawCardViewDemoMainDM);
|
|
Application->CreateForm(__classid(TCustomDrawCardViewDemoMainForm), &CustomDrawCardViewDemoMainForm);
|
|
Application->Run();
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
catch (...)
|
|
{
|
|
try
|
|
{
|
|
throw Exception("");
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
}
|
|
return 0;
|
|
}
|
|
//---------------------------------------------------------------------------
|