资源简介
教材管理系统 代码,含SQL文件,不是自己写的,分享一下,看哪位有用吧
代码片段和文件信息
// DeptDlg.cpp : 实现文件
//
#include “stdafx.h“
#include “TeachMaterSystem.h“
#include “DeptDlg.h“
// CDeptCollegePage2 对话框
IMPLEMENT_DYNAMIC(CDeptCollegePage2 CDialog)
CDeptCollegePage2::CDeptCollegePage2(int operMode /*=OM_ADD*/ CWnd* pParent /*=NULL*/)
: CDialog(CDeptCollegePage2::IDD pParent)
m_OperationMode(operMode)
m_strColgId(_T(““))
m_strColgName(_T(““))
{
}
CDeptCollegePage2::~CDeptCollegePage2()
{
}
void CDeptCollegePage2::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX IDC_EDIT_COLGID m_strColgId);
DDX_Text(pDX IDC_EDIT_COLGNAME m_strColgName);
}
BEGIN_MESSAGE_MAP(CDeptCollegePage2 CDialog)
ON_BN_CLICKED(IDC_BUTTON_ADDORDELETE &CDeptCollegePage2::OnBnClickedButtonAddordelete)
ON_BN_CLICKED(IDC_BUTTON_MODIFY &CDeptCollegePage2::OnBnClickedButtonModify)
ON_BN_CLICKED(IDC_BUTTON_FLUSH &CDeptCollegePage2::OnBnClickedButtonFlush)
ON_BN_CLICKED(IDC_BUTTON_RETURN &CDeptCollegePage2::OnBnClickedButtonReturn)
END_MESSAGE_MAP()
// CDeptCollegePage2 消息处理程序
// CDeptCollegePage 对话框
IMPLEMENT_DYNAMIC(CDeptCollegePage CDialog)
CDeptCollegePage::CDeptCollegePage(CWnd* pParent /*=NULL*/)
: CDialog(CDeptCollegePage::IDD pParent)
m_PageA(OM_ADD)
m_PageM(OM_MODIFY)
{
}
CDeptCollegePage::~CDeptCollegePage()
{
}
void CDeptCollegePage::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX IDC_TAB m_Tab);
DDX_Control(pDX IDC_LIST m_List);
}
BEGIN_MESSAGE_MAP(CDeptCollegePage CDialog)
ON_NOTIFY(TCN_SELCHANGE IDC_TAB &CDeptCollegePage::OnTcnSelchangeTab)
ON_NOTIFY(LVN_ITEMCHANGED IDC_LIST &CDeptCollegePage::OnLvnItemchangedList)
END_MESSAGE_MAP()
// CDeptCollegePage 消息处理程序
// CDeptProfessionPage2 对话框
IMPLEMENT_DYNAMIC(CDeptProfessionPage2 CDialog)
CDeptProfessionPage2::CDeptProfessionPage2(int operMode /*=OM_ADD*/ CWnd* pParent /*=NULL*/)
: CDialog(CDeptProfessionPage2::IDD pParent)
m_OperationMode(operMode)
m_strPrfsId(_T(““))
m_strPrfsName(_T(““))
m_strAppeColg(_T(““))
m_nEducYears(4)
{
}
CDeptProfessionPage2::~CDeptProfessionPage2()
{
}
void CDeptProfessionPage2::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX IDC_EDIT_PRFSID m_strPrfsId);
DDX_Text(pDX IDC_EDIT_PRFSNAME m_strPrfsName);
DDX_CBString(pDX IDC_COMBO_APPECOLG m_strAppeColg);
DDX_Text(pDX IDC_EDIT_EDUCYEARS m_nEducYears);
DDV_MinMaxUInt(pDX m_nEducYears 1 6);
}
BEGIN_MESSAGE_MAP(CDeptProfessionPage2 CDialog)
ON_BN_CLICKED(IDC_BUTTON_MODIFY &CDeptProfessionPage2::OnBnClickedButtonModify)
ON_BN_CLICKED(IDC_BUTTON_ADDORDELETE &CDeptProfessionPage2::OnBnClickedButtonAddordelete)
ON_BN_CLICKED(IDC_BUTTON_FLUSH &CDeptProfessionPage2::OnBnClickedButtonFlush)
ON_BN_CLICKED(IDC_BUTTON_RETURN &CDeptProfessionPage2::OnBnClickedButtonReturn)
END_MESSAGE_MAP()
// CDeptProfessionPage2 消息处理程序
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 819 2008-05-27 12:04 TeachMaterSystem\Constant.h
文件 18776 2008-05-31 13:39 TeachMaterSystem\DeptDlg.cpp
文件 5396 2008-05-19 13:58 TeachMaterSystem\DeptDlg.h
文件 10307 2008-06-14 15:34 TeachMaterSystem\GiveCourseDlg.cpp
文件 1959 2008-05-20 18:02 TeachMaterSystem\GiveCourseDlg.h
文件 2909 2008-05-31 14:12 TeachMaterSystem\include\AdoConn.cpp
文件 1413 2008-05-31 14:06 TeachMaterSystem\include\AdoConn.h
文件 1123 2008-05-31 12:44 TeachMaterSystem\include\MyComboBox.cpp
文件 816 2008-05-31 12:27 TeachMaterSystem\include\MyComboBox.h
文件 173 2008-05-06 22:11 TeachMaterSystem\include\MyLib.h
文件 2768 2008-05-31 12:44 TeachMaterSystem\include\MyListCtrl.cpp
文件 1410 2008-05-31 12:27 TeachMaterSystem\include\MyListCtrl.h
文件 1277 2008-05-10 17:11 TeachMaterSystem\include\MyTabCtrl.cpp
文件 1105 2008-05-14 14:42 TeachMaterSystem\include\MyTabCtrl.h
文件 631 2008-05-07 15:26 TeachMaterSystem\InfoDeptCollegePage3.cpp
文件 1806 2008-04-12 10:22 TeachMaterSystem\MainFrm.cpp
文件 655 2008-04-12 10:22 TeachMaterSystem\MainFrm.h
文件 5341 2008-05-31 13:39 TeachMaterSystem\PressDlg.cpp
文件 1544 2008-05-10 23:33 TeachMaterSystem\PressDlg.h
文件 6289 2008-05-31 13:39 TeachMaterSystem\ProviderDlg.cpp
文件 1689 2008-05-21 11:12 TeachMaterSystem\ProviderDlg.h
文件 4124 2008-04-12 10:22 TeachMaterSystem\ReadMe.txt
文件 21630 2005-11-11 22:45 TeachMaterSystem\res\TeachMaterSystem.ico
文件 372 2008-04-12 10:22 TeachMaterSystem\res\TeachMaterSystem.rc2
文件 1078 2005-11-11 22:44 TeachMaterSystem\res\TeachMaterSystemDoc.ico
文件 1078 2005-11-11 22:45 TeachMaterSystem\res\Toolbar.bmp
文件 9080 2008-06-14 16:41 TeachMaterSystem\resource.h
文件 7740 2008-05-31 13:39 TeachMaterSystem\SelectCourseDlg.cpp
文件 1255 2008-05-21 12:50 TeachMaterSystem\SelectCourseDlg.h
文件 147 2008-04-12 10:22 TeachMaterSystem\stdafx.cpp
............此处省略39个文件信息
评论
共有 条评论