maindlg.h

来自「通讯录」· C头文件 代码 · 共 65 行

H
65
字号
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_MAINDLG_H__703DEBDE_4CC2_4D9F_A32A_A49AF1E4CCDE__INCLUDED_)
#define AFX_MAINDLG_H__703DEBDE_4CC2_4D9F_A32A_A49AF1E4CCDE__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMainDlg dialog

class CMainDlg : public CDialog
{
// Construction
public:
	CString m_purview;
	CString m_name;
	_ConnectionPtr m_pCon;
	_RecordsetPtr m_pSet;
	_CommandPtr m_pCmd;
	CMainDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CMainDlg)
	enum { IDD = IDD_DIALOG_MAIN };
	CButton	m_manage;
	CDataGrid	m_DataGrid;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMainDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonDelete();
	afx_msg void OnButtonEdit();
	afx_msg void OnButtonUpdate();
	afx_msg void OnButtonQuery();
	afx_msg void OnButtonExit();
	afx_msg void OnMenuLogon();
	afx_msg void OnMenuLogin();
	afx_msg void OnMenuManageuser();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MAINDLG_H__703DEBDE_4CC2_4D9F_A32A_A49AF1E4CCDE__INCLUDED_)

⌨️ 快捷键说明

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