📄 securedformunit.h
字号:
//---------------------------------------------------------------------------
#ifndef SecuredFormUnitH
#define SecuredFormUnitH
#define __SSPI_H__
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Rights.h"
//---------------------------------------------------------------------------
class TSecuredForm : public TForm
{
private: // User declarations
TNotifyEvent FOnRightsRead;
protected:
void __fastcall ReadRights();
virtual void __fastcall RightsRead();
TSecRights Rights;
__published:
public:
__fastcall TSecuredForm(TComponent* Owner);
__fastcall TSecuredForm(TComponent* Owner, char *name);
__property TNotifyEvent OnRightsRead = { read = FOnRightsRead, write = FOnRightsRead };
bool Bind(const char *secname) { Rights.Bind(secname); return Rights.Binded(); }
};
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -