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

📄 giveback.h

📁 一个用vc++做的数据库系统
💻 H
字号:
#if !defined(AFX_GIVEBACK_H__0F9CEC16_63D6_421F_A604_BDB2B37A99BD__INCLUDED_)
#define AFX_GIVEBACK_H__0F9CEC16_63D6_421F_A604_BDB2B37A99BD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GiveBack.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGiveBack dialog
#include <afxdao.h>
class CGiveBack : public CDialog
{
// Construction
public:
	CGiveBack(CWnd* pParent = NULL);   // standard constructor
    CDaoDatabase  *m_pDatabase;    
	CDaoRecordset *m_pRecordset;
	CString m_strTableName;          //存放正在操作的数据库表的名字
    CString m_ID;                    //资产ID
	CStringArray m_saDepartment;     //部门
	CUIntArray m_uaDepartment;
public:
	void Refresh();
// Dialog Data
	//{{AFX_DATA(CGiveBack)
	enum { IDD = IDD_GIVEBACK };
	CComboBox	m_CtrlCBReciever;
	CListCtrl	m_CtrlList;
	CString	m_strBorrower;
	CString	m_strDepartment;
	CTime	m_GBDate;
	CString	m_strName;
	CString	m_strRemark;
	CString	m_strReciever;
	CString	m_strAssetID;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGiveBack)
	public:
	virtual int DoModal();
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CGiveBack)
	virtual BOOL OnInitDialog();
	afx_msg void OnItemchangedGbList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnGiveBack();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_GIVEBACK_H__0F9CEC16_63D6_421F_A604_BDB2B37A99BD__INCLUDED_)

⌨️ 快捷键说明

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