securedformunit.h
来自「SecurityLib一个user-rights系统控件」· C头文件 代码 · 共 42 行
H
42 行
//---------------------------------------------------------------------------
#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 + =
减小字号Ctrl + -
显示快捷键?