📄 recordnew.h
字号:
#if !defined(AFX_RECORDNEW_H__FD1B9EEC_AA94_45B6_B37E_73DF50A133D2__INCLUDED_)
#define AFX_RECORDNEW_H__FD1B9EEC_AA94_45B6_B37E_73DF50A133D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RecordNew.h : header file
//
#include "Picture.h"
/////////////////////////////////////////////////////////////////////////////
// CRecordNew dialog
class CRecordNew : public CDialog
{
// Construction
public:
CRecordNew(CWnd* pParent = NULL); // standard constructor
// 定义ADO连接、命令、记录集变量指针
_ConnectionPtr m_pConnection;
_RecordsetPtr m_pRecordset;
CString m_strPhotoPath1,m_strPhotoPath2,m_strPhotoPath3;
CPicture m_Pic;
int nSize;
IPicture * pPicture;
IStream * pStream;
CString GName[100],GTime[100],GItem[100],GNote[100];
int RecordNum;
// Dialog Data
//{{AFX_DATA(CRecordNew)
enum { IDD = IDD_RECORDNEW };
CListCtrl m_list;
CDateTimeCtrl m_newtime;
CString m_newitem;
CString m_newname;
CString m_newnote;
CString m_picture1;
CString m_picture2;
CString m_picture3;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRecordNew)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CRecordNew)
afx_msg void OnSave();
afx_msg void OnNewpicture1button();
afx_msg void OnNewpicture2button();
afx_msg void OnNewpicture3button();
virtual BOOL OnInitDialog();
afx_msg void OnRewrite();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RECORDNEW_H__FD1B9EEC_AA94_45B6_B37E_73DF50A133D2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -