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

📄 计算器dlg.h

📁 这个也是一个计算器用VISUAL C++设计
💻 H
字号:
// 计算器Dlg.h : header file
//

#if !defined(AFX_DLG_H__4E6D24F9_5FEC_454B_9A98_DDD3B0F0E1B7__INCLUDED_)
#define AFX_DLG_H__4E6D24F9_5FEC_454B_9A98_DDD3B0F0E1B7__INCLUDED_

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



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

class CMyDlg : public CDialog
{
// Construction
public:
	int rad;
	int deg;
	int lsh;
	int xor;
	int or;
	int and;
	int mod;
	int xy;
    int a,b;
	int A,B,C,D,E,F;
	CMyDlg(CWnd* pParent = NULL);	// standard constructor



// Dialog Data
	//{{AFX_DATA(CMyDlg)
	enum { IDD = IDD_MY_DIALOG };
	CString	m_edit_io;
	//char optr[10];
	//int mat[10][10];
	//}}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;            //历史
	CMenu m_menu;              //历史
	CStringArray m_str_exp;       //历史

	// 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 OnBTNClear();
	afx_msg void OnBTNBackspace();
	afx_msg void OnBtnCe();
	afx_msg void OnBtn0();
	afx_msg void OnBtn1();
	afx_msg void OnBtn2();
	afx_msg void OnBtn3();
	afx_msg void OnBtn4();
	afx_msg void OnBtn5();
	afx_msg void OnBtn6();
	afx_msg void OnBtn7();
	afx_msg void OnBtn8();
	afx_msg void OnBtn9();
	afx_msg void OnBtnA();
	afx_msg void OnBtnB();
	afx_msg void OnBtnC();
	afx_msg void OnBtnD();
	afx_msg void OnBTNEbig();
	afx_msg void OnBtnF();
	afx_msg void OnBTNpoint();
	afx_msg void OnBTNjia();
	afx_msg void OnBTNjian();
	afx_msg void OnBTNcheng();
	afx_msg void OnBTNchu();
	afx_msg void OnBTNspace();
	afx_msg void OnBTNexit();
	afx_msg void OnRADIOHex();
	afx_msg void OnChangeEditIo();
	afx_msg void OnBTNMyword();
	afx_msg void OnBTNleftbraket();
	afx_msg void OnBTNrightbraket();
	afx_msg void OnBTNpi();
	afx_msg void OnBTNe();
	afx_msg void OnBTNsin();
	afx_msg void OnBTNxy();
	afx_msg void OnBTNcos();
	afx_msg void OnBTNtan();
	afx_msg void OnBTNcot();
	afx_msg void OnRADIODec();
	afx_msg void OnRADIOOct();
	afx_msg void OnRADIOBin();
	afx_msg void OnBTNln();
	afx_msg void OnBTNlog();
	afx_msg void OnBTNnn();
	afx_msg void OnBTNdaoshu();
	afx_msg void OnBTNMod();
	afx_msg void OnBTNAnd();
	afx_msg void OnBTNOr();
	afx_msg void OnBTNXor();
	afx_msg void OnBTNLsh();
	afx_msg void OnBTNNot();
	afx_msg void OnBTNInt();
	afx_msg void OnBtnDy();
	afx_msg void OnBUTTONbhao();
	afx_msg void OnRADIODeg();
	afx_msg void OnRADIORad();
	afx_msg void OnBTNhistory();
	afx_msg void AddToHistr(CString strExp);
	afx_msg void OnMenuSelect(UINT nID);
	//}}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__4E6D24F9_5FEC_454B_9A98_DDD3B0F0E1B7__INCLUDED_)

⌨️ 快捷键说明

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