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

📄 clientinfoview.h

📁 用数据库控制树型控件现实内容的例子
💻 H
字号:
#if !defined(AFX_CLIENTINFOVIEW_H__D9E9C87A_EE49_4621_8F8B_7F15CFEFA534__INCLUDED_)
#define AFX_CLIENTINFOVIEW_H__D9E9C87A_EE49_4621_8F8B_7F15CFEFA534__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ClientInfoview.h : header file
//
#import "C:\Program Files\Common Files\System\ADO\msado15.dll" named_guids rename("EOF","adoEOF"), rename("BOF","adoBOF")
using namespace ADODB;  
/////////////////////////////////////////////////////////////////////////////
// CClientInfoview form view

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


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

// Form Data
public:
	//{{AFX_DATA(CClientInfoview)
	enum { IDD = IDD_COMPUTERINFO_DIALOG };
	CComputerTableCtrl	m_DataReport;
	CTabCtrl	m_MotherTab;
	//}}AFX_DATA

// Attributes
public:
    _ConnectionPtr m_db;
// Operations
public:
	void ChangeParent(CString ComputerID, CString IP, int targetGroupID);
	void ReFresh();
	void ShowClient(int GroupID);

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

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

	// Generated message map functions
	//{{AFX_MSG(CClientInfoview)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSelchangeSelectTab(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnComputerAdd();
	afx_msg void OnComputerDelete();
	afx_msg void OnComputerInstall();
	afx_msg void OnComputerUninstall();
	afx_msg void OnComputerPopupEdit();
	afx_msg void OnChangepareng();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_CLIENTINFOVIEW_H__D9E9C87A_EE49_4621_8F8B_7F15CFEFA534__INCLUDED_)

⌨️ 快捷键说明

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