📄 数据库adodlg.h
字号:
// 数据库ADODlg.h : header file
//
#if !defined(AFX_ADODLG_H__3A36C685_93C4_4C28_9649_4E1157014CF7__INCLUDED_)
#define AFX_ADODLG_H__3A36C685_93C4_4C28_9649_4E1157014CF7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include"AddDialog.h"
#include"FindDialog.h"
#include"OrderDialog.h"
class CADODlgAutoProxy;
/////////////////////////////////////////////////////////////////////////////
// CADODlg dialog
extern CADOApp theApp;
class CADODlg : public CDialog
{
DECLARE_DYNAMIC(CADODlg);
friend class CADODlgAutoProxy;
// Construction
public:
BOOL catcherror;
BOOL OnIniting;
_bstr_t strSQL;
CString SelectID;
_RecordsetPtr MySet;
_ConnectionPtr m_DBCnt;
void Refresh();
CADODlg(CWnd* pParent = NULL); // standard constructor
virtual ~CADODlg();
// Dialog Data
//{{AFX_DATA(CADODlg)
enum {IDD=IDD_ADO_DIALOG };
CListCtrl m_basic;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CADODlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CADODlgAutoProxy* m_pAutoProxy;
HICON m_hIcon;
BOOL CanExit();
// Generated message map functions
//{{AFX_MSG(CADODlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClose();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnButtonFind();
afx_msg void OnButtonAdd();
afx_msg void OnButtonOrder();
afx_msg void OnButtonDelet();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDestroy();
afx_msg void OnButtonShowall();
afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADODLG_H__3A36C685_93C4_4C28_9649_4E1157014CF7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -