📄 dlglose.h
字号:
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_DLGLOSE_H__99EEA554_2C11_4614_B772_B2A4A950F92B__INCLUDED_)
#define AFX_DLGLOSE_H__99EEA554_2C11_4614_B772_B2A4A950F92B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgLose.h : header file
//
#include "Card.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgLose dialog
class CDlgLose : public CDialog
{
// Construction
public:
void ConfigButtons();
short int FindCard();
void FillListView(CCard& card);
void InitListView();
CDlgLose(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgLose)
enum { IDD = IDD_DIALOG_LOSE };
CButton m_btnUnlose;
CButton m_btnLose;
CListCtrl m_ListControl;
CMSComm m_ComPort;
CString m_strStudentId;
int m_bByCard;
int m_bByStudent;
//}}AFX_DATA
CCard m_Card;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgLose)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgLose)
virtual BOOL OnInitDialog();
afx_msg void OnRadioByCard();
afx_msg void OnRadioByStudent();
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnButtonLose();
afx_msg void OnButtonUnlose();
afx_msg void OnButtonQuery();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGLOSE_H__99EEA554_2C11_4614_B772_B2A4A950F92B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -