Main.~h
上传用户:tangpei45
上传日期:2013-07-14
资源大小:9104k
文件大小:2k
源码类别:

百货/超市行业

开发平台:

C++ Builder

  1. //---------------------------------------------------------------------------
  2. #ifndef MainH
  3. #define MainH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Menus.hpp>
  10. #include <ComCtrls.hpp>
  11. //---------------------------------------------------------------------------
  12. class TfmMain : public TForm
  13. {
  14. __published: // IDE-managed Components
  15.     TMainMenu *MainMenu1;
  16.     TMenuItem *mnuInfo;
  17.         TMenuItem *mnuPurchase;
  18.         TMenuItem *mnuPurchaseManage;
  19.         TMenuItem *mnuSale;
  20.         TMenuItem *mnuGoodManage;
  21.         TMenuItem *mnuSupplyManage;
  22.         TMenuItem *mnuSaleManage;
  23.         TMenuItem *mnuStock;
  24.         TMenuItem *mnuSystem;
  25.         TMenuItem *mnuCustomManage;
  26.         TMenuItem *mnuStockQuery;
  27.         TMenuItem *mnuRightManage;
  28.     TStatusBar *StatusBar1;
  29.     void __fastcall mnuGoodManageClick(TObject *Sender);
  30.     void __fastcall mnuSupplyManageClick(TObject *Sender);
  31.     void __fastcall mnuCustomManageClick(TObject *Sender);
  32.     void __fastcall mnuPurchaseManageClick(TObject *Sender);
  33.     void __fastcall FormCreate(TObject *Sender);
  34.     void __fastcall mnuSaleManageClick(TObject *Sender);
  35.     void __fastcall mnuStockQueryClick(TObject *Sender);
  36.     void __fastcall mnuRightManageClick(TObject *Sender);
  37. private: // User declarations
  38. public: // User declarations
  39.     AnsiString m_szUserCode;
  40.     AnsiString m_szUserName;
  41.     __fastcall TfmMain(TComponent* Owner);
  42.     // 判断子窗体是否存在
  43.     TForm* FormExist(AnsiString szCaption);
  44. };
  45. //---------------------------------------------------------------------------
  46. extern PACKAGE TfmMain *fmMain;
  47. //---------------------------------------------------------------------------
  48. #endif