RVEditCB6.cpp
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:1k
源码类别:

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. USEFORM("CPFrm.cpp", frmCP);
  5. USEFORM("ListFrm.cpp", frmList);
  6. USEFORM("PreviewFrm.cpp", frmPreview);
  7. USEFORM("PropFrm.cpp", frmProp);
  8. USEFORM("Unit1.cpp", Form1);
  9. USEFORM("OptionsFrm.cpp", frmOptions);
  10. //---------------------------------------------------------------------------
  11. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  12. {
  13.     try
  14.     {
  15.         Application->Initialize();
  16.         Application->CreateForm(__classid(TForm1), &Form1);
  17.                  Application->CreateForm(__classid(TfrmCP), &frmCP);
  18.                  Application->CreateForm(__classid(TfrmList), &frmList);
  19.                  Application->CreateForm(__classid(TfrmPreview), &frmPreview);
  20.                  Application->CreateForm(__classid(TfrmProp), &frmProp);
  21.                  Application->CreateForm(__classid(TfrmOptions), &frmOptions);
  22.                  Application->Run();
  23.     }
  24.     catch (Exception &exception)
  25.     {
  26.         Application->ShowException(&exception);
  27.     }
  28.     return 0;
  29. }
  30. //---------------------------------------------------------------------------