Dlg_Pwd.h 627 B

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma once
  2. // CDlg_Pwd 对话框
  3. class CDlg_Pwd : public CDialog
  4. {
  5. DECLARE_DYNAMIC(CDlg_Pwd)
  6. public:
  7. CDlg_Pwd(CWnd* pParent = NULL); // 标准构造函数
  8. virtual ~CDlg_Pwd();
  9. // 对话框数据
  10. enum { IDD = IDD_DLG_PWD };
  11. protected:
  12. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
  13. DECLARE_MESSAGE_MAP()
  14. public:
  15. virtual BOOL OnInitDialog();
  16. afx_msg void OnBnClickedOk();
  17. CEdit m_ctrlPwd1;
  18. CEdit m_ctrlPwd2;
  19. int m_nShowType;//0:添加密碼 1:输入密码 2:组态密码
  20. int m_nUserCount;
  21. CString m_sPwd;
  22. afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  23. CString GetMiMa();
  24. CString m_sFilePath;
  25. };