📄 tax.h
字号:
//---------------------------------------------------------------------------
#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);
private: // User declarations
AnsiString __fastcall GetFieldValue(int FieldIndex);
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);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmTax *frmTax;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -