📄 recorddlg.h
字号:
#if !defined(AFX_RECORDDLG_H__D0D79536_0402_4EBD_ADBC_EC6FB608EB5B__INCLUDED_)
#define AFX_RECORDDLG_H__D0D79536_0402_4EBD_ADBC_EC6FB608EB5B__INCLUDED_
#include "Property6.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RecordDLg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRecordDLg dialog
#include "Property1.h"
#include "Property2.h"
#include "Property3.h"
#include "Property4.h"
#include "Property5.h"
#include "Property6.h"
class CRecordDLg : public CDialog
{
// Construction
public:
CRecordDLg(CWnd* pParent = NULL); // standard constructor
CString TimeToString(COleDateTime ct);
// Dialog Data
//{{AFX_DATA(CRecordDLg)
enum { IDD = IDD_RECOEDDLG };
CShadeButtonST m_btn4;
CShadeButtonST m_btn3;
CShadeButtonST m_btn2;
CShadeButtonST m_btn1;
CTreeCtrl m_tree;
//}}AFX_DATA
public:
CImageList ImgTree;
HTREEITEM hUnDivide;
int DeviceRecordIndex; //指向最后一条DEVICE记录,用于判断是否有新设备
//定义数据集
_RecordsetPtr pDeviceRecordset;
_RecordsetPtr pDepartmentRecordset;
_RecordsetPtr m_pRecordset;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRecordDLg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CRecordDLg)
virtual BOOL OnInitDialog();
afx_msg void OnClickTree1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnInquire();
afx_msg void OnRefresh();
afx_msg void OnDelete();
afx_msg void OnClear();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CProperty1 m_Prop1;
CProperty2 m_Prop2;
CProperty3 m_Prop3;
CProperty4 m_Prop4;
CProperty5 m_Prop5;
CProperty6 m_Prop6;
CPropertySheet m_sheet;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RECORDDLG_H__D0D79536_0402_4EBD_ADBC_EC6FB608EB5B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -