⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 optionview.h

📁 < Visual C++数据库经典开发实例精解>>的实例源码
💻 H
字号:
#if !defined(AFX_OPTIONVIEW_H__5604236A_07EF_41EB_A0CA_CCFBB21C266B__INCLUDED_)
#define AFX_OPTIONVIEW_H__5604236A_07EF_41EB_A0CA_CCFBB21C266B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OptionView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// COptionView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "ChapterSet.h"
#include "JudgeSet.h"
#include "SpaceSet.h"
#include "SingleSet.h"
#include "MoreSet.h"

class COptionView : public CFormView
{
protected:
	COptionView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(COptionView)

// Form Data
public:
	//{{AFX_DATA(COptionView)
	enum { IDD = IDD_PAPEROPTION };
	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;
	CPapersDataSet* m_pSet;	
	CPapersSet* m_pSetPapers;
	CChapterSet* m_pSetChapter;
	CJudgeSet* m_pSetJudge;
	CSpaceSet* m_pSetSpace;
	CSingleSet* m_pSetSingle;
	CMoreSet* m_pSetMore;
	int		m_judgescale2;
	int		m_morescale2;
	int		m_singlescale2;
	int		m_spacescale2;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	int CheckPaperOption();
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COptionView)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~COptionView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(COptionView)
	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_OPTIONVIEW_H__5604236A_07EF_41EB_A0CA_CCFBB21C266B__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -