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

📄 studentdlg.h

📁 以前的课程设计,觉得功能不错,界面设计的也不错
💻 H
字号:
// StudentDlg.h : header file
//

#if !defined(AFX_STUDENTDLG_H__3A9CE477_6249_45D1_8885_6840553FBA39__INCLUDED_)
#define AFX_STUDENTDLG_H__3A9CE477_6249_45D1_8885_6840553FBA39__INCLUDED_

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

#include"GuestSet.h"
#include"BaseSet.h"
#include"ChoiceSet.h"

#include"Picture.h"
/////////////////////////////////////////////////////////////////////////////
// CStudentDlg dialog

class CStudentDlg : public CDialog
{
// Construction
public:
	CPicture m_Pic;
	_RecordsetPtr m_pset;
	   
public:
	CStudentDlg(CWnd* pParent = NULL);	// standard constructor
     void GetDataFromBase();
// Dialog Data
	//{{AFX_DATA(CStudentDlg)
	enum { IDD = IDD_STUDENT_DIALOG };
	CButton	m_showpic;
	CStatic	m_staticshow;
	CListCtrl	m_list;
	CString	m_adress;
	CString	m_id;
	CString	m_name;
	CString	m_sex;
	CString	m_tel;
	CString	m_born;
	CBaseSet  m_baseset;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStudentDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
public:
   void Updatelist();
// 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 OnGrade();
	afx_msg void OnChoice();
	afx_msg void OnName();
	afx_msg void OnId();
	afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnAboutFile();
	afx_msg void OnExitFile();
	afx_msg void OnResetFile();
	afx_msg void OnAdd();
	afx_msg void OnReset();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnInput();
	afx_msg void OnOut();
	//}}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__3A9CE477_6249_45D1_8885_6840553FBA39__INCLUDED_)

⌨️ 快捷键说明

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