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