?? calc1dlg.h
字號:
// calc1Dlg.h : header file
//
#if !defined(AFX_CALC1DLG_H__8BE669C6_7A84_4CE9_A936_F9EA0865D160__INCLUDED_)
#define AFX_CALC1DLG_H__8BE669C6_7A84_4CE9_A936_F9EA0865D160__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCalc1Dlg dialog
class CCalc1Dlg : public CDialog
{
// Construction
public:
CCalc1Dlg(CWnd* pParent = NULL); // standard constructor
//double count;
// Dialog Data
bool m_rex;
void calc();
int m_op;
double m_result;
void addnum(int j);
//{{AFX_DATA(CCalc1Dlg)
enum { IDD = IDD_CALC1_DIALOG };
double m_input;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalc1Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
int m_numx;
protected:
HICON m_hIcon;
int sum;
// Generated message map functions
//{{AFX_MSG(CCalc1Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSetfocusInput();
afx_msg void OnAdd();
afx_msg void OnCalc();
afx_msg void OnClear();
afx_msg void OnDiv();
afx_msg void OnMul();
afx_msg void OnReci();
afx_msg void OnSqrt();
afx_msg void OnSub();
afx_msg void OnOk();
afx_msg void On7();
afx_msg void On1();
afx_msg void On8();
afx_msg void On9();
afx_msg void On4();
afx_msg void On5();
afx_msg void On6();
afx_msg void On2();
afx_msg void On3();
afx_msg void On0();
afx_msg void Onzf();
afx_msg void Onpoint();
afx_msg void Onbai();
afx_msg void Onx3();
afx_msg void Onx2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALC1DLG_H__8BE669C6_7A84_4CE9_A936_F9EA0865D160__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -