batch.h

来自「科思ERP部分源码及控件」· C头文件 代码 · 共 59 行

H
59
字号
//---------------------------------------------------------------------------
#ifndef BatchH
#define BatchH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmBatch ;
class TfrmBatch : public TRecBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgBatch;
    TFloatPanel *FloatPanel1;
    TSDEdit *seBatchCode;
    TSDEdit *seBatchDesc;
    TSDEdit *seBatchQty;
    TDateEdit *sdeBatchEffectDate;
    TDateEdit *sdeBatchAbateDate;
    TLabel *Label1;
    TLabel *Label2;
    TLabel *Label3;
    TLabel *Label4;
    TLabel *Label5;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall sgBatchClick(TObject *Sender);
        void __fastcall seBatchCodeExit(TObject *Sender);
private:	// User declarations
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();

    void __fastcall WaitUserInput();
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    void __fastcall InitEditControl();
public:		// User declarations
    __fastcall TfrmBatch(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmBatch *frmBatch;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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