⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 createusers.h

📁 实时监控
💻 H
字号:
// CreateUsers.h : header file
//

#ifndef __CREATEUSERS_H__
#define __CREATEUSERS_H__

#include "RightLogin.h"
#include "../utils/TransCK.h"


/////////////////////////////////////////////////////////////////////////////
// CCreateUsers dialog
class User_Information
{
public:
	char name[20];
	char fullname[30];
	char password[20];
	char description[50];
	char telphone[15];
	char email[20];
	char address[20];
};
struct Popedom_Setting
{
	char	name[20];
	BOOL	alarm;
	BOOL	backup;
	BOOL	channel;
	BOOL	localrecord;
	BOOL	localset;
	BOOL	moverecord;
	BOOL	ptzctrl;
	BOOL	record;
	BOOL	remoteos;
	BOOL	timerecord;
	BOOL	vedio;
};

class CCreateUsers : public CPropertyPage
{
	DECLARE_DYNCREATE(CCreateUsers)

// Construction
public:
	CCreateUsers();
	~CCreateUsers();
	CBrush m_brush;
	void update();
	void create_popedom();

// Dialog Data
	//{{AFX_DATA(CCreateUsers)
	enum { IDD = IDD_PROPPAGE1 };
	CTransButton	m_cancel;
	CTransButton	m_create;
	CString	m_pass;
	CString	m_name;
	CString	m_fullname;
	CString	m_description;
	CString	m_configpass;
	CString	m_address;
	CString	m_email;
	CString	m_telphone;
	

	CLabel	m_lable8;
	CLabel	m_lable7;
	CLabel	m_lable6;
	CLabel	m_lable5;
	CLabel	m_lable4;
	CLabel	m_lable3;
	CLabel	m_lable2;
	CLabel	m_lable1;
	CTransGroup	m_grp2;
	CTransGroup m_grp1;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CCreateUsers)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CCreateUsers)
	afx_msg void OnCreateUsers();
	afx_msg void OnChangename();
	afx_msg void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};


/////////////////////////////////////////////////////////////////////////////
// CUpdateUsers dialog

class CUpdateUsers : public CPropertyPage
{
	DECLARE_DYNCREATE(CUpdateUsers)

// Construction
public:
	CUpdateUsers();
	~CUpdateUsers();
	User_Information m_user[120];
	void Ondelotherfile();
	void update();
	int m_length;

// Dialog Data
	//{{AFX_DATA(CUpdateUsers)
	enum { IDD = IDD_PROPPAGE2 };
	CTransButton	m_cancel;
	CTransButton	m_update;
	CTransButton	m_del;
	CBrush m_brush;

	CComboBox	m_namectrl;
	CString	m_description;
	CString	m_fullname;
	CString	m_name;
	CString	m_pass;
	CString	m_configpass;
	
	CString	m_address;
	CString	m_email;
	CString	m_telphone;

	CLabel	m_lable8;
	CLabel	m_lable7;
	CLabel	m_lable6;
	CLabel	m_lable5;
	CLabel	m_lable4;
	CLabel	m_lable3;
	CLabel	m_lable2;
	CLabel	m_lable1;
	CTransGroup	m_grp2;
	CTransGroup m_grp1;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CUpdateUsers)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CUpdateUsers)
	afx_msg void OnUpdate();
	afx_msg void Ondel();
	afx_msg void OnSelchangeName();
	afx_msg void OnSetfocusName();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};


/////////////////////////////////////////////////////////////////////////////
// CPopedomSet dialog

class CPopedomSet : public CPropertyPage
{
	DECLARE_DYNCREATE(CPopedomSet)

// Construction
public:
	CPopedomSet();
	~CPopedomSet();
    
	Popedom_Setting m_popedom[120];
	int m_length;
// Dialog Data
	//{{AFX_DATA(CPopedomSet)
	enum { IDD = IDD_PROPPAGE3 };
	CTransButton	m_cancel;
	CTransButton	m_save;
	CComboBox	m_namectrl;
	BOOL	m_alarm;
	BOOL	m_backup;
	BOOL	m_channel;
	BOOL	m_localrecord;
	BOOL	m_localset;
	BOOL	m_moverecord;
	CString	m_name;
	BOOL	m_ptzctrl;
	BOOL	m_record;
	BOOL	m_remoteos;
	BOOL	m_timerecord;
	BOOL	m_vedio;
	BOOL    m_checkbool;
	CBrush m_brush;

	CLabel	    m_lable1;
	CTransCK    m_check;
	CTransCK	m_alarm1;
	CTransCK	m_backup1;
	CTransCK	m_channel1;
	CTransCK	m_localrecord1;
	CTransCK	m_localset1;
	CTransCK	m_login1;
	CTransCK	m_moverecord1;
	CTransCK	m_ptzctrl1;
	CTransCK	m_record1;
	CTransCK	m_remoteos1;
	CTransCK	m_timerecord1;
	CTransCK	m_vedio1;
	CTransGroup m_grp1;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CPopedomSet)
	protected:
	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPopedomSet)
	afx_msg void OnSave();
	virtual void OnCancel();
	afx_msg void OnSetfocusCombo1();
	afx_msg void OnSelchangeName();
	afx_msg void OnCheck1();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};



#endif // __CREATEUSERS_H__

⌨️ 快捷键说明

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