資源簡介
MFC 學(xué)生管理系統(tǒng)
代碼片段和文件信息
//?DrawDlg.cpp?:?實(shí)現(xiàn)文件
//
#include?“stdafx.h“
#include?“MyStudent.h“
#include?“DrawDlg.h“
//?CDrawDlg?對話框
IMPLEMENT_DYNAMIC(CDrawDlg?CDialog)
CDrawDlg::CDrawDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CDrawDlg::IDD?pParent)
{
m_strtitle?=“成績分布圖“;
m_nMode?=?0;
}
CDrawDlg::~CDrawDlg()
{
}
void?CDrawDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
}
BOOL?CDrawDlg::OnInitDialog()
{
CDialog::OnInitDialog();
SetWindowText(m_strtitle);
for(int?i?=?0;i theGraph.AddData(m_uData[i]);
theGraph.SetDrawMode(m_nMode);
return?TRUE;
}
BEGIN_MESSAGE_MAP(CDrawDlg?CDialog)
ON_WM_PAINT()
END_MESSAGE_MAP()
//?CDrawDlg?消息處理程序
void?CDrawDlg::OnPaint()
{
CPaintDC?dc(this);?//?device?context?for?painting
UpdateWindow();
CRect?rc;
GetClientRect(rc);
theGraph.InitGraph(rctheGraph.GetDrawMode());
theGraph.SetDrawRect(rc);
theGraph.Draw(&dcTRUE);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-03-16?22:57??MyStudent\
?????目錄???????????0??2016-03-16?22:56??MyStudent\Backup\
?????文件?????????883??2012-07-22?15:18??MyStudent\Backup\MyStudent.sln
?????文件???????52224??2012-07-29?10:51??MyStudent\Backup\MyStudent.v12.suo
?????目錄???????????0??2016-03-16?22:57??MyStudent\Debug\
?????文件?????????730??2016-03-16?22:57??MyStudent\Debug\MyStudent.log
?????文件?????????985??2012-07-25?11:11??MyStudent\DrawDlg.cpp
?????文件?????????575??2012-07-25?10:39??MyStudent\DrawDlg.h
?????文件????????2468??2012-07-25?16:39??MyStudent\MainFrm.cpp
?????文件?????????840??2012-07-24?14:21??MyStudent\MainFrm.h
?????文件????????1506??2012-07-22?00:11??MyStudent\MyAddCourseDlg.cpp
?????文件?????????566??2012-07-22?00:00??MyStudent\MyAddCourseDlg.h
?????文件????????1264??2012-07-21?23:09??MyStudent\MyAddScoreDlg.cpp
?????文件?????????542??2012-07-21?22:55??MyStudent\MyAddScoreDlg.h
?????文件????????2003??2012-07-22?02:34??MyStudent\MyAddStudentDlg.cpp
?????文件?????????644??2012-07-22?02:33??MyStudent\MyAddStudentDlg.h
?????文件????????5054??2012-07-28?17:42??MyStudent\MyGraph.cpp
?????文件?????????792??2012-07-25?11:11??MyStudent\MyGraph.h
?????文件????????6313??2012-07-29?14:36??MyStudent\MyOperateView.cpp
?????文件????????1145??2012-07-26?10:45??MyStudent\MyOperateView.h
?????文件????????1877??2012-07-27?10:17??MyStudent\MyQueryCourseDlg.cpp
?????文件?????????705??2012-07-25?22:30??MyStudent\MyQueryCourseDlg.h
?????文件????????1746??2012-07-27?10:16??MyStudent\MyQueryScoreDlg.cpp
?????文件?????????697??2012-07-25?22:19??MyStudent\MyQueryScoreDlg.h
?????文件????????1943??2012-07-28?23:23??MyStudent\MyQueryStudentDlg.cpp
?????文件?????????725??2012-07-25?22:19??MyStudent\MyQueryStudentDlg.h
?????文件????????1323??2012-07-27?09:09??MyStudent\MyQueryTableDlg.cpp
?????文件?????????544??2012-07-27?09:03??MyStudent\MyQueryTableDlg.h
?????文件????????9448??2012-07-29?11:01??MyStudent\MyShowView.cpp
?????文件????????1461??2012-07-26?10:14??MyStudent\MyShowView.h
?????文件?????????511??2012-07-19?05:01??MyStudent\MySplitterWnd.cpp
............此處省略38個文件信息
- 上一篇:C++插入音樂教程
- 下一篇:現(xiàn)代編譯原理-c語言描述虎書
評論
共有 條評論