addpersondlg.h

来自「access dao 数据库」· C头文件 代码 · 共 61 行

H
61
字号
#pragma once
#include "XPButton.h"
#include "afxwin.h"
#include "afxdao.h"
#include "afxcmn.h"

// addpersondlg 对话框

class addpersondlg : public CDialog
{
	DECLARE_DYNAMIC(addpersondlg)

public:
	addpersondlg(CWnd* pParent = NULL);   // 标准构造函数
	//addpersondlg(CWnd* pParent = NULL);   // 标准构造函数
	
	virtual ~addpersondlg();

// 对话框数据
	enum { IDD = IDD_DIALOG3 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
CDaoDatabase kaoqingbu;
	CString addpersonname;
	CString addpersoncode;
	CXPButton addpersonokbt;
	CXPButton addpersoncancelbt;
	virtual BOOL OnInitDialog();
	//afx_msg void OnBnClickedButton13();
	afx_msg void OnBnClickedButton1();
	CEdit addpersoncodeet;
	int index9;
	
protected:
//	virtual void OnOK();
public:
	afx_msg void OnBnClickedButton13();
	CEdit addpersonnameet;
	int focus;
	afx_msg void OnBnSetfocusButton1();
	afx_msg void OnBnKillfocusButton1();
	afx_msg void OnBnSetfocusButton13();
	afx_msg void OnBnKillfocusButton13();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	CXPButton modinamebt;
	CXPButton nomodinamebt;
	CListCtrl list;
	int refreshlist(void);
protected:
	virtual void OnCancel();
public:
	afx_msg void OnBnClickedButton2();
	afx_msg void OnNMDblclkList2(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnBnClickedButton15();
	afx_msg void OnEnChangeEdit1();
};

⌨️ 快捷键说明

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