📄 rs232_dlg.h
字号:
#if !defined(AFX_RS232_DLG_H__9EE24813_DEF8_4015_91BE_35AB1B590B4E__INCLUDED_)
#define AFX_RS232_DLG_H__9EE24813_DEF8_4015_91BE_35AB1B590B4E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RS232_DLG.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRS232_DLG dialog
class CRS232_DLG : public CDialog
{
// Construction
public:
CRS232_DLG(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRS232_DLG)
enum { IDD = IDD_RS232_DIALOG };
int m_baud_1;
int m_baud_2;
int m_databit_1;
int m_databit_2;
int m_parity_1;
int m_parity_2;
int m_stopbit_1;
int m_stopbit_2;
CString m_send1;
CString m_send2;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRS232_DLG)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CRS232_DLG)
virtual BOOL OnInitDialog();
afx_msg void OnOpenCom2();
afx_msg void OnOpenCom3();
afx_msg void OnPortSend1();
afx_msg void OnPortSend2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RS232_DLG_H__9EE24813_DEF8_4015_91BE_35AB1B590B4E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -