finddlg.cpp
来自「本程序实现了vc++访问DAO数据库的功能,对于操作数据库有很大的启发的.」· C++ 代码 · 共 69 行
CPP
69 行
// FindDlg.cpp : implementation file
//
#include "stdafx.h"
#include "hr.h"
#include "FindDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFindDlg dialog
CFindDlg::CFindDlg(CWnd* pParent /*=NULL*/)
: CDialog(CFindDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CFindDlg)
m_strCompany = _T("");
m_bDate = TRUE;
m_bDepartment = TRUE;
m_strDepartment = _T("");
m_bDuty = TRUE;
m_strDuty = _T("");
m_bName = TRUE;
m_strName = _T("");
m_strDate = _T("");
//}}AFX_DATA_INIT
}
void CFindDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFindDlg)
DDX_CBString(pDX, IDC_COMPANY_COMBO, m_strCompany);
DDX_Check(pDX, IDC_DATE_CHECK, m_bDate);
DDX_Check(pDX, IDC_DEPARTMENT_CHECK, m_bDepartment);
DDX_CBString(pDX, IDC_DEPARTMENT_COMBO, m_strDepartment);
DDX_Check(pDX, IDC_DUTY_CHECK, m_bDuty);
DDX_Text(pDX, IDC_DUTY_EDIT, m_strDuty);
DDX_Check(pDX, IDC_NAME_CHECK, m_bName);
DDX_Text(pDX, IDC_NAME_EDIT, m_strName);
DDX_Text(pDX, IDC_DATE_EDIT, m_strDate);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFindDlg, CDialog)
//{{AFX_MSG_MAP(CFindDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFindDlg message handlers
BOOL CFindDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
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 + -
显示快捷键?