📄 setroleunit.h
字号:
//---------------------------------------------------------------------------
#ifndef SetRoleUnitH
#define SetRoleUnitH
//---------------------------------------------------------------------------
#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 <Graphics.hpp>
//---------------------------------------------------------------------------
class TSetRoleFrm : public TBaseDataInputFrm
{
__published: // IDE-managed Components
TCheckBox *cbNoLimit;
TCheckBox *cbPeriod1;
TCheckBox *cbPeriod2;
TCheckBox *cbWeekend;
TCheckBox *cbHoliday;
TBitBtn *bbtnRole;
TBevel *Bevel1;
TImage *Image1;
void __fastcall bbtnRoleClick(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall bbtnOKClick(TObject *Sender);
private: // User declarations
char RoleVal;
TCheckBox* RoleCheckBoxList[5];
void __fastcall OnCheckBoxClick(TObject *Sender);
char GetSelectedRole();
public: // User declarations
char GetRoleValue();
__fastcall TSetRoleFrm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TSetRoleFrm *SetRoleFrm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -