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

📄 calculatordlg.h

📁 wince下的小程序
💻 H
字号:
// CalculatorDlg.h : header file
//

#if !defined(AFX_CALCULATORDLG_H__8B6C9F54_A5C5_49B6_9D66_9AB61CEF3F81__INCLUDED_)
#define AFX_CALCULATORDLG_H__8B6C9F54_A5C5_49B6_9D66_9AB61CEF3F81__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCalculatorDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CCalculatorDlg)
	enum { IDD = IDD_CALCULATOR_DIALOG };
	CString	m_flag;
	CString	m_operator_number;
	//}}AFX_DATA

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

// Implementation
private:
	void Show();
	void mystrcpy(char *strdes,CString  strsuc);
//	    int    m_operate_flag; //
		double m_storevalue;//保存数
		char   m_operate;//操作符标识
		double m_firstoperator;//保存第一个操作数
//		double m_twooperator;//保存第二个操作数
protected:
	
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCalculatorDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnIs();
	afx_msg void OnDown();
	afx_msg void OnCentri();
	afx_msg void OnExtract();
	afx_msg void OnClear2();
	afx_msg void OnClear1();
	afx_msg void OnDive();
	afx_msg void OnMulti();
	afx_msg void OnSub();
	afx_msg void OnAdd();
	afx_msg void OnReduce();
	afx_msg void On9();
	afx_msg void On6();
	afx_msg void On3();
	afx_msg void OnButton26();
	afx_msg void OnChangeEdit2();
	afx_msg void OnMc();
	afx_msg void OnMr();
	afx_msg void OnMs();
	afx_msg void OnMadd();
	afx_msg void On0();
	afx_msg void OnButton25();
	afx_msg void On1();
	afx_msg void On2();
	afx_msg void On4();
	afx_msg void On5();
	afx_msg void On7();
	afx_msg void On8();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CALCULATORDLG_H__8B6C9F54_A5C5_49B6_9D66_9AB61CEF3F81__INCLUDED_)

⌨️ 快捷键说明

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