📄 dperson.h
字号:
#if !defined(AFX_DPERSON_H__3C2250B7_74B0_46CB_9827_BABE1B8B52BE__INCLUDED_)
#define AFX_DPERSON_H__3C2250B7_74B0_46CB_9827_BABE1B8B52BE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DPerson.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDPerson dialog
#include "BaseEdit.h"
#include "BaseDateTimeCtrl.h"
#include "RxRecordset.h" // Added by ClassView
class CDPerson : public CDialog
{
// Construction
public:
void SetID(CString sID);
CString m_sID;
int AddOrChange;
void Display(CString sField,CString sValue);
void Enabled(bool bEnabled);
void clear();
CDPerson(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDPerson)
enum { IDD = IDD_DIAPerson };
CBaseEdit m_EdtMoney;
CBaseEdit m_EdtName;
CBaseEdit m_EdtLName;
CBaseEdit m_EdtID;
CBaseEdit m_EdtBusiess;
CBaseDateTimeCtrl m_DtDate;
CButton m_ButUndo;
CButton m_ButSave;
CButton m_ButDele;
CButton m_ButChange;
CButton m_ButAdd;
CButton m_ButExit;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDPerson)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDPerson)
virtual void OnOK();
afx_msg void OnButadd();
afx_msg void OnBUTChange();
afx_msg void OnButdele();
afx_msg void OnBUTUndo();
afx_msg void OnButexit();
afx_msg void OnBUTSave();
virtual BOOL OnInitDialog();
afx_msg void OnChangeEDTName();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
RxRecordset rst;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DPERSON_H__3C2250B7_74B0_46CB_9827_BABE1B8B52BE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -