📄 loginunit.h
字号:
//---------------------------------------------------------------------------
#ifndef SystemLoginUnitH
#define SystemLoginUnitH
//---------------------------------------------------------------------------
#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>
#include "DBAccessUnit.h"
//---------------------------------------------------------------------------
class TSystemLoginFrm : public TBaseDataInputFrm
{
__published: // IDE-managed Components
TLabel *Label1;
TEdit *edtEmpID;
TLabel *Label2;
TEdit *edtPassword;
TPanel *Panel2;
TImage *imUserPic;
void __fastcall bbtnOKClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
private:
TDBAccess aDBAccess;
UserInfoEx_T LoginUserInfo;
public:
bool IsLoginPass(AnsiString iEmpID,AnsiString iEmpPwd);
__fastcall TSystemLoginFrm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TSystemLoginFrm *SystemLoginFrm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -