gpch.h

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

H
104
字号
//---------------------------------------------------------------------------
#ifndef GpchH
#define GpchH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BillBaseForm.h"
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "SDGrid.h"
#include <Buttons.hpp>
#include <Grids.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmGpch ;
class TfrmGpch : public TBillBaseForm
{
__published:	// IDE-managed Components
        TFloatPanel *fpGpchHead;
    TLabel *Label1;
    TLabel *Label10;
        TSDEdit *seGpchCode;
        TSDGrid *sgGpch;
    TLabel *labSysDate;
        TFloatPanel *FloatPanel3;
        TLabel *Label2;
        TLabel *labGpchChecker;
        TLabel *Label14;
        TLabel *labGpchUser;
        TCheckBox *cbxGpchCheck;
        TLabel *Label7;
        TDateEdit *deGpchDate;
        TFloatPanel *fpGpcdDetail;
        TGroupBox *GroupBox2;
        TLabel *Label18;
        TLabel *Label19;
        TSDEdit *seGpcdLine;
        TSDEdit *seGpcdGoods;
        TBitBtn *btnOK;
        TBitBtn *btnCancel;
        TLabel *Label27;
        TSDComboBox *scGpcdGccr;
        TLabel *Label31;
        TMemo *memGpcdDesc;
        TGroupBox *GroupBox1;
        TLabel *Label3;
        TSDComboBox *scGpcdOPlan;
        TLabel *Label4;
        TSDComboBox *scGpcdNPlan;
        TStringGrid *sgdValue;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall sgGpchDblClick(TObject *Sender);
    void __fastcall btnOKClick(TObject *Sender);
    void __fastcall btnCancelClick(TObject *Sender);
        void __fastcall seGpcdGoodsButtonClick(TObject *Sender);
        void __fastcall seGpcdGoodsExit(TObject *Sender);
        void __fastcall sgdValueKeyPress(TObject *Sender, char &Key);
        void __fastcall seGpchCodeExit(TObject *Sender);
        void __fastcall sgGpchClick(TObject *Sender);

private:	// User declarations
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall ClearValueGrid();
    void __fastcall SetValueGridFromServer();
    void __fastcall SetValueGridFromRsGoods();
    void __fastcall WriteServerFromValueGrid();
    void __fastcall CheckGridValue();
      void __fastcall UnDoChange(){};
      bool __fastcall BeforeCheck();
      bool __fastcall BeforeUnCheck();
public:		// User declarations

    AnsiString FormIniFile;
    void __fastcall InitEditControl();
    void __fastcall ClearControl(int Section,bool BringToNext);
    void __fastcall GetDataFromComObject(int Section);
    void __fastcall SendDataToComObject(int Section);
    void __fastcall WaitUserInput(int Section);
    void __fastcall RefreshGridData(int mAction);
    void __fastcall DisplayBill();
    void __fastcall GetBill(AnsiString BillID);
    void __fastcall FillGridWithData();
    void __fastcall ChangeToBrowseState(bool Browse=false);

    __fastcall TfrmGpch(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmGpch *frmGpch;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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