📄 calcudlg.h
字号:
// calcuDlg.h : header file
//
#if !defined(AFX_CALCUDLG_H__1D27ABD7_5C02_498E_8BD6_67903E2DAB5D__INCLUDED_)
#define AFX_CALCUDLG_H__1D27ABD7_5C02_498E_8BD6_67903E2DAB5D__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
/////////////////////////////////////////////////////////////////////////////
// CCalcuDlg dialog
class CCalcuDlg : public CDialog
{
// Construction
public:
void MyStrcpy(char *strdes,CString strsuc);
void show();
int MyMethod()
{
return 1;
}
CCalcuDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCalcuDlg)
enum { IDD = IDD_CALCU_DIALOG };
CString m_EditNumber;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalcuDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
private:
double m_storevalue;
double Savedata;
char m_operate;
double m_firstoperator;
bool SetNew;
bool SetPoint;
bool Swap;
bool point;
bool first;
bool deletepoint;
double b;
char temp[256];
CString m_EditCopy;
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCalcuDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButtonOne();
afx_msg void OnButtonTwo();
afx_msg void OnButtonThree();
afx_msg void OnButtonMinus();
afx_msg void OnButtonCountdown();
afx_msg void OnButtonMult();
afx_msg void OnButtonSix();
afx_msg void OnButtonFive();
afx_msg void OnButtonFour();
afx_msg void OnButtonMr();
afx_msg void OnButtonMc();
afx_msg void OnButtonSeven();
afx_msg void OnButtonEight();
afx_msg void OnButtonNine();
afx_msg void OnButtonDivide();
afx_msg void OnButtonSqrt();
afx_msg void OnButtonEqual();
afx_msg void OnButtonMadd();
afx_msg void OnButtonZero();
afx_msg void OnButtonSign();
afx_msg void OnButtonPoint();
afx_msg void OnButtonAdd();
afx_msg void OnButtonC();
afx_msg void OnButtonCe();
afx_msg void OnButtonBackspace();
afx_msg void OnButtonPercent();
afx_msg void OnButtonMs();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALCUDLG_H__1D27ABD7_5C02_498E_8BD6_67903E2DAB5D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -