ScoreDlg.cpp
资源名称:school.rar [点击查看]
上传用户:rs600066
上传日期:2017-10-16
资源大小:4788k
文件大小:1k
源码类别:
数据库系统
开发平台:
Visual C++
- // ScoreDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "school.h"
- #include "ScoreDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CScoreDlg dialog
- CScoreDlg::CScoreDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CScoreDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CScoreDlg)
- m_bAbsent = FALSE;
- m_strMakeup = _T("");
- m_strScore = _T("");
- //}}AFX_DATA_INIT
- }
- void CScoreDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CScoreDlg)
- DDX_Check(pDX, IDC_CHECK1, m_bAbsent);
- DDX_Text(pDX, IDC_EDIT_MAKEUP, m_strMakeup);
- DDX_Text(pDX, IDC_EDIT_SCORE, m_strScore);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CScoreDlg, CDialog)
- //{{AFX_MSG_MAP(CScoreDlg)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CScoreDlg message handlers
- void CScoreDlg::OnOK()
- {
- UpdateData();
- CDialog::OnOK();
- }