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

📄 findgiveback.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CFindGiveback dialog
#include <afxdao.h>
class CFindGiveback : public CDialog
{
// Construction
public:
	CFindGiveback(CWnd* pParent = NULL);   // standard constructor
    CDaoDatabase  *m_pDatabase;    
	CDaoRecordset *m_pRecordset;
	CString m_strTableName;          //存放正在操作的数据库表的名字
    CString m_ID;                    //资产ID
	CStringArray m_saDepartment;    //部门
	CUIntArray m_uaDepartment;
	CStringArray m_saSort;           //资产类别
	CUIntArray m_uaSort;
	bool flag1,flag2;               //flag1标识是否需要查询表资产信息,flag2标识是否需要查询借出还入资产
public:
	void Refresh(CString sql);
// Dialog Data
	//{{AFX_DATA(CFindGiveback)
	enum { IDD = IDD_FIND_GIVEBACK };
	CComboBox	m_CtrlCBType;
	CComboBox	m_CtrlCBSort;
	CComboBox	m_CtrlCBReciever;
	CComboBox	m_CtrlCBRatifier;
	CComboBox	m_CtrlCBName;
	CListCtrl	m_CtrlList;
	CComboBox	m_CtrlCBLender;
	CComboBox	m_CtrlCBDepartment;
	CComboBox	m_CtrlCBBorrower;
	CComboBox	m_CtrlCBAssetID;
	CString	m_strAssetID;
	CString	m_strBorrower;
	BOOL	m_CKAssetID;
	BOOL	m_CKBorrower;
	BOOL	m_CKDepartment;
	BOOL	m_CKGBDate;
	BOOL	m_CKLender;
	BOOL	m_CKName;
	BOOL	m_CKRatifier;
	BOOL	m_CKReciever;
	BOOL	m_CKSort;
	BOOL	m_CKType;
	CTime	m_GBDate1;
	CTime	m_GBDate2;
	CString	m_strLender;
	CTime	m_LNDate1;
	CTime	m_LNDate2;
	CString	m_strName;
	CString	m_strRatifier;
	CString	m_strReciever;
	CString	m_strType;
	BOOL	m_CKLNDate;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFindGiveback)
	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(CFindGiveback)
	virtual BOOL OnInitDialog();
	afx_msg void OnFdgbCkreciever();
	afx_msg void OnFdgbCklender();
	afx_msg void OnFdgbCkborrower();
	afx_msg void OnFdgbCkdepartment();
	afx_msg void OnFdgbCkratifier();
	afx_msg void OnFdgbCkassetid();
	afx_msg void OnFdgbCktype();
	afx_msg void OnFdgbCksort();
	afx_msg void OnFdgbCkname();
	afx_msg void OnFdgbCklndate();
	afx_msg void OnFdgbCkgbdate();
	afx_msg void OnFdgbFind();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FINDGIVEBACK_H__F2143748_D159_45D4_89DE_77C14C88722D__INCLUDED_)

⌨️ 快捷键说明

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