studedit.h
来自「用MFC和Access开发的数据库系统」· C头文件 代码 · 共 65 行
H
65 行
#if !defined(AFX_STUDEDIT_H__740A72F1_8DB7_404F_A86B_1C2AC9CCA929__INCLUDED_)
#define AFX_STUDEDIT_H__740A72F1_8DB7_404F_A86B_1C2AC9CCA929__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// STUDEDIT.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// STUDEDIT dialog
class STUDEDIT : public CDialog
{
// Construction
public:
void ResetCtrlValueStud();
BOOL OpenRecordSet(_RecordsetPtr &recPtr, CString &strSQL);
void SetFileToDb(_RecordsetPtr &recPtr, CString strPath);
CString m_strPhotoPath;
//声明ADO记录集
_RecordsetPtr m_pRecordset;
public:
STUDEDIT(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(STUDEDIT)
enum { IDD = IDD_EDIT_STUD };
CString m_bopt;
CString m_boid;
CString m_usptno;
CString m_usadr;
CString m_usname;
CString m_usphone;
CString m_uspt;
CString m_uswps;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(STUDEDIT)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(STUDEDIT)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnPhoto();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDEDIT_H__740A72F1_8DB7_404F_A86B_1C2AC9CCA929__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?