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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #include <vclvcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("MainFrm.cpp", frmMain);
  6. USERES("RVDemo.res");
  7. USEFORM("PopupFrm.cpp", frmPopup);
  8. USEFORM("Demo1Frm.cpp", frmDemo1);
  9. USEFORM("Demo2Frm.cpp", frmDemo2);
  10. USEFORM("Demo3Frm.cpp", frmDemo3);
  11. USEFORM("Demo4Frm.cpp", frmDemo4);
  12. USEFORM("Demo5Frm.cpp", frmDemo5);
  13. USEFORM("Demo6Frm.cpp", frmDemo6);
  14. USEFORM("Demo7Frm.cpp", frmDemo7);
  15. //---------------------------------------------------------------------------
  16. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  17. {
  18.     try
  19.     {
  20.         Application->Initialize();
  21.         Application->CreateForm(__classid(TfrmMain), &frmMain);
  22.         Application->CreateForm(__classid(TfrmPopup), &frmPopup);
  23.         Application->CreateForm(__classid(TfrmDemo1), &frmDemo1);
  24.         Application->CreateForm(__classid(TfrmDemo2), &frmDemo2);
  25.         Application->CreateForm(__classid(TfrmDemo3), &frmDemo3);
  26.         Application->CreateForm(__classid(TfrmDemo4), &frmDemo4);
  27.         Application->CreateForm(__classid(TfrmDemo5), &frmDemo5);
  28.         Application->CreateForm(__classid(TfrmDemo6), &frmDemo6);
  29.         Application->CreateForm(__classid(TfrmDemo7), &frmDemo7);
  30.         Application->Run();
  31.     }
  32.     catch (Exception &exception)
  33.     {
  34.         Application->ShowException(&exception);
  35.     }
  36.     return 0;
  37. }
  38. //---------------------------------------------------------------------------