password.h

来自「XOSL 多操作系统管理工具 源代码 多系统引导工具」· C头文件 代码 · 共 48 行

H
48
字号
#ifndef PasswordH
#define  PasswordH

#include <gui.h>
#include <items.h>
#include <dialogs.h>

class CSetup;
	 
class CPassword {
public:
	CPassword(CSetup &SetupToUse, CBootItems &BootItemsToUse, CDialogs &DialogsToUse);
	~CPassword();

	void CreateControls();
	void InitializeControls(CTabControl *TabControl);
	void ConnectEventHandlers();
	void DisableControls();
	void EnableControls();
	void InstallControls(CForm *Form);
	void RealignText();
private:
	CSetup &Setup;
	CBootItems &BootItems;
	CDialogs &Dialogs;

private:
	// controls
	CBevel *PasswordGroupBevel;
	CLabel *PasswordGroupLabel;
	CLabel *NewPassLabel;
	CEdit *NewPassEdit;
	CLabel *ConfirmPassLabel;
	CEdit *ConfirmPassEdit;
	CButton *ApplyPassBtn;
	CButton *ClearPassBtn;


private:
	// event handlers

	static void ApplyPassBtnClick(CPassword &Password);
	static void ClearPassBtnClick(CPassword &Password);

};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?