searchdlg.h

来自「专家系统是研究用解决某专门问题的专家知识来建立人机系统的方法和技术。」· C头文件 代码 · 共 72 行

H
72
字号
//{{AFX_INCLUDES()
#include "datagrid.h"
#include "adodc.h"
//}}AFX_INCLUDES
#if !defined(AFX_SEARCHDLG_H__10E43F34_A919_11D8_9C50_0050BABCDF95__INCLUDED_)
#define AFX_SEARCHDLG_H__10E43F34_A919_11D8_9C50_0050BABCDF95__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SEARCHDLG.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// SEARCHDLG dialog

class SEARCHDLG : public CDialog
{
// Construction
public:
	CString m_id;
	CString m_name;
	CString m_zy;
	SEARCHDLG(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(SEARCHDLG)
	enum { IDD = IDD_DIALOGSEARCH };
	CEdit	m_editzyctl;
	CEdit	m_editnamectl;
	CEdit	m_editidctl;
	CString	m_editid;
	CString	m_editname;
	CString	m_editzy;
	CDataGrid	m_dbgridinfoctl;
	CAdodc	m_adosearch;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(SEARCHDLG)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(SEARCHDLG)
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnChangeEditid();
	afx_msg void OnUpdateEditid();
	afx_msg void OnChangeEditname();
	afx_msg void OnUpdateEditname();
	afx_msg void OnChangeEditzy();
	afx_msg void OnUpdateEditzy();
	afx_msg void OnButtonsearch();
	virtual BOOL OnInitDialog();
	afx_msg void OnWillMoveAdodcsearch(long adReason, long FAR* adStatus, LPDISPATCH pRecordset);
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SEARCHDLG_H__10E43F34_A919_11D8_9C50_0050BABCDF95__INCLUDED_)

⌨️ 快捷键说明

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