glb.h

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

H
66
字号
//---------------------------------------------------------------------------

#ifndef GlbH
#define GlbH
//---------------------------------------------------------------------------
#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 "fpanel.h"
#include "SDEdit.h"
#include <ExtCtrls.hpp>
#include "SDGrid.h"
#include <Grids.hpp>
#include "SDComboBox.h"
//---------------------------------------------------------------------------
class PACKAGE TfrmGlb;
class TfrmGlb : public TRecBaseForm
{
__published:	// IDE-managed Components
        TSDGrid *sgGlb;
        TSDComboBox *scKm;
        TSDComboBox *scGlbCurrency;
        TSDComboBox *scGlbUnit;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall tbCheckClick(TObject *Sender);
        void __fastcall tbGenrateClick(TObject *Sender);
        void __fastcall muSaveClick(TObject *Sender);
        void __fastcall muAddDetailClick(TObject *Sender);
        void __fastcall muCancelClick(TObject *Sender);
        void __fastcall muFirstClick(TObject *Sender);
        void __fastcall muPreviousClick(TObject *Sender);
        void __fastcall muNextClick(TObject *Sender);
        void __fastcall muLastClick(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
        bool m_Balance;
        AnsiString m_Qy,m_Wc;
        int m_AllRowt;
        TComResultSet *pKmSet;
        TComResultSet *pExE;
        void __fastcall InitEditControl();
        AnsiString __fastcall GetFieldValue(int FieldIndex);
        AnsiString __fastcall GetDataToGrid();
        void __fastcall ClearControl(bool BringToNext);
        void __fastcall GetDataFromComObject();
        void __fastcall SendDataToComObject();
        void __fastcall WaitUserInput();
        void __fastcall RefreshGridData(int mAction);
        void __fastcall FillGridWithData();
        void __fastcall FillGridWithDataFormGlKm();
        void __fastcall SetFieldValue(int Index,AnsiString Value);
public:		// User declarations
        __fastcall TfrmGlb(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmGlb *frmGlb;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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