home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2003 November / PCWK1103B.iso / PCWK-txt / Warsztat_Cpp_Builder / fotoretuszer.cpp < prev    next >
C/C++ Source or Header  |  2003-09-22  |  2KB  |  44 lines

  1. //---------------------------------------------------------------------------
  2.  
  3. #include <vcl.h>
  4. #pragma hdrstop
  5. //---------------------------------------------------------------------------
  6. USEFORM("Unit1.cpp", Form1);
  7. USEFORM("UnitJasnosc.cpp", FormJasnosc);
  8. USEFORM("UnitKontrast.cpp", FormKontrast);
  9. USEFORM("UnitNasycenie.cpp", FormNasycenie);
  10. USEFORM("UnitBalans.cpp", FormBalans);
  11. USEFORM("UnitEdytorFiltrow.cpp", FormEdytor);
  12. //---------------------------------------------------------------------------
  13. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  14. {
  15.         try
  16.         {
  17.                  Application->Initialize();
  18.                  Application->CreateForm(__classid(TForm1), &Form1);
  19.                  Application->CreateForm(__classid(TFormJasnosc), &FormJasnosc);
  20.                  Application->CreateForm(__classid(TFormKontrast), &FormKontrast);
  21.                  Application->CreateForm(__classid(TFormNasycenie), &FormNasycenie);
  22.                  Application->CreateForm(__classid(TFormBalans), &FormBalans);
  23.                  Application->CreateForm(__classid(TFormEdytor), &FormEdytor);
  24.                  Application->Run();
  25.         }
  26.         catch (Exception &exception)
  27.         {
  28.                  Application->ShowException(&exception);
  29.         }
  30.         catch (...)
  31.         {
  32.                  try
  33.                  {
  34.                          throw Exception("");
  35.                  }
  36.                  catch (Exception &exception)
  37.                  {
  38.                          Application->ShowException(&exception);
  39.                  }
  40.         }
  41.         return 0;
  42. }
  43. //---------------------------------------------------------------------------
  44.