?? rentdlg.h
字號(hào):
// 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)對(duì)象指針
_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_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -