MFC图书管理系统亲测可用


C++图书管理系统MFC界面窗口亲测可用,十分简洁。可用于课程设计和毕业设计,文档PPT都有。几百块买的。
资源截图
代码片段和文件信息
// ChangeStudentDataDlg.cpp : implementation file
//

#include “stdafx.h“
#include “student.h“
#include “ChangeStudentDataDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CChangeStudentDataDlg dialog


CChangeStudentDataDlg::CChangeStudentDataDlg(CWnd* pParent /*=NULL*/)
: CDialog(CChangeStudentDataDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CChangeStudentDataDlg)
m_id = _T(““);
m_name = _T(““);
m_english_score = _T(““);
m_chinese_score = _T(““);
m_math_score = _T(““);
//}}AFX_DATA_INIT
}


void CChangeStudentDataDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CChangeStudentDataDlg)
DDX_Text(pDX IDC_STATIC_ID m_id);
DDX_Text(pDX IDC_EDIT_NAME m_name);
DDX_Text(pDX IDC_EDIT_SCORE m_english_score);
DDX_Text(pDX IDC_EDIT_SCORE_CHINESE m_chinese_score);
DDX_Text(pDX IDC_EDIT_SCORE_MATH m_math_score);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CChangeStudentDataDlg CDialog)
//{{AFX_MSG_MAP(CChangeStudentDataDlg)
ON_WM_PAINT()
ON_BN_CLICKED(IDC_STATIC_ID OnStaticId)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CChangeStudentDataDlg message handlers

void CChangeStudentDataDlg::OnPaint() 
{
CPaintDC dc(this); // device context for painting
        m_id = “此学生学号:“+the_StrID;
m_math_score = the_StrScore_Math;
        m_english_score = the_StrScore_English;
m_chinese_score = the_StrScore_Chinese;
m_name = the_StrName;
UpdateData(FALSE);

}

void CChangeStudentDataDlg::OnCancel() 
{
// TODO: Add extra cleanup here

CDialog::OnCancel();
}

void CChangeStudentDataDlg::OnOK() 
{
    UpdateData(TRUE);
the_StrName = m_name;
    the_StrScore_English = m_english_score;
    the_StrScore_Math = m_math_score;
    the_StrScore_Chinese = m_chinese_score;
CDialog::OnOK();
}

void CChangeStudentDataDlg::OnStaticId() 
{
// TODO: Add your control notification handler code here

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-12-10 05:08  MFC-master
     文件        2077  2017-12-10 05:08  MFC-masterChangeStudentDataDlg.cpp
     文件        1618  2017-12-10 05:08  MFC-masterChangeStudentDataDlg.h
     目录           0  2017-12-10 05:08  MFC-masterDebug
     文件       32330  2017-12-10 05:08  MFC-masterDebugCL.read.1.tlog
     文件        1000  2017-12-10 05:08  MFC-masterDebugCL.write.1.tlog
     文件       19595  2017-12-10 05:08  MFC-masterDebugChangeStudentDataDlg.obj
     文件      105619  2017-12-10 05:08  MFC-masterDebugStdAfx.obj
     文件       25453  2017-12-10 05:08  MFC-masterDebugStudentScoreGraphDialog.obj
     文件        2260  2017-12-10 05:08  MFC-masterDebugcl.command.1.tlog
     文件           2  2017-12-10 05:08  MFC-masterDebuglink.command.1.tlog
     文件           2  2017-12-10 05:08  MFC-masterDebuglink.read.1.tlog
     文件           2  2017-12-10 05:08  MFC-masterDebuglink.write.1.tlog
     文件        1036  2017-12-10 05:08  MFC-masterDebug
c.command.1.tlog
     文件        3116  2017-12-10 05:08  MFC-masterDebug
c.read.1.tlog
     文件         430  2017-12-10 05:08  MFC-masterDebug
c.write.1.tlog
     文件      168009  2017-12-10 05:08  MFC-masterDebugstudent.exe
     文件           2  2017-12-10 05:08  MFC-masterDebugstudent.exe.embed.manifest
     文件          68  2017-12-10 05:08  MFC-masterDebugstudent.exe.embed.manifest.res
     文件      296956  2017-12-10 05:08  MFC-masterDebugstudent.ilk
     文件          74  2017-12-10 05:08  MFC-masterDebugstudent.lastbuildstate
     文件        1608  2017-12-10 05:08  MFC-masterDebugstudent.log
     文件       27185  2017-12-10 05:08  MFC-masterDebugstudent.obj
     文件     5503452  2017-12-10 05:08  MFC-masterDebugstudent.pch
     文件      476160  2017-12-10 05:08  MFC-masterDebugstudent.pdb
     文件        7956  2017-12-10 05:08  MFC-masterDebugstudent.res
     文件           0  2017-12-10 05:08  MFC-masterDebugstudent.unsuccessfulbuild
     文件         713  2017-12-10 05:08  MFC-masterDebugstudent.vcxprojResolveAssemblyReference.cache
     文件           0  2017-12-10 05:08  MFC-masterDebugstudent.write.1.tlog
     文件      148852  2017-12-10 05:08  MFC-masterDebugstudentDlg.obj
     文件         210  2017-12-10 05:08  MFC-masterDebugstudent_manifest.rc
............此处省略41个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)