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

RichEdit

开发平台:

Delphi

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