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