StudentDlg.h
资源名称:school.rar [点击查看]
上传用户:rs600066
上传日期:2017-10-16
资源大小:4788k
文件大小:2k
源码类别:
数据库系统
开发平台:
Visual C++
- #if !defined(AFX_STUDENTDLG_H__59A4C99D_33BD_4E76_883D_D850D7A58584__INCLUDED_)
- #define AFX_STUDENTDLG_H__59A4C99D_33BD_4E76_883D_D850D7A58584__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // StudentDlg.h : header file
- //
- #include "studentset.h"
- /////////////////////////////////////////////////////////////////////////////
- // CStudentDlg dialog
- class CStudentDlg : public CDialog
- {
- // Construction
- public:
- CStudentDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CStudentDlg)
- enum { IDD = IDD_DIALOG_STUDENT };
- CListCtrl m_ctrList;
- CComboBox m_ctrMajor;
- CComboBox m_ctrDepartment;
- CComboBox m_ctrClass;
- CString m_strClass;
- CString m_strDepartment;
- CString m_strMajor;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CStudentDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CStudentDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnButtonNew();
- afx_msg void OnButtonModify();
- afx_msg void OnButtonDelete();
- afx_msg void OnButtonBrowse();
- afx_msg void OnSetfocusComboMajor();
- afx_msg void OnSetfocusComboClass();
- afx_msg void OnSelchangeComboDepartment();
- afx_msg void OnSelchangeComboMajor();
- afx_msg void OnButtonSearch();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CStudentSet m_recordset ;
- void RefreshData(CString strSQL);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STUDENTDLG_H__59A4C99D_33BD_4E76_883D_D850D7A58584__INCLUDED_)