function.cpp

来自「用MFC和Access开发的数据库系统」· C++ 代码 · 共 61 行

CPP
61
字号
// Function.cpp : implementation file
//

#include "stdafx.h"
#include "图书馆系统.h"
#include "Function.h"

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

/////////////////////////////////////////////////////////////////////////////
// CFunction dialog


CFunction::CFunction(CWnd* pParent /*=NULL*/)
	: CDialog(CFunction::IDD, pParent)
{
	//{{AFX_DATA_INIT(CFunction)
	m_function = _T("");
	m_introduce = _T("");
	//}}AFX_DATA_INIT
}


void CFunction::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFunction)
	DDX_Text(pDX, IDC_EDIT1, m_function);
	DDX_Text(pDX, IDC_EDIT2, m_introduce);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CFunction, CDialog)
	//{{AFX_MSG_MAP(CFunction)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFunction message handlers

BOOL CFunction::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	m_introduce="该系统采用单文档格式,运用多视技术显示树和列表视图。系统综合考虑了数据库中\
	各表之间关联,同时结合文档和位图操作显示用户的照片。";
	m_function="1、查看图书详细信息和图书借阅情况(可双击列表所列出的图书) \
	2、编辑图书信息(通过菜单按钮) 3、编辑借阅人信息(通过菜单输入正确信息后即可编辑) \
	4、查询图书信息(通过菜单按钮) 5、查询借阅人信息(输入借阅ID,可通过按钮查询借阅情况) \
	6、借书、还书、续借、报失(通过菜单按钮输入指定信息进行操作)7、帮助。";
	UpdateData(FALSE);
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?