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

📄 databaseview.h

📁 用C++编写的学生信息管理系统 兼有数据库
💻 H
字号:
// DATABASEView.h : interface of the CDATABASEView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES

#if !defined(AFX_DATABASEVIEW_H__783ED83C_846D_4682_AD06_63E7678CD923__INCLUDED_)
#define AFX_DATABASEVIEW_H__783ED83C_846D_4682_AD06_63E7678CD923__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CDATABASESet;

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

public:
	void OnRefresh();
	HICON m_hIcon;
	void ExeSQL(char *);
	HBRUSH m_Brush;
	
	//{{AFX_DATA(CDATABASEView)
	enum { IDD = IDD_DATABASE_FORM };
	CButton	m_shoudong;
	CButton	m_edit;
	CButton	m_add;
	CButton	m_del;
	CDATABASESet* m_pSet;
	CMSFlexGrid	m_MSFGrid;
	//}}AFX_DATA

// Attributes
public:
	CDATABASEDoc* GetDocument();
// Operations
private:
	void ShowFont(CDC* pDC, int& nPos,int nPoints);
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDATABASEView)
	public:
	virtual CRecordset* OnGetRecordset();
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
	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 BOOL OnCommand(WPARAM wParam, LPARAM lParam);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CDATABASEView)
	afx_msg void OnRecAdd();
	afx_msg void OnRecDel();
	afx_msg void OnRecEdit();
	afx_msg void OnSort();
	afx_msg void OnXueji();
	afx_msg void OnXuanxiu();
	afx_msg void OnScore();
	afx_msg void OnSaerch1();
	afx_msg void OnSql();
	afx_msg void OnSearch2();
	afx_msg void OnShoudong();
	afx_msg void OnMouseDownMsflexgrid(short Button, short Shift, long x, long y);
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnIfo();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in DATABASEView.cpp
inline CDATABASEDoc* CDATABASEView::GetDocument()
   { return (CDATABASEDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_DATABASEVIEW_H__783ED83C_846D_4682_AD06_63E7678CD923__INCLUDED_)

⌨️ 快捷键说明

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