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

📄 rentdlg.h

📁 这个一个VC连接MSSQL数据库的小软件
💻 H
字号:
// RentDlg.h : header file
//

#if !defined(AFX_RENTDLG_H__E493BA68_D5CD_4AFC_A3F4_FC15A8B349B4__INCLUDED_)
#define AFX_RENTDLG_H__E493BA68_D5CD_4AFC_A3F4_FC15A8B349B4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CRentDlg dialog

class CRentDlg : public CDialog
{
// Construction
public:	
	void UpdateList();
	void InitListCtr();
	CRentDlg(CWnd* pParent = NULL);	// standard constructor
protected:
	_ConnectionPtr m_pConnection;
// Dialog Data
	//{{AFX_DATA(CRentDlg)
	enum { IDD = IDD_RENT_DIALOG };
	CEdit	m_editName;
	CListCtrl	m_rentInfoList;
	CDateTimeCtrl	m_DateTo;
	CDateTimeCtrl	m_DateFrom;
	CComboBox	m_comboDVD;
	BOOL	m_check_Date;
	CString	m_name;
	//}}AFX_DATA

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

// Implementation
protected:
	void DeleteRecord(CString ID,CString dvdName);
	void AddDVDNum(CString strDVDID);
	int QueryDVDID(CString dvdName);
	void InitComboCtr();
	CString QueryDVDName(CString DVDID);
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CRentDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnCheckDate();
	afx_msg void OnButtonQuery();
	afx_msg void OnButtonRent();
	afx_msg void OnButtonDele();
	afx_msg void OnBUTTONStore();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_RENTDLG_H__E493BA68_D5CD_4AFC_A3F4_FC15A8B349B4__INCLUDED_)

⌨️ 快捷键说明

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