计算器dlg.h

来自「系统地学习面向对象编程思想」· C头文件 代码 · 共 89 行

H
89
字号
// 计算器Dlg.h : header file
//

#if !defined(AFX_DLG_H__4B254CD1_413B_48EC_A523_81E55F7897EB__INCLUDED_)
#define AFX_DLG_H__4B254CD1_413B_48EC_A523_81E55F7897EB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CMyDlg)
	enum { IDD = IDD_MY_DIALOG };
	CString	m_strbnum;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnEnternum();
	afx_msg void OnC();
	afx_msg void OnCe();
	afx_msg void OnEquall();
	afx_msg void OnComputer();
	afx_msg void OnDiv();
	afx_msg void OnInt();
	afx_msg void Onasin();
	afx_msg void Onacos();
	afx_msg void Onatan();
	afx_msg void Ontanh();
	afx_msg void Onsin();
	afx_msg void Oncos();
	afx_msg void Ontan();
	afx_msg void Onsinh();
	afx_msg void Oncosh();
	afx_msg void Onsqr();
	afx_msg void Onx2();
	afx_msg void Onx3();
	afx_msg void On1x();
	afx_msg void Onn();
	afx_msg void Onlog();
	afx_msg void Onln();
	afx_msg void Onex();
	afx_msg void Onpi();
	afx_msg void OnMplus();
	afx_msg void OnMs();
	afx_msg void OnMr();
	afx_msg void OnMc();
	afx_msg void Onplusminus();
	afx_msg void Onhex();
	afx_msg void Ondec();
	afx_msg void Onoct();
	afx_msg void Onbin();
	afx_msg void OnBackspace();
	afx_msg void OnNot();
	afx_msg void Onangle();
	afx_msg void Onrad();
	afx_msg void OnExp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLG_H__4B254CD1_413B_48EC_A523_81E55F7897EB__INCLUDED_)

⌨️ 快捷键说明

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