⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 finddlg.cpp

📁 本程序实现了vc++访问DAO数据库的功能,对于操作数据库有很大的启发的.
💻 CPP
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -