giveback.h

来自「固定资产管理系统 vc++和access数据库」· C头文件 代码 · 共 67 行

H
67
字号
#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 + =
减小字号Ctrl + -
显示快捷键?