prepb.h

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

H
101
字号
//---------------------------------------------------------------------------

#ifndef PrePbH
#define PrePbH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RecBaseForm.h"
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include <Mask.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmPrePb;
class TfrmPrePb : public TRecBaseForm
{
__published:	// IDE-managed Components
        TSDGrid *sgPrePb;
        TFloatPanel *FloatPanel1;
        TLabel *Label2;
        TLabel *Label4;
        TLabel *Label1;
        TLabel *Label3;
        TLabel *Label5;
        TLabel *Label8;
        TLabel *Label10;
        TLabel *Label26;
        TLabel *Label13;
        TLabel *Label14;
        TLabel *Label15;
        TLabel *Label16;
        TLabel *scApnpState1;
        TLabel *Label19;
        TLabel *Label17;
        TLabel *Label20;
        TLabel *lbPrePbSysDate;
        TSDComboBox *scPrePbState;
        TSDComboBox *scPrePbFmonth;
        TSDEdit *sePrePbEnrate;
        TSDEdit *sePrePbAmt;
        TSDEdit *sePrePbSettleCode;
        TSDEdit *sePrePbCAmt;
        TSDEdit *sePrePbCode;
        TSDComboBox *scPrePbSupply;
        TDateEdit *dePrePbDate;
        TMemo *memPrePbDesc;
        TSDComboBox *scPrePbCurrency;
        TSDComboBox *scPrePbFrom;
        TSDComboBox *scPrePbSettleMode;
        TSDEdit *sePrePbFbbNo;
        TSDComboBox *scPrePbFbbCac;
        TFloatPanel *FloatPanel3;
        TLabel *Label9;
        TLabel *lbPrePbChecker;
        TLabel *Label6;
        TLabel *lbPrePbCheckDate;
        TLabel *Label7;
        TLabel *lbPrePbUser;
        TCheckBox *chkPrePbCheck;
    TSDEdit *SupplyCodeButton;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall sePrePbCodeKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
        void __fastcall sgPrePbClick(TObject *Sender);
        void __fastcall scPrePbCurrencyClick(TObject *Sender);
        void __fastcall muEditDetailClick(TObject *Sender);
    void __fastcall SupplyCodeButtonButtonClick(TObject *Sender);
private:	// User declarations
        void __fastcall ClearControl(bool BringToNext);
        void __fastcall GetDataFromComObject();
        void __fastcall SendDataToComObject();
        void __fastcall WaitUserInput();
        AnsiString __fastcall GetDataToGrid();
        void __fastcall FillGridWithData();
        void __fastcall InitEditControl();
        void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
        void __fastcall GenrateDoc();
        HWND m_chWnd;
        AnsiString m_MidCode;
        AnsiString m_WhereStr;
        bool __fastcall BeforeCheck();        
        bool __fastcall BeforeUnCheck();
public:		// User declarations
        void __fastcall RefreshGridData(int mAction);
        __fastcall TfrmPrePb(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPrePb *frmPrePb;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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