资源描述:
《图书出版管理系统代码》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、//闲书出版管理系统View.cpp:implementationoftheCMyViewclass//#include"stdafx.h"includen图书出版管理系统.h"include"MyDlgl.h”include"图书出版管理系统Set.h"include"图书出版管理系统Doc.h’1includen图书出版管理系统View.h”#ifdef_DEBUG#definenewDEBUG_NEW#undefTHlS一FILEstaticcharTHIS_FILE[]=_FILE_;#endifllllllllllllllllllfllllllflllll
2、lHHIfllllllHIIIimiHIHIIIIHHIlfllHIH//CMyViewIMPLEMENT_DYNCREATE(CMyView,CRecordView)BEGIN_MESSAGE一MAP(CMyView,CRecordView)//{{AFX_MSG_MAP(CMyView)ON_BN_CLICKED(IDC_BUTTONADDNEW,OnButtonaddnew)ON_BN_CLICKED(IDC_BUTTONDELETE,OnButtondelete)ON_BN_CLICKED(IDC_BUTTONPDATE,OnButto叩date)ON_BN
3、_CLICKED(IDC_BUTTONFIRSXOnButtonfirst)ON_BN_CLICKED(1DC_BUTTONNEXT,OnButtonnext)ON_BN_CLICKED(IDC_BUTTONPREV,OnButto叩rev)ON_BN_CLICKED(IDC_BUTTONLAST,OnButtonlast)ON_BN_CLICKED(IDC_RADIO2,OnRadio2)ON_BN_CLICKED(IDC_RADIO1,OnRadiol)//}}AFX_MSG_MAP//StandardprintingcommandsON_COMMAND(ID_
4、FILE_PRINT,CRecordView::OnFilePrint)ON_COMMAND(ID_FILE_PRINT_DIRECT,CRecordView::OnFiIePrint)ON_COMMAND(ID_FILE_PRINT_PREVIEW,CRecordView::OnFileFrintPreview)END_MESSAGE_MAP()IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIHIIIIH//CMyViewconstruction/destructionCMyV
5、iew::CMyView():CRecordView(CMyView::IDD)//{{AFX_DATA_INIT(CMyView)m_pSet=NULL;//}}AFX_DATAJNIT//TODO:addconstructioncodehereCMyView::〜CMyView(){}voidCMyView::DoDataExchange(CDataExchange*pDX){CRecordView::DoDataExchange(pDX);//{{AFX_DATA_MAP(CMyView)DDX_FieldText(pDX,IDC_EDIT_BH,m_pSet
6、->m_bookbh,m_pSet);DDX_FieldText(pDX,IDC_EDITAUTHER,m_pSet->m_AUTHER,m_pSet);DDX_FieldText(pDX,IDC_EDITBOOKADDRESS,m_pSet->m_bookpubaddress,m_pSet);DDX_FieldText(pDX,IDC_EDITBOOKNAME,m_pSet->m_bookname,m_pSet);DDX_FieldText(pDX,IDC_EDITBOOKPRICE,m_pSet->m_bookprice,m_pSet);DDX_FieldTex
7、t(pDX,IDC_EDITFNH,m_pSet->m_bookfnh,m_pSet);DDX_FieldText(pDX,IDC_EDITPUBNAME,m_pSet->m_bookpubsher,m_pSet);//}}AFX_DATA_MAPBOOLCMyView::PreCreateWindow(CREATESTRUCT&cs){//TODO:ModifytheWindowclassorstylesherebymodifying//theCREATESTRUCTcsreturnCRecordView::PreCreateWindow(cs);}voidC