vw_labh.h

来自「一个以前收集的基于C/S架构的ERP客户端源代码」· C头文件 代码 · 共 53 行

H
53
字号
//---------------------------------------------------------------------------

#ifndef VW_LabhH
#define VW_LabhH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "QueryBaseForm.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "SDGrid.h"
#include <Grids.hpp>
#include "KSAdvReport.h"
//---------------------------------------------------------------------------
class PACKAGE TfrmVW_Labh;
class TfrmVW_Labh : public TQueryBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgLabh;
    void __fastcall tbQueryClick(TObject *Sender);
    void __fastcall muFirstClick(TObject *Sender);
    void __fastcall muNextClick(TObject *Sender);
    void __fastcall muLastClick(TObject *Sender);
    void __fastcall tbRefreshClick(TObject *Sender);
    void __fastcall sgLabhDblClick(TObject *Sender);
    void __fastcall muPreviousClick(TObject *Sender);
   void __fastcall FormShow(TObject *Sender);
private:	// User declarations
    AnsiString sSQL;             //查询语句
    AnsiString RecentBillCode;   //最近查询的单号
    AnsiString __fastcall GetHeadQueryStr();
    AnsiString __fastcall GetDetailQueryStr();
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall WaitUserInput();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall DisplayBill();
    void __fastcall GetBill(AnsiString BillID);
    void __fastcall FillGridWithData();
    void __fastcall FillGridWithDetail();
public:		// User declarations
    __fastcall TfrmVW_Labh(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmVW_Labh *frmVW_Labh;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?