Main.~h
上传用户:tangpei45
上传日期:2013-07-14
资源大小:9104k
文件大小:2k
- //---------------------------------------------------------------------------
- #ifndef MainH
- #define MainH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <Menus.hpp>
- #include <ComCtrls.hpp>
- //---------------------------------------------------------------------------
- class TfmMain : public TForm
- {
- __published: // IDE-managed Components
- TMainMenu *MainMenu1;
- TMenuItem *mnuInfo;
- TMenuItem *mnuPurchase;
- TMenuItem *mnuPurchaseManage;
- TMenuItem *mnuSale;
- TMenuItem *mnuGoodManage;
- TMenuItem *mnuSupplyManage;
- TMenuItem *mnuSaleManage;
- TMenuItem *mnuStock;
- TMenuItem *mnuSystem;
- TMenuItem *mnuCustomManage;
- TMenuItem *mnuStockQuery;
- TMenuItem *mnuRightManage;
- TStatusBar *StatusBar1;
- void __fastcall mnuGoodManageClick(TObject *Sender);
- void __fastcall mnuSupplyManageClick(TObject *Sender);
- void __fastcall mnuCustomManageClick(TObject *Sender);
- void __fastcall mnuPurchaseManageClick(TObject *Sender);
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall mnuSaleManageClick(TObject *Sender);
- void __fastcall mnuStockQueryClick(TObject *Sender);
- void __fastcall mnuRightManageClick(TObject *Sender);
- private: // User declarations
- public: // User declarations
- AnsiString m_szUserCode;
- AnsiString m_szUserName;
- __fastcall TfmMain(TComponent* Owner);
- // 判断子窗体是否存在
- TForm* FormExist(AnsiString szCaption);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TfmMain *fmMain;
- //---------------------------------------------------------------------------
- #endif