Componentes.Terceros.DevExp.../official/x.26/ExpressQuantumGrid 6/Demos/CBuilder/EditorsStylesDemo/EditorsStylesDemo.cpp
2007-09-09 11:27:27 +00:00

49 lines
2.0 KiB
C++

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USERES("EditorsStylesDemo.res");
USEFORM("EditorsStylesDemoMain.cpp", EditorsStylesDemoDemoMainForm);
USEFORM("EditorsStylesDemoBase.cpp", EditorsStylesDemoBaseFrame);
USEFORM("EditorsStylesDemoPlanets.cpp", EditorsStylesDemoPlanetsFrame);
USEFORM("..\AboutDemoForm.cpp", formAboutDemo);
USEFORM("EditorsStylesDemoNoteBook.cpp", EditorsStylesDemoNoteBookFrame);
USEFORM("EditorsStylesDemoIssues.cpp", EditorsStylesDemoIssuesFrame);
USEFORM("EditorsStylesDemoRichEdit.cpp", EditorsStylesDemoRichEditFrame);
USEFORM("EditorsStylesDemoConvert.cpp", EditorsStylesDemoConvertFrame);
USEFORM("EditorsStylesDemoStylesPalette.cpp", EditorsStylesDemoStylesPaletteFrame);
USEFORM("EditorsStylesDemoData.cpp", EditorsStylesDemoDataDM); /* TDataModule: DesignClass */
USEUNIT("EditorsStylesDemoFrameControl.cpp");
USEUNIT("EditorsStylesDemoUtils.cpp");
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->HelpFile = "..\\..\\Help\\CXEXTEDITORS.HLP";
Application->Title = "ExpressEditors Library (Extended Component Features)";
Application->CreateForm(__classid(TEditorsStylesDemoDemoMainForm), &EditorsStylesDemoDemoMainForm);
Application->CreateForm(__classid(TEditorsStylesDemoDataDM), &EditorsStylesDemoDataDM);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------