📄 studentinfodlg.h
字号:
#if !defined(AFX_STUDENTINFODLG_H__3A20012A_BEA5_49D7_B74D_1494AA623D59__INCLUDED_)
#define AFX_STUDENTINFODLG_H__3A20012A_BEA5_49D7_B74D_1494AA623D59__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// StudentInfoDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CStudentInfoDlg dialog
extern CDatabase m_db;
//extern void QueryStudent(CStrint tablename, CString Attribute,CString Condition)
#include "MatchDlg.h"
class CStudentInfoDlg : public CDialog
{
// Construction
public:
void RefreshClass(CString departname);
int m_iDepFrm;
int m_iCurItem;
int m_PreID;
void InsertToItem(CString id, CString name, CString sex, CString depart, CString classes, CString memo, CString id2);
void InsertToDb(CString id, CString name, CString sex, CString depart, CString classes, CString memo);
CString ReturnDepartID(CString ClassID);
void InitCtrlData();
CStudentInfoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CStudentInfoDlg)
enum { IDD = IDD_DIALOG_SETSTUDENT };
CListCtrl m_listStudentInfo;
CComboBox m_cSSex;
CComboBox m_cSDepart;
CComboBox m_cSClass;
CComboBox m_cClass;
CComboBox m_cDepart;
CComboBox m_cSex;
CString m_strID;
CString m_strName;
CString m_strMemo;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStudentInfoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CStudentInfoDlg)
afx_msg void OnBtnAdd();
afx_msg void OnBtnDel();
afx_msg void OnBtnMatch();
afx_msg void OnBtnMod();
afx_msg void OnSelchangeComboClass();
afx_msg void OnSelchangeComboDepart();
afx_msg void OnSelchangeComboSclass();
afx_msg void OnSelchangeComboSdepart();
afx_msg void OnSelchangeComboSex();
afx_msg void OnSelchangeComboSsex();
afx_msg void OnClickListStudentinfo(NMHDR* pNMHDR, LRESULT* pResult);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENTINFODLG_H__3A20012A_BEA5_49D7_B74D_1494AA623D59__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -