📄 scoreinput.h
字号:
#if !defined(AFX_SCOREINPUT_H__77240E95_E29D_4322_BAE1_87D86BDB963B__INCLUDED_)
#define AFX_SCOREINPUT_H__77240E95_E29D_4322_BAE1_87D86BDB963B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScoreInput.h : header file
#include "Exam.h"
#include "Students.h"
#include "StuScores.h"
#include "Course.h"
//
/////////////////////////////////////////////////////////////////////////////
// CScoreInput dialog
class CScoreInput : public CDialog
{
// Construction
public:
CScoreInput(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CScoreInput)
enum { IDD = IDD_SCOREINPUT_DIALOG };
CEdit m_ctlScore;
CListCtrl m_listStudent;
CListCtrl m_listExam;
CButton m_btnEnterNext;
CButton m_btnEnter;
CButton m_btnClear;
CString m_CouName;
CString m_score;
CString m_stuName;
CString m_stuNum;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CScoreInput)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
CStuScores *m_pStuScores;
CExam *m_pExam;
CStudents *m_pStudents;
CCourse *m_pCourse;
protected:
// Generated message map functions
//{{AFX_MSG(CScoreInput)
virtual BOOL OnInitDialog();
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnClickListexam(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBtnclear();
afx_msg void OnClickListstudent(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnBtnenter();
afx_msg void OnBtnenternext();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString m_stuExamID;
void setStuList(CString grade,CString CouID);
void setExamList();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCOREINPUT_H__77240E95_E29D_4322_BAE1_87D86BDB963B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -