rentdlg.h
来自「数据库程序,是一个DVD出租系统的源码! 能记录删除出租记录和录像带的信息」· C头文件 代码 · 共 75 行
H
75 行
// RentDlg.h : header file
//
#if !defined(AFX_RENTDLG_H__1FC42792_E0C8_4453_BF0C_E679E05ECE0B__INCLUDED_)
#define AFX_RENTDLG_H__1FC42792_E0C8_4453_BF0C_E679E05ECE0B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CRentDlg dialog
class CRentDlg : public CDialog
{
// Construction
public:
CRentDlg(CWnd* pParent = NULL); // standard constructor
void UpdateList();
// Dialog Data
//{{AFX_DATA(CRentDlg)
enum { IDD = IDD_DIALOG_MAIN };
CEdit m_editName;
CComboBox m_comboDVD;
CDateTimeCtrl m_DateTo;
CDateTimeCtrl m_DateFrom;
CListCtrl m_rentInfoList;
CString m_name;
BOOL m_check_Date;
//}}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 DeleteRecordTran(CString ID,CString dvdName);
void InitListCtr();
void InitComboCtr();
CString QueryDVDNameSP(CString dvdID);
CString QueryDVDName(CString DVDID);
int QueryDVDIDSP(CString dvdName);
int QueryDVDID(CString dvdName);
void AddDVDNum(CString strDVDID);
protected:
HICON m_hIcon;
//连接(Connection)对象指针
_ConnectionPtr m_pConnection;
// 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 OnButtonRent();
afx_msg void OnButtonDelete();
afx_msg void OnButtonQuery();
afx_msg void OnCheckDate();
//}}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__1FC42792_E0C8_4453_BF0C_E679E05ECE0B__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?