mpc.h

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

H
57
字号
//---------------------------------------------------------------------------
#ifndef MpcH
#define MpcH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "SdPanel.h"
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmMpc;
class TfrmMpc : public TRecBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgMpc;
    TLabel *Label2;
    TLabel *Label16;
    TLabel *Label5;
    TSDEdit *seMpcQty;
    TSDEdit *seMpcGoods;
    TSDEdit *seMpcGoodsName;
    TLabel *Label1;
        TSdPanel *fpMpc;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall sgMpcClick(TObject *Sender);
    void __fastcall seMpcGoodsButtonClick(TObject *Sender);
    void __fastcall seMpcGoodsExit(TObject *Sender);

private:       // User declarations
    void __fastcall InitEditControl();
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall WaitUserInput();
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();
    void __fastcall FillGridWithData();
    void __fastcall RefreshGridData(int mAction);
    AnsiString __fastcall GetDataToGrid();
public:		// User declarations
    __fastcall TfrmMpc(TComponent* Owner,HWND chWnd,AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMpc *frmMpc;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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