?? caculatordlg.h
字號:
// CaculatorDlg.h : header file
//
#include "math.h"
#if !defined(AFX_CACULATORDLG_H__812953A9_ECB0_4485_83F4_F1DD80E543DB__INCLUDED_)
#define AFX_CACULATORDLG_H__812953A9_ECB0_4485_83F4_F1DD80E543DB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCaculatorDlg dialog
class CCaculatorDlg : public CDialog
{
// Construction
public:
CCaculatorDlg(CWnd* pParent = NULL); // standard constructor
double number1,number2;
int NumberState,OperationState;
void cal();
private:
// Dialog Data
//{{AFX_DATA(CCaculatorDlg)
enum { IDD = IDD_CACULATOR_DIALOG };
double m_result;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCaculatorDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCaculatorDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
//}}AFX_MSG
afx_msg void OnNumberKey(UINT nID);
afx_msg void OnOPerationKey(UINT nID);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CACULATORDLG_H__812953A9_ECB0_4485_83F4_F1DD80E543DB__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -