📄 dlgstuinfo.h
字号:
#if !defined(AFX_DLGSTUINFO_H__05B87257_1ACB_483C_88BC_B7B40FEAA761__INCLUDED_)
#define AFX_DLGSTUINFO_H__05B87257_1ACB_483C_88BC_B7B40FEAA761__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dlgstuinfo.h : header file
//
#include "stuinforecordset1.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgstuinfo dialog
class CDlgstuinfo : public CDialog
{
// Construction
public:
CDlgstuinfo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgstuinfo)
enum { IDD = IDD_DIALOGstuinfo };
CListCtrl m_liststu;
CString m_address;
CString m_stuname;
CString m_stusex;
CString m_xibie;
CString m_stunumber;
CString m_birth;
CString m_classnum;
CString m_inyear;
CString m_roomnum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgstuinfo)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgstuinfo)
afx_msg void OnOk();
afx_msg void OnBUTTONadd();
afx_msg void OnBUTTONdel();
virtual BOOL OnInitDialog();
afx_msg void OnStuAdd();
afx_msg void OnBUTTONupdate();
afx_msg void OnColumnclickLISTstuinfomation(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBUTTONorder();
afx_msg void OnClickLISTstuinfomation(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBUTTONdele();
afx_msg void OnButton1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int m_count;
int nitem;
void initctrl();
void initctrldata();
void insertstuinfo(CString stuid,CString stuname,CString stusex,CString stubirth,CString xibie,CString inyear,CString classnum,CString roomnum,CString address);
//Cstuinforecordset m_stuinforecord;
//Cstuinforecordset m_stu;
Cstuinforecordset m_stuinforecordset;
public:
//CDatabase m_db;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGSTUINFO_H__05B87257_1ACB_483C_88BC_B7B40FEAA761__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -