📄 计算器dlg.h
字号:
// 计算器Dlg.h : header file
//
#if !defined(AFX_DLG_H__4F8C9B11_BF34_4837_A5CC_F545F27CB174__INCLUDED_)
#define AFX_DLG_H__4F8C9B11_BF34_4837_A5CC_F545F27CB174__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "math.h"
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
class CMyDlg : public CDialog
{
// Construction
public:
double a[50];
int rem;
double p;
CMyDlg(CWnd* pParent = NULL); // standard constructor
int iType;
double iQian;
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CString m_edit;
//}}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 OnButton0();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnButton7();
afx_msg void OnButton8();
afx_msg void OnButton9();
afx_msg void On_jia();
afx_msg void On_jian();
afx_msg void On_cheng();
afx_msg void On_chu();
afx_msg void On_dengyu();
afx_msg void On_sqrt();
afx_msg void On_C();
afx_msg void On_Exit();
afx_msg void On_ZF();
afx_msg void On_1X();
afx_msg void On_BaiFen();
afx_msg void On_BackSpace();
afx_msg void On_Dian();
afx_msg void On_sin();
afx_msg void On_cos();
afx_msg void On_tan();
afx_msg void On_arcsin();
afx_msg void On_arccos();
afx_msg void On_arctan();
afx_msg void On_exp();
afx_msg void On_log();
afx_msg void On_lg();
afx_msg void On_save();
afx_msg void On_average();
afx_msg void On_sum();
afx_msg void On_sumx2();
afx_msg void On_s();
afx_msg void On_jiecheng();
afx_msg void On_del();
afx_msg void On_n();
afx_msg void On_kaifang();
afx_msg void OnButton24();
afx_msg void On_start();
//}}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__4F8C9B11_BF34_4837_A5CC_F545F27CB174__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -