home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2003 November
/
PCWK1103B.iso
/
PCWK-txt
/
Warsztat_Cpp_Builder
/
fotoretuszer.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2003-09-22
|
2KB
|
44 lines
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("Unit1.cpp", Form1);
USEFORM("UnitJasnosc.cpp", FormJasnosc);
USEFORM("UnitKontrast.cpp", FormKontrast);
USEFORM("UnitNasycenie.cpp", FormNasycenie);
USEFORM("UnitBalans.cpp", FormBalans);
USEFORM("UnitEdytorFiltrow.cpp", FormEdytor);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->CreateForm(__classid(TForm1), &Form1);
Application->CreateForm(__classid(TFormJasnosc), &FormJasnosc);
Application->CreateForm(__classid(TFormKontrast), &FormKontrast);
Application->CreateForm(__classid(TFormNasycenie), &FormNasycenie);
Application->CreateForm(__classid(TFormBalans), &FormBalans);
Application->CreateForm(__classid(TFormEdytor), &FormEdytor);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------