tax.h

来自「一个以前收集的基于C/S架构的ERP客户端源代码」· C头文件 代码 · 共 68 行

H
68
字号
//---------------------------------------------------------------------------
#ifndef TaxH
#define TaxH
//---------------------------------------------------------------------------
#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 <ExtCtrls.hpp>
#include "SDComboBox.h"
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmTax ;
class TfrmTax : public TRecBaseForm
{
__published:	// IDE-managed Components
    TFloatPanel *FloatPanel1;
    TSDEdit *seCode;
    TSDEdit *seName;
    TSDEdit *seRate;
    TLabel *Label1;
    TLabel *Label2;
    TLabel *Label3;
    TLabel *Label4;
    TLabel *Label5;
    TLabel *Label6;
    TSDGrid *sgTax;
    TCheckBox *cbDefault;
    TGroupBox *gbKmDrection;
    TRadioButton *rbGlDirect0;
    TRadioButton *rbGlDirect1;
    TMemo *memDesc;
        TSDEdit *seTaxGlKm;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall scGlKmClick(TObject *Sender);
    void __fastcall seTaxGlKmButtonClick(TObject *Sender);
        void __fastcall seCodeKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
        void __fastcall sgTaxClick(TObject *Sender);
        void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
private:	// User declarations
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();

    void __fastcall WaitUserInput();
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    void __fastcall InitEditControl();

public:		// User declarations
    __fastcall TfrmTax(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmTax *frmTax;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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