netsetdlg.h

来自「用c++ 开发的中国象棋」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_NETSETDLG_H__142C5C26_1D22_4874_8340_9980CCDC7406__INCLUDED_)
#define AFX_NETSETDLG_H__142C5C26_1D22_4874_8340_9980CCDC7406__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NetSetDlg.h : header file
//
#include "MyButton.h"
/////////////////////////////////////////////////////////////////////////////
// CNetSetDlg dialog

class CNetSetDlg : public CDialog
{
// Construction
public:
	CNetSetDlg(CWnd* pParent = NULL);   // standard constructor
	int GetPort(){return m_Port;};
	CString GetIPAddr(){return m_strIPAddr;};


// Dialog Data
	//{{AFX_DATA(CNetSetDlg)
	enum { IDD = IDD_DIALOG_NETSET };
	CMyButton	m_Sure;
	CMyButton	m_Cancle;
	int		m_Port;
	CString	m_strIPAddr;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CNetSetDlg)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_NETSETDLG_H__142C5C26_1D22_4874_8340_9980CCDC7406__INCLUDED_)

⌨️ 快捷键说明

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