PurchaseManage.~h
上传用户:tangpei45
上传日期:2013-07-14
资源大小:9104k
文件大小:3k
- //----------------------------------------------------------------------------
- #ifndef PurchaseManageH
- #define PurchaseManageH
- //----------------------------------------------------------------------------
- #include <SysUtils.hpp>
- #include <Windows.hpp>
- #include <Messages.hpp>
- #include <Classes.hpp>
- #include <Graphics.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <DBCtrls.hpp>
- #include <DB.hpp>
- #include <DBGrids.hpp>
- #include <DBTables.hpp>
- #include <ExtCtrls.hpp>
- #include <Grids.hpp>
- #include <Mask.hpp>
- #include <ComCtrls.hpp>
- #include <ToolWin.hpp>
- #include <ImgList.hpp>
- //----------------------------------------------------------------------------
- class TfmPurchaseManage : public TForm
- {
- __published:
- TStringGrid *sgPurDetail;
- TPanel *Panel1;
- TToolBar *ToolBar1;
- TToolButton *btNew;
- TToolButton *btSave;
- TToolButton *btPrint;
- TToolButton *btDelete;
- TToolButton *ToolButton5;
- TToolButton *ToolButton6;
- TToolButton *ToolButton7;
- TImageList *ImageList1;
- TPanel *Panel2;
- TQuery *Query1;
- TQuery *Query2;
- TLabel *Label1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label4;
- TEdit *edDate;
- TEdit *edMan;
- TEdit *edSupplyName;
- TLabel *Label5;
- TEdit *edTotal;
- TLabel *Label6;
- TEdit *edNoTax;
- TLabel *Label7;
- TEdit *edTax;
- TComboBox *cboSupplyCode;
- TComboBox *cboPeople;
- TComboBox *cboSelectStore;
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall btNewClick(TObject *Sender);
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall cboSupplyCodeDropDown(TObject *Sender);
- void __fastcall cboSupplyCodeChange(TObject *Sender);
- void __fastcall sgPurDetailDblClick(TObject *Sender);
- void __fastcall sgPurDetailSelectCell(TObject *Sender, int ACol,
- int ARow, bool &CanSelect);
- void __fastcall sgPurDetailKeyPress(TObject *Sender, char &Key);
- void __fastcall btSaveClick(TObject *Sender);
- void __fastcall btDeleteClick(TObject *Sender);
- void __fastcall btPrintClick(TObject *Sender);
- private:
- // private declarations
- public:
- // public declarations
- __fastcall TfmPurchaseManage(TComponent *Owner);
- int m_CurrentCol; // 关标所在当前列
- int m_CurrentRow; // 关标所在当前行
- };
- //----------------------------------------------------------------------------
- extern TfmPurchaseManage *fmPurchaseManage;
- //----------------------------------------------------------------------------
- #endif