git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@7 05c56307-c608-d34a-929d-697000501d7a
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#include <vcl.h>
|
|
#pragma hdrstop
|
|
//---------------------------------------------------------------------------
|
|
USERES("MasterDetailTableDemo.res");
|
|
USEFORM("MasterDetailTableDemoMain.cpp", MasterDetailTableDemoMainForm);
|
|
USEFORM("MasterDetailTableDemoData.cpp", MasterDetailTableDemoDataDM); /* TDataModule: File Type */
|
|
USEFORM("..\AboutDemoForm.cpp", formAboutDemo);
|
|
//---------------------------------------------------------------------------
|
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
|
{
|
|
try
|
|
{
|
|
Application->Initialize();
|
|
Application->Title = "ExpressQuantumGrid MasterDetailTableDemo";
|
|
Application->CreateForm(__classid(TMasterDetailTableDemoDataDM), &MasterDetailTableDemoDataDM);
|
|
Application->CreateForm(__classid(TMasterDetailTableDemoMainForm), &MasterDetailTableDemoMainForm);
|
|
Application->Run();
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
catch (...)
|
|
{
|
|
try
|
|
{
|
|
throw Exception("");
|
|
}
|
|
catch (Exception &exception)
|
|
{
|
|
Application->ShowException(&exception);
|
|
}
|
|
}
|
|
return 0;
|
|
}
|
|
//---------------------------------------------------------------------------
|