-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPasswordDlg.h
More file actions
37 lines (30 loc) · 809 Bytes
/
PasswordDlg.h
File metadata and controls
37 lines (30 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#pragma once
// CPasswordDlg dialog
class CPasswordDlg : public CDialogEx
{
DECLARE_DYNAMIC(CPasswordDlg)
public:
CPasswordDlg(BOOL bAdmin, const CString& sDSN, CWnd* pParent = nullptr); // standard constructor
virtual ~CPasswordDlg();
CString GetPassword() const { return m_sPass; }
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPasswordDlg)
protected:
virtual void OnOK();
virtual BOOL OnInitDialog();
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Dialog Data
enum { IDD = IDD_DIALOG_PASSWORD };
CString m_sPass;
protected:
HICON m_hIcon{ nullptr };
BOOL m_bAdmin{ FALSE };
CString m_sDSN;
protected:
// Generated message map functions
//{{AFX_MSG(CPasswordDlg)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};