📄 rfidscanview.h
字号:
#include "afxwin.h"
#if !defined(AFX_PREVIEWPANE_H__008A70C2_C887_11D4_95C8_00A0C9289F1B__INCLUDED_)
#define AFX_PREVIEWPANE_H__008A70C2_C887_11D4_95C8_00A0C9289F1B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PreviewPane.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRFIDScanView view
class CRFID_DesktopReaderDoc;
class CRFIDScanView : public CFormView
{
protected:
CRFIDScanView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CRFIDScanView)
// Attributes
public:
enum { IDD = IDD_RFID_SEARCH_DLG };
CRFID_DesktopReaderDoc* GetDocument(){ return (CRFID_DesktopReaderDoc*) m_pDocument;};
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRFIDScanView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CRFIDScanView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CRFIDScanView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
virtual void OnInitialUpdate();
afx_msg void OnTimer(UINT nIDEvent);
protected:
virtual void DoDataExchange(CDataExchange* pDX);
public:
CString m_strRFID_ID;
CString m_strRFID_DATA;
CString m_strRFID;
// CADODataset m_adoDataset;
virtual void OnFinalRelease();
void OnRFIDRefreshed(CString strRFID);
bool m_bRFIDValid;
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedCancel();
CString m_strStatus;
afx_msg void OnBnClickedRfidSearch();
afx_msg void OnBnClickedRfidReadcontent();
bool SearchRFID(void);
};
//#ifndef _DEBUG // debug version in RFID_DesktopReaderView.cpp
//inline CRFID_DesktopReaderDoc* CRFIDScanView::GetDocument()
// { return (CRFID_DesktopReaderDoc*)m_pDocument; }
//#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PREVIEWPANE_H__008A70C2_C887_11D4_95C8_00A0C9289F1B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -