lg.h

来自「速达开源ERP系统」· C头文件 代码 · 共 81 行

H
81
字号
//---------------------------------------------------------------------------

#ifndef LgH
#define LgH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RecBaseForm.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "fpanel.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include "SDComboBox.h"
#include <ExtCtrls.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmLg ;
class TfrmLg : public TRecBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgLg;
    TFloatPanel *FloatPanel1;
    TLabel *Label2;
    TFloatPanel *FloatPanel2;
    TLabel *Label9;
    TSDComboBox *scLgLocCode;
    TPanel *Panel1;
    TSDEdit *seLgGoodsSpec;
    TLabel *Label5;
    TLabel *Label4;
    TSDEdit *seLgGoodsUnitCode;
    TLabel *Label7;
    TSDEdit *seLgGoodsMaxQty;
    TSDEdit *seLgGoodsRopQty;
    TSDEdit *seLgGoodsOoq;
    TLabel *Label10;
    TLabel *Label1;
    TLabel *Label3;
    TSDEdit *seLgGoodsName;
        TSDEdit *seLgGoodsCode;
        TLabel *Label6;
        TSDComboBox *scLgState;
        TSDEdit *seLocName;
        TLabel *Label8;
        TLabel *Label11;
        TSDEdit *seLocType;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall scLgLocCodeClick(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
        void __fastcall seLgGoodsCodeButtonClick(TObject *Sender);
        void __fastcall sgLgClick(TObject *Sender);
        void __fastcall seLgGoodsCodeExit(TObject *Sender);

private:	// User declarations
    bool  Flag;
    void __fastcall InitEditControl();
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();
    void __fastcall WaitUserInput();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    AnsiString __fastcall GetFieldValue(int iFieldIndex);
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall DisplayGoodsInfo();
public:		// User declarations
    __fastcall TfrmLg(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmLg *frmLg;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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