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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. USERES("ProjectCB4.res");
  5. USEUNIT("RVDemo.cpp");
  6. USEFORM("Demo2Frm.cpp", frmDemo2);
  7. USEFORM("Demo3Frm.cpp", frmDemo3);
  8. USEFORM("Demo4Frm.cpp", frmDemo4);
  9. USEFORM("Demo5Frm.cpp", frmDemo5);
  10. USEFORM("Demo6Frm.cpp", frmDemo6);
  11. USEFORM("Demo7Frm.cpp", frmDemo7);
  12. USEFORM("MainFrm.cpp", frmMain);
  13. USEFORM("PopupFrm.cpp", frmPopup);
  14. USEFORM("Demo1Frm.cpp", frmDemo1);
  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(TfrmDemo2), &frmDemo2);
  23.                  Application->CreateForm(__classid(TfrmDemo3), &frmDemo3);
  24.                  Application->CreateForm(__classid(TfrmDemo4), &frmDemo4);
  25.                  Application->CreateForm(__classid(TfrmDemo5), &frmDemo5);
  26.                  Application->CreateForm(__classid(TfrmDemo6), &frmDemo6);
  27.                  Application->CreateForm(__classid(TfrmDemo7), &frmDemo7);
  28.                  Application->CreateForm(__classid(TfrmPopup), &frmPopup);
  29.                  Application->CreateForm(__classid(TfrmDemo1), &frmDemo1);
  30.                  Application->Run();
  31.     }
  32.     catch (Exception &exception)
  33.     {
  34.         Application->ShowException(&exception);
  35.     }
  36.     return 0;
  37. }
  38. //---------------------------------------------------------------------------