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