⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 detaildlg.h

📁 利用CJ60库创建界面
💻 H
字号:
#if !defined(AFX_DETAILDLG_H__75B682F8_CB80_4177_8735_9D1F1D83E015__INCLUDED_)
#define AFX_DETAILDLG_H__75B682F8_CB80_4177_8735_9D1F1D83E015__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DetailDlg.h : header file
//
typedef struct{
	int id;
	int type;
	char name[20];
	int  parentid;
}_locationdb;
/////////////////////////////////////////////////////////////////////////////
// CDetailDlg dialog

class CDetailDlg : public CDialog
{
// Construction
public:
	void ChangeStatus(BOOL status);
	BOOL m_bAddnew;
	CDetailDlg(CWnd* pParent = NULL);   // standard constructor

	CAdoRecordSet *m_pRecordSet;

	CList<_locationdb,_locationdb&> m_locationlist;

// Dialog Data
	//{{AFX_DATA(CDetailDlg)
	enum { IDD = IDD_DIALOG_INPUT };
	CEdit	m_NetcardCtrl;
	CEdit	m_VideocardCtrl;
	CEdit	m_MonitorCtrl;
	CEdit	m_MemCtrl;
	CEdit	m_HarddiskCtrl;
	CEdit	m_CpuCtrl;
	CComboBox	m_typeCmb;
	CComboBox	m_statusCmb;
	CComboBox	m_roomCmb;
	CComboBox	m_areaCmb;
	CButton	m_preBtn;
	CButton	m_nextBtn;
	CButton	m_lastBtn;
	CButton	m_firstBtn;
	CButton	m_editBtn;
	CButton	m_deleteBtn;
	CButton	m_addnewBtn;
	CString	m_strComment;
	CString	m_strCpu;
	CString	m_strHarddisk;
	CString	m_strMem;
	CString	m_strMonitor;
	CString	m_strName;
	CString	m_strNetcard;
	float	m_fPrice;
	CString	m_strSeriers;
	CString	m_strSource;
	CString	m_strUser;
	CString	m_strVideocard;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDetailDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDetailDlg)
	afx_msg void OnButtonAddnew();
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	afx_msg void OnSelchangeComboArea();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DETAILDLG_H__75B682F8_CB80_4177_8735_9D1F1D83E015__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -