⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex7_1dlg.h

📁 C++计算器源码 C++计算器源码
💻 H
字号:
// Ex7_1Dlg.h : header file
//

#if !defined(AFX_EX7_1DLG_H__35226FA8_2A9C_4019_817F_CEF340C61B5C__INCLUDED_)
#define AFX_EX7_1DLG_H__35226FA8_2A9C_4019_817F_CEF340C61B5C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CEx7_1Dlg dialog

class CEx7_1Dlg : public CDialog
{
// Construction
public:
	int m_flgOperate;
	int m_flag;
	long m_result;
	CEx7_1Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CEx7_1Dlg)
	enum { IDD = IDD_EX7_1_DIALOG };
	long	m_data;
	//}}AFX_DATA

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

// Implementation
protected:
	void PressOperator(int n);
	void PressNum(int num);
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CEx7_1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnAdd();
	afx_msg void OnB0();
	afx_msg void OnB1();
	afx_msg void OnB2();
	afx_msg void OnB3();
	afx_msg void OnB4();
	afx_msg void OnB5();
	afx_msg void OnB6();
	afx_msg void OnB7();
	afx_msg void OnB8();
	afx_msg void OnB9();
	afx_msg void OnDiv();
	afx_msg void OnEqual();
	afx_msg void OnMultiply();
	afx_msg void OnReset();
	afx_msg void OnSubstract();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_EX7_1DLG_H__35226FA8_2A9C_4019_817F_CEF340C61B5C__INCLUDED_)

⌨️ 快捷键说明

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