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

📄 studentdlg.h

📁 一个用VC写的学生成绩管理系统,其中对数据库的访问是采用ODBC方式.
💻 H
字号:
// StudentDlg.h : header file
//

#if !defined(AFX_STUDENTDLG_H__9586587A_893D_4FD3_962F_FDA4E3E020AD__INCLUDED_)
#define AFX_STUDENTDLG_H__9586587A_893D_4FD3_962F_FDA4E3E020AD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "odbc.h"

/////////////////////////////////////////////////////////////////////////////
// CStudentDlg dialog

class CStudentDlg : public CDialog
{
// Construction
public:
	void GetPaiming(CString sql);
	void RefreshData(CString strSQL);
	void RegisterDBSource(CString strDSName, CString strDBPath);
	CStudentDlg(CWnd* pParent = NULL);	// standard constructor
	CString sql;
	Codbc m_record;
	CString type;
	int index;
	CDatabase m_rec;
// Dialog Data
	//{{AFX_DATA(CStudentDlg)
	enum { IDD = IDD_STUDENT_DIALOG };
	CComboBox	m_sort;
	CListCtrl	m_list;
	CComboBox	m_comb_type;
	CComboBox	m_comb_class;
	CString	m_find;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CStudentDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSearch();
	afx_msg void OnCloseupCombo1();
	afx_msg void OnBseeall();
	afx_msg void OnBadd();
	afx_msg void OnRclickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnMDelete();
	afx_msg void OnMadd();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnCloseup_sort();
	afx_msg void OnMEdit();
	afx_msg void OnBabout();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_STUDENTDLG_H__9586587A_893D_4FD3_962F_FDA4E3E020AD__INCLUDED_)

⌨️ 快捷键说明

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