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

📄 testdlg.h

📁 VC实现word 和ACCESS数据库的连接
💻 H
字号:
#if !defined(AFX_TESTDLG_H__AE9F0725_8C0D_4DE3_ADE3_DC0864B45167__INCLUDED_)
#define AFX_TESTDLG_H__AE9F0725_8C0D_4DE3_ADE3_DC0864B45167__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTestDlg dialog
#include "SystemDB.h"
#include "TdlyghDB.h"
#include "DjclDB.h"
#include "DjclnounexplainDB.h"
#include "DjcljdtDB.h"
#include "TdlyghjdtDB.h"
#include "TdlyghmcjsDB.h"
#include "TdlyghlstDB.h"







class CTestDlg : public CDialog
{
public:
	CSystemDB m_SystemDB;
	CTdlyghDB m_TdlyghDB;
    CDjclDB m_DjclDB;
   CDjclnounexplainDB m_DjclnounexplainDB;
    CTdlyghjdtDB m_TdlyghjdtDB;
	CDjcljdtDB m_DjcljdtDB;
    CArray<int ,int >m_IndexArraryOfSelJdt;
	CTdlyghmcjsDB m_TdlyghmcjsDB;
		CArray<int ,int >m_IndexArraryOfSelMcjs;
CTdlyghlstDB m_TdlyghlstDB;
     TV_INSERTSTRUCT tvstruct;
	 CString coursename;
   	CString tixing;
	
	void Readzhuanyetypetocombo();
	void Readcoursenametocombo(CString zhuanyetype);
	void Readyeartocomboyear1();
	void Treeconstruct(CString course);
	void Readtestcontenttolistbox();
	void writetestcontenttotestpaper(CString course);
	void Readtestseltolistctrl(CString knowledgename,CString tixing);// standard constructor

// Construction
public:
	CTestDlg(CWnd* pParent = NULL);
// Dialog Data
	//{{AFX_DATA(CTestDlg
	enum { IDD = IDD_MANSELDLG };
	CTreeCtrl	m_knowledgetree;
	CComboBox	m_year1;
	CComboBox	m_zhuanyetype;
	CComboBox	m_coursename;
	CComboBox	m_classname;
	CString	m_year2;
	CString	m_editcoursename;
	CListBox  m_listtestcontent;
    CListCtrl m_TestSeleInfoListctrl;
    CListCtrl m_listseledtest;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTestDlg)	
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeZhuanyetype();
	afx_msg void OnSelchangeComboYear();
	afx_msg void OnSelchangeCoursename();
	afx_msg void OnSelchangedTreeKnowledgeNode(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonSeltest();
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonDelect();
	afx_msg void OnButtonViewtest();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTDLG_H__AE9F0725_8C0D_4DE3_ADE3_DC0864B45167__INCLUDED_)

⌨️ 快捷键说明

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