initdlg.h

来自「客户端服务器源码」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_INITDLG_H__A50C69F7_AA81_4E55_B1CF_498DAC0E0EBD__INCLUDED_)
#define AFX_INITDLG_H__A50C69F7_AA81_4E55_B1CF_498DAC0E0EBD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InitDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CInitDlg dialog

class CInitDlg : public CDialog
{
// Construction
public:
	CInitDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CInitDlg)
	enum { IDD = IDD_DIALOG_INIT };
	CEdit	m_DbServer;
	CEdit	m_ComServer;
	CEdit	m_DbUser;
	CEdit	m_DbPsw;
	CEdit	m_DbName;
	CButton	m_btnOK;
	CButton	m_btnExit;
	CString	m_strDbName;
	CString	m_strDbPsw;
	CString	m_strDbUser;
	CString	m_strComServer;
	CString	m_strDbServer;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInitDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CInitDlg)
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnBtnOk();
	afx_msg void OnBtnExit();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_INITDLG_H__A50C69F7_AA81_4E55_B1CF_498DAC0E0EBD__INCLUDED_)

⌨️ 快捷键说明

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