📄 finddddlg.cpp
字号:
// FindDDDlg.cpp : implementation file
//
#include "stdafx.h"
#include "LLL.h"
#include "FindDDDlg.h"
#include "BorrowDlg.h"
#include "UserSet.h"
#include "MyLibrarySet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFindDDDlg dialog
CFindDDDlg::CFindDDDlg(CWnd* pParent /*=NULL*/)
: CDialog(CFindDDDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CFindDDDlg)
m_ID = 0;
m_number = _T("");
m_type = _T("");
m_name = _T("");
m_auther = _T("");
m_editer = _T("");
m_inlibrary = _T("");
m_borrowman = _T("");
m_useful = false;
//}}AFX_DATA_INIT
}
void CFindDDDlg::Usess()
{
m_useful = true;
}
void CFindDDDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFindDDDlg)
DDX_Text(pDX, IDC_EDIT2, m_ID);
DDX_Text(pDX, IDC_EDIT3, m_number);
DDX_Text(pDX, IDC_EDIT4, m_type);
DDX_Text(pDX, IDC_EDIT9, m_name);
DDX_Text(pDX, IDC_EDIT5, m_auther);
DDX_Text(pDX, IDC_EDIT6, m_editer);
DDX_Text(pDX, IDC_EDIT7, m_inlibrary);
DDX_Text(pDX, IDC_EDIT8, m_borrowman);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFindDDDlg, CDialog)
//{{AFX_MSG_MAP(CFindDDDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFindDDDlg message handlers
BOOL CFindDDDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
if (m_useful == true)
{
GetDlgItem(IDOK)->EnableWindow(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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -