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

RichEdit

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("Unit1.cpp", frmMain);
  6. USEFORM("Unit2.cpp", frmEdit);
  7. //---------------------------------------------------------------------------
  8. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  9. {
  10.         try
  11.         {
  12.                  Application->Initialize();
  13.                  Application->CreateForm(__classid(TfrmMain), &frmMain);
  14.                  Application->CreateForm(__classid(TfrmEdit), &frmEdit);
  15.                  Application->Run();
  16.         }
  17.         catch (Exception &exception)
  18.         {
  19.                  Application->ShowException(&exception);
  20.         }
  21.         catch (...)
  22.         {
  23.                  try
  24.                  {
  25.                          throw Exception("");
  26.                  }
  27.                  catch (Exception &exception)
  28.                  {
  29.                          Application->ShowException(&exception);
  30.                  }
  31.         }
  32.         return 0;
  33. }
  34. //---------------------------------------------------------------------------