📄 paperoptionview.h
字号:
#if !defined(AFX_PAPEROPTIONVIEW_H__46777290_E8C0_4568_BF13_17D4865A3858__INCLUDED_)
#define AFX_PAPEROPTIONVIEW_H__46777290_E8C0_4568_BF13_17D4865A3858__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PaperOptionView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CPaperOptionView record view
#include "PapersDataSet.h"
#include "ChapterSet.h"
#include "JudgeSet.h"
#include "SpaceSet.h"
#include "SingleSet.h"
#include "MoreSet.h"
class CPaperOptionView : public CRecordView
{
protected:
CPaperOptionView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CPaperOptionView)
// Form Data
public:
//{{AFX_DATA(CPaperOptionView)
enum { IDD = IDD_PAPEROPTIONFORM };
CEdit m_objpapername;
CEdit m_objspacescale;
CEdit m_objsinglescale;
CEdit m_objmorescale;
CEdit m_objjudgescale;
CComboBox m_space;
CComboBox m_single;
CComboBox m_more;
CComboBox m_judge;
CString m_papername;
int m_totalscore;
int m_judgecount;
int m_spacetotalscore;
int m_spacescore;
int m_spacecount2;
int m_spacecount1;
int m_spacecount;
int m_spacescale;
int m_singletotalscore;
int m_singlescore;
int m_singlescale;
int m_singlecount;
int m_morescale;
int m_moretotalscore;
int m_morescore;
int m_morecount;
int m_judgescore;
int m_judgescale;
int m_judgetotalscore;
int m_judgescale2;
int m_morescale2;
int m_singlescale2;
int m_spacescale2;
CPapersDataSet* m_pSet;
CChapterSet* m_pSetChapter;//章节记录集指针
CJudgeSet* m_pSetJudge;//判断题记录集指针
CSpaceSet* m_pSetSpace;//填空题记录集指针
CSingleSet* m_pSetSingle;//单选题记录集指针
CMoreSet* m_pSetMore;//多选题记录集指针
//}}AFX_DATA
// Attributes
public:
// Operations
public:
CPapersDataSet* GetRecordset();
int CheckPaperOption();//用于检查试卷参数是否有效
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPaperOptionView)
// 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 ~CPaperOptionView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CPaperOptionView)
afx_msg void OnButtonTestauto();
afx_msg void OnButtonTestdiy();
afx_msg void OnSelendokComboJudge();
afx_msg void OnSelendokComboMore();
afx_msg void OnSelendokComboSingle();
afx_msg void OnSelendokComboSpace();
afx_msg void OnChangeEditSinglecount();
afx_msg void OnChangeEditSinglescore();
afx_msg void OnChangeEditSpacecount();
afx_msg void OnChangeEditSpacecount1();
afx_msg void OnChangeEditSpacecount2();
afx_msg void OnChangeEditSpacescore();
afx_msg void OnChangeEditMorecount();
afx_msg void OnChangeEditMoreescore();
afx_msg void OnChangeEditJudgecount();
afx_msg void OnChangeEditJudgescore();
afx_msg void OnChangeEditJudgescale();
afx_msg void OnChangeEditMorescale();
afx_msg void OnChangeEditSinglescale();
afx_msg void OnChangeEditSpacescale();
afx_msg void OnKillfocusEditSpacescale();
afx_msg void OnKillfocusEditSinglescale();
afx_msg void OnKillfocusEditMorescale();
afx_msg void OnKillfocusEditJudgescale();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAPEROPTIONVIEW_H__46777290_E8C0_4568_BF13_17D4865A3858__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -