📄 comone.h
字号:
#if !defined(AFX_COMONE_H__E0E12BC0_DC4E_11D4_B4E9_00D0590EE228__INCLUDED_)
#define AFX_COMONE_H__E0E12BC0_DC4E_11D4_B4E9_00D0590EE228__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ComOne.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CComOne dialog
class CComOne : public CDialog
{
// Construction
public:
CComOne(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CComOne)
enum { IDD = IDD_COM_DIALOG };
int m_19200;
int m_38400;
int m_9600;
int m_COM1;
int m_COM2;
BOOL m_NoneParity;
BOOL m_OddParity;
BOOL m_EvenParity;
int m_bBaudRate;
int m_bCom;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CComOne)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
CString m_csCOM;
CString m_csBaudRate;
CButton* m_pCOM;
CButton* m_pBaudRate;
protected:
// Generated message map functions
//{{AFX_MSG(CComOne)
afx_msg void OnOk();
afx_msg void OnCancel();
afx_msg void OnCom1Radio();
afx_msg void OnCom2Radio();
afx_msg void On9600Radio();
afx_msg void On19200Radio();
afx_msg void On38400Radio();
virtual BOOL OnInitDialog();
afx_msg void OnDefaultButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COMONE_H__E0E12BC0_DC4E_11D4_B4E9_00D0590EE228__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -