📄 otherdlg.cpp
字号:
// OtherDlg.cpp : implementation file
//
#include "stdafx.h"
#include "book.h"
#include "OtherDlg.h"
#include "InBookDlg.h"
#include "LendBookDlg.h"
#include "ReturnBookDlg.h"
#include "OverdutDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COtherDlg dialog
COtherDlg::COtherDlg(CWnd* pParent /*=NULL*/)
: CDialog(COtherDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(COtherDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void COtherDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(COtherDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(COtherDlg, CDialog)
//{{AFX_MSG_MAP(COtherDlg)
ON_BN_CLICKED(IDC_BUTTON4, OnC)
ON_BN_CLICKED(IDC_BUTTON1, OnLend)
ON_BN_CLICKED(IDC_BUTTON2, OnReturn)
ON_BN_CLICKED(IDC_BUTTON3, OnOver)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// COtherDlg message handlers
/*函数功能:调入查询对话框*/
void COtherDlg::OnC()
{
// TODO: Add your control notification handler code here
CInBookDlg dlg;
dlg.DoModal();
}
/*函数功能:调入插入对话框*/
void COtherDlg::OnLend()
{
// TODO: Add your control notification handler code here
CLendBookDlg dlg;
dlg.DoModal();
}
/*函数功能:调入还书对话框*/
void COtherDlg::OnReturn()
{
// TODO: Add your control notification handler code here
CReturnBookDlg dlg;
dlg.DoModal();
}
/*函数功能:调入检查对话框*/
void COtherDlg::OnOver()
{
// TODO: Add your control notification handler code here
COverdutDlg dlg;
dlg.DoModal();
}
BOOL COtherDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
//CODBCFieldInfo Info;
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -