⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pg.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef PgH
#define PgH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "fpanel.h"
#include "RecBaseForm.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>

class PACKAGE TfrmPg;
//---------------------------------------------------------------------------
class TfrmPg : public TRecBaseForm
{
__published:	// IDE-managed Components
    TSDGrid *sgPg;
    TFloatPanel *FloatPanel1;
    TLabel *Label2;
    TPanel *Panel1;
    TLabel *Label5;
    TLabel *Label10;
    TLabel *Label1;
    TSDEdit *sePgGoodsSpec;
    TSDEdit *sePgGoodsModel;
    TSDEdit *sePgGoods;
    TSDEdit *sePgGoodsName;
    TFloatPanel *FloatPanel2;
    TLabel *Label9;
    TSDComboBox *scPgProcess;
    TLabel *Label4;
    TSDComboBox *scPgGoodsUnit;
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall scPgProcessClick(TObject *Sender);
    void __fastcall sePgGoodsButtonClick(TObject *Sender);
    void __fastcall muAddDetailClick(TObject *Sender);
    void __fastcall sgPgClick(TObject *Sender);
    void __fastcall sePgGoodsKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
private:	// User declarations
    AnsiString OldPgProcess;
    AnsiString __fastcall GetFieldValue(int FieldIndex);
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall SetFieldValue(int iFieldIndex,AnsiString sFieldValue);
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();
    void __fastcall WaitUserInput();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    void __fastcall InitEditControl();

public:		// User declarations
    __fastcall TfrmPg(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPg *frmPg;
//---------------------------------------------------------------------------

#endif

⌨️ 快捷键说明

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