singlecontrol.h
来自「《51系列单片机高级实例开发指南》一书的can总线的PC端的源代码」· C头文件 代码 · 共 63 行
H
63 行
#if !defined(AFX_SINGLECONTROL_H__1646E956_AC89_411B_9B41_449378166C35__INCLUDED_)
#define AFX_SINGLECONTROL_H__1646E956_AC89_411B_9B41_449378166C35__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SingleControl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSingleControl dialog
class CSingleControl : public CDialog
{
// Construction
public:
float yResult[451];
void OnGraph();
int Ttime;
int start_time;
CSingleControl(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSingleControl)
enum { IDD = IDD_SINGLE_DIALOG };
CEdit m_SCangel;
CComboBox m_SCstate;
CComboBox m_SCnumber;
CString m_snumber;
CString m_sstate;
int m_sangel;
float m_sfre;
float m_sfuzhi;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSingleControl)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSingleControl)
afx_msg void OnSingleYesButton();
afx_msg void OnPaint();
afx_msg void OnTimer(UINT nIDEvent);
virtual BOOL OnInitDialog();
afx_msg void OnSingleExitButton();
afx_msg void OnStopButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SINGLECONTROL_H__1646E956_AC89_411B_9B41_449378166C35__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?