?? calculatordlg.h
字號:
// CalculatorDlg.h : header file
//
#if !defined(AFX_CALCULATORDLG_H__8B6C9F54_A5C5_49B6_9D66_9AB61CEF3F81__INCLUDED_)
#define AFX_CALCULATORDLG_H__8B6C9F54_A5C5_49B6_9D66_9AB61CEF3F81__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CCalculatorDlg dialog
class CCalculatorDlg : public CDialog
{
// Construction
public:
CCalculatorDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCalculatorDlg)
enum { IDD = IDD_CALCULATOR_DIALOG };
CString m_flag;
CString m_operator_number;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalculatorDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
private:
void Show();
void mystrcpy(char *strdes,CString strsuc);
// int m_operate_flag; //
double m_storevalue;//保存數
char m_operate;//操作符標識
double m_firstoperator;//保存第一個操作數
// double m_twooperator;//保存第二個操作數
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCalculatorDlg)
virtual BOOL OnInitDialog();
afx_msg void OnIs();
afx_msg void OnDown();
afx_msg void OnCentri();
afx_msg void OnExtract();
afx_msg void OnClear2();
afx_msg void OnClear1();
afx_msg void OnDive();
afx_msg void OnMulti();
afx_msg void OnSub();
afx_msg void OnAdd();
afx_msg void OnReduce();
afx_msg void On9();
afx_msg void On6();
afx_msg void On3();
afx_msg void OnButton26();
afx_msg void OnChangeEdit2();
afx_msg void OnMc();
afx_msg void OnMr();
afx_msg void OnMs();
afx_msg void OnMadd();
afx_msg void On0();
afx_msg void OnButton25();
afx_msg void On1();
afx_msg void On2();
afx_msg void On4();
afx_msg void On5();
afx_msg void On7();
afx_msg void On8();
afx_msg void OnPaint();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALCULATORDLG_H__8B6C9F54_A5C5_49B6_9D66_9AB61CEF3F81__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -