📄 readcarddlg.h
字号:
// readcardDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_READCARDDLG_H__3CFB5525_6219_486C_897C_394E380810A1__INCLUDED_)
#define AFX_READCARDDLG_H__3CFB5525_6219_486C_897C_394E380810A1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CReadcardDlg dialog
#include "serial.h"
class CReadcardDlg : public CDialog
{
// Construction
public:
LRESULT On_Receive(WPARAM wp, LPARAM lp);
CReadcardDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CReadcardDlg)
enum { IDD = IDD_READCARD_DIALOG };
CMSComm m_com;
CString m_helper;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReadcardDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CReadcardDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnSetId();
afx_msg void OnRRead();
afx_msg void OnBtnID();
afx_msg void OnButton4();
afx_msg LONG OnComm(WPARAM ch, LPARAM port);
afx_msg void OnButton5();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int comno,baudrate,conno,times,timeno,cardlength;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_READCARDDLG_H__3CFB5525_6219_486C_897C_394E380810A1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -