📄 deptinputunit.h
字号:
//---------------------------------------------------------------------------
#ifndef DeptInputUnitH
#define DeptInputUnitH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BaseInputUnit.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include "EnguardCommon.h"
//---------------------------------------------------------------------------
class TDeptInputFrm : public TBaseDataInputFrm
{
__published: // IDE-managed Components
TLabel *Label1;
TEdit *edtDept;
TLabel *Label2;
TEdit *edtDeptDesc;
TLabel *Label3;
TLabel *Label4;
TEdit *edtParsentDept;
void __fastcall bbtnOKClick(TObject *Sender);
void __fastcall bbtnCancelClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
private: // User declarations
bool RV;
DeptInfo_T aDeptInfo;
OperateMode_T CurOperateMode;
public: // User declarations
bool GetDeptInfo(DeptInfo_T& oDeptInfo);
void SetOperateMode(OperateMode_T iMode);
void SetParsentDeptInfo(DeptInfo_T iParsentDeptInfo);
void SetCurDeptInfo(DeptInfo_T iCurDeptInfo);
__fastcall TDeptInputFrm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TDeptInputFrm *DeptInputFrm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -