📄 connectdbdlg.h
字号:
// connectDBDlg.h : header file
//
#if !defined(AFX_CONNECTDBDLG_H__1F0713B2_4D30_4109_94AC_611EE12051EE__INCLUDED_)
#define AFX_CONNECTDBDLG_H__1F0713B2_4D30_4109_94AC_611EE12051EE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Picture.h" // Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CConnectDBDlg dialog
class CConnectDBDlg : public CDialog
{
// Construction
public:
BOOL checkInput();
CConnectDBDlg(CWnd* pParent = NULL); // standard constructor
BOOL m_bSuccess;
_RecordsetPtr m_pRecordset;
CPicture m_Pic;
VARIANT varBLOB;
CRect showRect;
_variant_t BLOB;
// Dialog Data
//{{AFX_DATA(CConnectDBDlg)
enum { IDD = IDD_CONNECTDB_DIALOG };
CStatic m_pic;
CListCtrl m_userlist;
CString m_name;
CString m_addr;
CString m_tel;
CString m_sex;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CConnectDBDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
int mof_flag;
private:
void showLists();
int type;
CString currentID;
// Generated message map functions
//{{AFX_MSG(CConnectDBDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAddBtn();
virtual void OnCancel();
afx_msg void OnSaveBtn();
afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeleteBtn();
afx_msg void OnMotifyBtn();
afx_msg void OnPic();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CONNECTDBDLG_H__1F0713B2_4D30_4109_94AC_611EE12051EE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -