📄 dteaildlg.h
字号:
#if !defined(AFX_DTEAILDLG_H__A6D6ADE9_4BFE_4805_9AD1_D57A2CFD646D__INCLUDED_)
#define AFX_DTEAILDLG_H__A6D6ADE9_4BFE_4805_9AD1_D57A2CFD646D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DteailDlg.h : header file
//
#include "NewEdit.h"
#include "MyRecordset.h"
/////////////////////////////////////////////////////////////////////////////
// DteailDlg dialog
class DteailDlg : public CDialog
{
// Construction
public:
UINT Find(CString str,int ID,bool &re);
BOOL isAppend;
BOOL isEdit;
void EditRecord(bool used);
void DelRecord();
void NewRecord();
void SetEditReadOnly(BOOL isReadOnly);
bool IsLastRecord();
bool IsFirstRecord();
void SetValue();
void ClearEditText();
int GetNUM();
void GetValue();
void ShowDetail(int nIndex);
DteailDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DteailDlg)
enum { IDD = IDD_DETAIL };
CNewEdit m_editcode;
CNewEdit m_editmobile;
CNewEdit m_editposition;
CNewEdit m_editcompany;
CNewEdit m_editsex;
CNewEdit m_editrelation;
CNewEdit m_edittelphone;
CNewEdit m_editaddress;
CNewEdit m_editname;
CNewEdit m_editintroduction;
CNewEdit m_editemail;
CNewEdit m_editage;
int m_age;
CString m_email;
CString m_introduction;
CString m_position;
CString m_mobile;
CString m_name;
CString m_telphone;
CString m_address;
CString m_relation;
CString m_sex;
CString m_company;
CString m_code;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DteailDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
CMyRecordset* m_pSet;
CDatabase* m_database;
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DteailDlg)
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CBrush m_brush;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DTEAILDLG_H__A6D6ADE9_4BFE_4805_9AD1_D57A2CFD646D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -