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

百货/超市行业

开发平台:

C++ Builder

  1. //----------------------------------------------------------------------------
  2. #ifndef PurchaseManageH
  3. #define PurchaseManageH
  4. //----------------------------------------------------------------------------
  5. #include <SysUtils.hpp>
  6. #include <Windows.hpp>
  7. #include <Messages.hpp>
  8. #include <Classes.hpp>
  9. #include <Graphics.hpp>
  10. #include <Controls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Forms.hpp>
  13. #include <DBCtrls.hpp>
  14. #include <DB.hpp>
  15. #include <DBGrids.hpp>
  16. #include <DBTables.hpp>
  17. #include <ExtCtrls.hpp>
  18. #include <Grids.hpp>
  19. #include <Mask.hpp>
  20. #include <ComCtrls.hpp>
  21. #include <ToolWin.hpp>
  22. #include <ImgList.hpp>
  23. //----------------------------------------------------------------------------
  24. class TfmPurchaseManage : public TForm
  25. {
  26. __published:
  27.     TStringGrid *sgPurDetail;
  28.     TPanel *Panel1;
  29.     TToolBar *ToolBar1;
  30.     TToolButton *btNew;
  31.     TToolButton *btSave;
  32.     TToolButton *btPrint;
  33.     TToolButton *btDelete;
  34.     TToolButton *ToolButton5;
  35.     TToolButton *ToolButton6;
  36.     TToolButton *ToolButton7;
  37.     TImageList *ImageList1;
  38.     TPanel *Panel2;
  39.     TQuery *Query1;
  40.     TQuery *Query2;
  41.     TLabel *Label1;
  42.     TLabel *Label2;
  43.     TLabel *Label3;
  44.     TLabel *Label4;
  45.     TEdit *edDate;
  46.     TEdit *edMan;
  47.     TEdit *edSupplyName;
  48.     TLabel *Label5;
  49.     TEdit *edTotal;
  50.     TLabel *Label6;
  51.     TEdit *edNoTax;
  52.     TLabel *Label7;
  53.     TEdit *edTax;
  54.     TComboBox *cboSupplyCode;
  55.     TComboBox *cboPeople;
  56.     TComboBox *cboSelectStore;
  57.     void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  58.     void __fastcall btNewClick(TObject *Sender);
  59.     void __fastcall FormCreate(TObject *Sender);
  60.     void __fastcall cboSupplyCodeDropDown(TObject *Sender);
  61.     void __fastcall cboSupplyCodeChange(TObject *Sender);
  62.     void __fastcall sgPurDetailDblClick(TObject *Sender);
  63.     void __fastcall sgPurDetailSelectCell(TObject *Sender, int ACol,
  64.           int ARow, bool &CanSelect);
  65.     void __fastcall sgPurDetailKeyPress(TObject *Sender, char &Key);
  66.     void __fastcall btSaveClick(TObject *Sender);
  67.     void __fastcall btDeleteClick(TObject *Sender);
  68.     void __fastcall btPrintClick(TObject *Sender);
  69. private:
  70. // private declarations
  71. public:
  72. // public declarations
  73. __fastcall TfmPurchaseManage(TComponent *Owner);
  74.     int m_CurrentCol;   // 关标所在当前列
  75.     int m_CurrentRow;  // 关标所在当前行
  76. };
  77. //----------------------------------------------------------------------------
  78. extern TfmPurchaseManage *fmPurchaseManage;
  79. //----------------------------------------------------------------------------
  80. #endif