📄 rentdvddlg.h
字号:
// RentDVDDlg.h : header file
//
#if !defined(AFX_RENTDVDDLG_H__66D2F0F9_1446_4320_B71A_7E9B046DC27A__INCLUDED_)
#define AFX_RENTDVDDLG_H__66D2F0F9_1446_4320_B71A_7E9B046DC27A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CRentDVDDlg dialog
class CRentDVDDlg : public CDialog
{
// Construction
public:
void UpdateList();
CRentDVDDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRentDVDDlg)
enum { IDD = IDD_DIALOG_MAIN };
CListCtrl m_listctl_RentInfo;
CEdit m_edit_Name;
CDateTimeCtrl m_dateTimerPicker_To;
CDateTimeCtrl m_dateTimerPicker_From;
CComboBox m_comboDVD;
BOOL m_check_Date;
CString m_Name;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRentDVDDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void AddDVDNum(CString strDVDID);
void DeleteRecord(CString ID,CString dvdName);
int QueryDVDID(CString dvdName);
void InitComboCtr();
CString QueryDVDName(CString DVDID);
void InitListCtr();
_ConnectionPtr m_pConnection;
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CRentDVDDlg)
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 OnButtonRent();
afx_msg void OnButtonQuery();
afx_msg void OnButtonDele();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RENTDVDDLG_H__66D2F0F9_1446_4320_B71A_7E9B046DC27A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -