SaleManage.~h
上传用户:tangpei45
上传日期:2013-07-14
资源大小:9104k
文件大小:2k
- //----------------------------------------------------------------------------
- #ifndef SaleManageH
- #define SaleManageH
- //----------------------------------------------------------------------------
- #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 TfmSaleManage : 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;
- TLabel *Label5;
- TEdit *edTotal;
- TLabel *Label6;
- TEdit *edNoTax;
- TLabel *Label7;
- TEdit *edTax;
- TComboBox *cboPeople;
- TComboBox *cboCustomCode;
- TEdit *edCustomName;
- void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
- void __fastcall btNewClick(TObject *Sender);
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall cboCustomCodeDropDown(TObject *Sender);
- void __fastcall cboCustomCodeChange(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 TfmSaleManage(TComponent *Owner);
- int m_CurrentCol; // 关标所在当前列
- int m_CurrentRow; // 关标所在当前行
- };
- //----------------------------------------------------------------------------
- extern TfmSaleManage *fmSaleManage;
- //----------------------------------------------------------------------------
- #endif