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

📄 chapq2_1view.h

📁 完整的数据库课程设计
💻 H
字号:
// chapq2_1View.h : interface of the CChapq2_1View class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES

#if !defined(AFX_CHAPQ2_1VIEW_H__928F9B6B_EDF3_4976_920C_2FCBB652E936__INCLUDED_)
#define AFX_CHAPQ2_1VIEW_H__928F9B6B_EDF3_4976_920C_2FCBB652E936__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "datagrid.h"  //林
#include "LoginDialog.h"

class CChapq2_1View : public CFormView
{
protected: // create from serialization only
	CChapq2_1View();
	DECLARE_DYNCREATE(CChapq2_1View)

public:
	//{{AFX_DATA(CChapq2_1View)
	enum { IDD = IDD_CHAPQ2_1_FORM };
	CListBox	m_ListBox;   //林
	CDataGrid	m_DataGrid;  //林
	CString	m_strConnection; //林
	CString	m_strSQL;        //林
	CString	m_numcha;
	CString	m_namecha;
	CString	m_numdel;
	CString	m_namedel;
	CString	m_cnodel;
	//}}AFX_DATA

// Attributes
public:
	CChapq2_1Doc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChapq2_1View)
	public:
	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);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	void Judge();
	void getTables();
	void GenerateError(HRESULT hr,PWSTR pwszDescription);
	BOOL isDesc;
	CString m_strTableName;       //林
	_RecordsetPtr m_Recordset;    //林
	_ConnectionPtr m_Connection;  //林
	virtual ~CChapq2_1View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CChapq2_1View)
	afx_msg void OnSource();
	afx_msg void OnConncet();
	afx_msg void OnExecute();
	afx_msg void OnDisconnect();
	afx_msg void OnQuit();
	afx_msg void OnSelchangeList();
	afx_msg void OnHeadClickDatagrid(short ColIndex);
	afx_msg void OnSchool();
	afx_msg void OnGraduation();
	afx_msg void OnSuspension();
	afx_msg void OnChanging();
	afx_msg void OnFind();
	afx_msg void OnFindClear();
	afx_msg void OnStudent();
	afx_msg void OnCourse();
	afx_msg void OnSc();
	afx_msg void OnButton2();
	afx_msg void OnInsert();
	afx_msg void OnButton6();
	afx_msg void OnInsertClear();
	afx_msg void OnDelete();
	afx_msg void OnDeleteClear();
	afx_msg void OnLaw();
	afx_msg void OnLawClear();
	afx_msg void OnBackup();
	afx_msg void OnRestore();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in chapq2_1View.cpp
inline CChapq2_1Doc* CChapq2_1View::GetDocument()
   { return (CChapq2_1Doc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_CHAPQ2_1VIEW_H__928F9B6B_EDF3_4976_920C_2FCBB652E936__INCLUDED_)

⌨️ 快捷键说明

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