📄 judgeview.h
字号:
#if !defined(AFX_JUDGEVIEW_H__4B03D36C_7DBB_4676_8BFA_02530D95241E__INCLUDED_)
#define AFX_JUDGEVIEW_H__4B03D36C_7DBB_4676_8BFA_02530D95241E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// JudgeView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CJudgeView record view
#include "ChapterSet.h"
#include "JudgeSet.h"
class CJudgeView : public CRecordView
{
protected:
CJudgeView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CJudgeView)
// Form Data
public:
//{{AFX_DATA(CJudgeView)
enum { IDD = IDD_JUDGEFORM };
CButton m_answerok;
CComboBox m_chaptername;
CButton m_moveprev;
CButton m_movenext;
CButton m_movelast;
CButton m_movefirst;
CJudgeSet* m_pSet;
CString m_recnews;
CButton m_answererror; //用于访问"错误"单选按钮
int m_recno; //当前记录号
int m_reccount; //记录总数
CChapterSet* m_pSetC; //用于访问章节记录集的记录指针
//}}AFX_DATA
// Attributes
public:
// Operations
public:
CJudgeSet* GetRecordset();
void ShowData();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CJudgeView)
// NOTE - the ClassWizard will add and remove member functions here.
public:
virtual CRecordset* OnGetRecordset();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CJudgeView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CJudgeView)
afx_msg void OnAddnewrecord();
afx_msg void OnDeleterecord();
afx_msg void OnSaverecord();
afx_msg void OnButtonMovefirst();
afx_msg void OnButtonMovelast();
afx_msg void OnButtonMovenext();
afx_msg void OnButtonMoveprev();
afx_msg void OnSelendokComboChapter();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_JUDGEVIEW_H__4B03D36C_7DBB_4676_8BFA_02530D95241E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -