logindlg.h

来自「数据库开发的工资管理系统」· C头文件 代码 · 共 43 行

H
43
字号
#if !defined(AFX_LOGINDLG_H__18DEFF27_F199_4800_80C8_9C4398EEBB1F__INCLUDED_)
#define AFX_LOGINDLG_H__18DEFF27_F199_4800_80C8_9C4398EEBB1F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CLoginDlg dialog
class CLoginDlg : public CDialog{
public:
	CLoginDlg(CWnd* pParent = NULL);   // standard constructor
	BOOL OnInitDialog();  //重载初始化对话框的虚函数
// Dialog Data
	//{{AFX_DATA(CLoginDlg)
	enum { IDD = IDD_LOGIN_DIALOG };
	CComboBox m_username;
	CString	m_password;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CLoginDlg)
	afx_msg void OnLoginButton();
	afx_msg void OnCancelButton();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LOGINDLG_H__18DEFF27_F199_4800_80C8_9C4398EEBB1F__INCLUDED_)

⌨️ 快捷键说明

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