DBGridCB6.cpp
上传用户:daoqigc
上传日期:2021-04-20
资源大小:2795k
文件大小:1k
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- //---------------------------------------------------------------------------
- USEFORM("Unit1.cpp", frmMain);
- USEFORM("Unit2.cpp", frmEdit);
- //---------------------------------------------------------------------------
- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
- {
- try
- {
- Application->Initialize();
- Application->CreateForm(__classid(TfrmMain), &frmMain);
- Application->CreateForm(__classid(TfrmEdit), &frmEdit);
- Application->Run();
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- catch (...)
- {
- try
- {
- throw Exception("");
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- }
- return 0;
- }
- //---------------------------------------------------------------------------