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

📄 myknowledgeview.h

📁 一个自己编的ODBC数据库的程序。
💻 H
字号:
// MyknowledgeView.h : interface of the CMyknowledgeView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MYKNOWLEDGEVIEW_H__46993FEE_2475_4FEE_8F61_95038A76F8A0__INCLUDED_)
#define AFX_MYKNOWLEDGEVIEW_H__46993FEE_2475_4FEE_8F61_95038A76F8A0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "mrucombo.h"
class CMyknowledgeSet;

class CMyknowledgeView : public CRecordView
{
protected: // create from serialization only
	CMyknowledgeView();
	DECLARE_DYNCREATE(CMyknowledgeView)

public:
	//{{AFX_DATA(CMyknowledgeView)
	enum { IDD = IDD_MYKNOWLEDGE_FORM };
	CComboBox	m_com1;
	CComboBox	m_com2;
	CListCtrl	m_ctrlperson;
	CMyknowledgeSet* m_pSet;
	long	m_0;
	CString	m_2;
	CString	m_1;
	CString	m_3;
	CString	m_4;
	CString	m_5;
	CString	m_st1;
	CString	m_st2;
	//}}AFX_DATA

// Attributes
public:
	CMyknowledgeDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyknowledgeView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	long m;
	int c1,c2;
	int k1,k2;
	CString m_strname;
	CString strtab;
	void SearchData();
	CDatabase m_database;
	CString m_query;
	CString m_searchSQL;
	void RefreshData();
	virtual ~CMyknowledgeView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMyknowledgeView)
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonDle();
	afx_msg void OnButtonMod();
	afx_msg void OnButtonFond();
	afx_msg void OnButtonBack();
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButtonNew();
	afx_msg void OnButtonOpen();
	afx_msg void OnButtonStart();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MyknowledgeView.cpp
inline CMyknowledgeDoc* CMyknowledgeView::GetDocument()
   { return (CMyknowledgeDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_MYKNOWLEDGEVIEW_H__46993FEE_2475_4FEE_8F61_95038A76F8A0__INCLUDED_)

⌨️ 快捷键说明

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