px.h

来自「对话框实现读入文件」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_PX_H__FA053194_097B_4E9A_A70F_249B7861E2CE__INCLUDED_)
#define AFX_PX_H__FA053194_097B_4E9A_A70F_249B7861E2CE__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPX dialog

class CPX : public CDialog
{
// Construction
public:
    void Write();
	void Read();
	int m_nOut[100];
	int m_nIn[100];
	int temp[100];
	void Method4();
	void Method3();
	void Method2();
	void Method1();
	CPX(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPX)
	enum { IDD = IDD_DIALOG1 };
	CString	m_nInput;
	CString	m_nOutput;
	int		m_nMethod;
	int		m_nUporDown;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPX)
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PX_H__FA053194_097B_4E9A_A70F_249B7861E2CE__INCLUDED_)

⌨️ 快捷键说明

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