jxc.cpp
上传用户:tangpei45
上传日期:2013-07-14
资源大小:9104k
文件大小:1k
源码类别:

百货/超市行业

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. USEFORM("Main.cpp", fmMain);
  5. USEFORM("db.cpp", DataModule1); /* TDataModule: File Type */
  6. USEFORM("GoodManage.cpp", fmGoodManage);
  7. USEFORM("SupplyManage.cpp", fmSupplyManage);
  8. USEFORM("CustomManage.cpp", fmCustomManage);
  9. USEFORM("PurchaseManage.cpp", fmPurchaseManage);
  10. USEFORM("login.cpp", fmLogin);
  11. USEFORM("print.cpp", fmPrint);
  12. USEFORM("SaleManage.cpp", fmSaleManage);
  13. USEFORM("selectstore.cpp", fmSelectStore);
  14. USEFORM("StoreQuery.cpp", fmStoreQuery);
  15. USEFORM("Right.cpp", fmRightManage);
  16. //---------------------------------------------------------------------------
  17. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  18. {
  19.     try
  20.     {
  21.          Application->Initialize();
  22.          Application->Title = "进销存管理系统";
  23.          Application->CreateForm(__classid(TDataModule1), &DataModule1);
  24.          Application->CreateForm(__classid(TfmMain), &fmMain);
  25.          Application->CreateForm(__classid(TfmPrint), &fmPrint);
  26.          Application->Run();
  27.     }
  28.     catch (Exception &exception)
  29.     {
  30.          Application->ShowException(&exception);
  31.     }
  32.     return 0;
  33. }
  34. //---------------------------------------------------------------------------