cecalcdlg.h
来自「Windows CE上的计算器」· C头文件 代码 · 共 100 行
H
100 行
#if !defined(AFX_CECALCDLG_H__83D62B6E_73C4_4F9D_9181_130272CF3DB1__INCLUDED_)
#define AFX_CECALCDLG_H__83D62B6E_73C4_4F9D_9181_130272CF3DB1__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "automata.h"
#include "AboutDialog.h"
// CCeCalcDlg dialog
class CCeCalcDlg : public CDialog
{
// Construction
public:
CCeCalcDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCeCalcDlg)
enum { IDD = IDD_CECALC_DIALOG };
CStatic m_edit;
CStatic mIsStored;
int m_rad;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCeCalcDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CAboutDialog *paboutDialog;
HICON m_hIcon;
int width;
int height;
CAutoMata atm;
int trigonometric;
void postMessage(int msg);
void postMessage(int msg,int para);
// Generated message map functions
//{{AFX_MSG(CCeCalcDlg)
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnButton4();
afx_msg void OnButton3();
afx_msg void OnButton5();
afx_msg void OnButton6();
afx_msg void OnButton7();
afx_msg void OnButton8();
afx_msg void OnButton9();
afx_msg void OnDot();
afx_msg void OnButton0();
afx_msg void OnSign();
afx_msg void OnRadioRAD();
afx_msg void OnRadioDEG();
afx_msg void OnRadioGRD();
afx_msg void OnButtonReset();
afx_msg void OnAdd();
afx_msg void OnSub();
afx_msg void OnMult();
afx_msg void OnDiv();
afx_msg void OnCalc();
afx_msg void OnSqrt();
afx_msg void OnButtonRcep();
afx_msg void OnMadd();
afx_msg void OnInt();
afx_msg void OnMod();
afx_msg void OnMs();
afx_msg void OnMr();
afx_msg void OnMc();
afx_msg void OnConstPi();
afx_msg void OnButtonTan();
afx_msg void OnButtonCos();
afx_msg void OnSin();
afx_msg void OnButtonSquare();
afx_msg void OnCube();
afx_msg void OnPower();
afx_msg void OnButtonLog();
afx_msg void OnLn();
afx_msg void OnConstE();
afx_msg void OnarcSIN2();
afx_msg void OnBUTTONarcCOS2();
afx_msg void OnBUTTONarcTAN2();
afx_msg void OnClearCur();
afx_msg void OnBackspace();
afx_msg void OnMenuitemsimple();
afx_msg void OnMenuitemscience();
afx_msg void OnMenuitemabout();
afx_msg void OnMenuitemexit();
afx_msg void OnMenuitemreset();
afx_msg void OnFact();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_CECALCDLG_H__83D62B6E_73C4_4F9D_9181_130272CF3DB1__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?