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

📄 我的计算器 dlg.h

📁 用于完成一些基本的日常生活运算工作,可用于新手入门时的参考
💻 H
字号:
// 我的计算器 Dlg.h : header file
//

#if !defined(AFX_DLG_H__45F435EE_6C4E_4561_96E8_2FEF172D2330__INCLUDED_)
#define AFX_DLG_H__45F435EE_6C4E_4561_96E8_2FEF172D2330__INCLUDED_

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

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

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

// Dialog Data
	//{{AFX_DATA(CMyDlg)
	enum { IDD = IDD_MY_DIALOG };
	CEdit	m_DelType;
	CEdit	m_CalType;
	CEdit	m_DataType;
	CEdit	m_GetWeek;
	CEdit	m_GetDate;
	CEdit	m_Number2;
	CEdit	m_Symbol;
	CEdit	m_Number1;
	CString	m_Result;
	//}}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 On0();
	afx_msg void On1();
	afx_msg void On2();
	afx_msg void On3();
	afx_msg void On4();
	afx_msg void On5();
	afx_msg void On6();
	afx_msg void On7();
	afx_msg void On8();
	afx_msg void On9();
	afx_msg void OnDot();
	afx_msg void OnProcess();
	afx_msg void OnPlus();
	afx_msg void OnMini();
	afx_msg void OnMulti();
	afx_msg void OnDivid();
	virtual void OnOK();
	afx_msg void OnClear();
	afx_msg void OnDelete();
	afx_msg void OnDeleteSet();
	afx_msg void OnDeleteChange();
	afx_msg void OnContinue();
	afx_msg void OnCalInit();
	afx_msg void OnCalChange();
	afx_msg void Onln();
	afx_msg void OnFflagSet();
	afx_msg void OnFflagChange();
	afx_msg void Onlog();
	afx_msg void OnSin();
	afx_msg void OnCos();
	afx_msg void OnTan();
	afx_msg void OnSqrt();
	afx_msg void OnNumberIntro();
	afx_msg void OnDailSymbolItro();
	afx_msg void OnComSymbolItro();
	afx_msg void OnProcessItro();
	afx_msg void OnContinueKeyItro();
	afx_msg void OnClearKeyItro();
	afx_msg void OnDeleKeyItro();
	afx_msg void OnQuitKeyItro();
	afx_msg void OnInputItro();
	afx_msg void OnUpdateFCheck(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNFCheck(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:

	bool m_CommonCalculate;
	char m_str2[20];
	char m_str1[20];
	double  m_result;
	double  m_data1;
	double  m_data2;
	bool    m_TableFlag;
	bool    Fflag;
	char    m_symbol;
};

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

#endif // !defined(AFX_DLG_H__45F435EE_6C4E_4561_96E8_2FEF172D2330__INCLUDED_)

⌨️ 快捷键说明

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