📄 search.h
字号:
//{{AFX_INCLUDES()
#include "msflexgrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_SEARCH_H__E10369A4_A558_11D5_8975_005004BB527C__INCLUDED_)
#define AFX_SEARCH_H__E10369A4_A558_11D5_8975_005004BB527C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Search.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSearch dialog
typedef struct t_RECORD
{
CString m_Serial;
CString m_Room;
CString m_Date;
CString m_Phone;
CString m_StTime;
CString m_SpTime;
CString m_Cost;
CString m_Price;
CString m_Add;
CString m_Duty;
} RECORD;
class CSearch : public CDialog
{
// Construction
public:
RECORD m_Search;
int m_SearchRow;
CSearch(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSearch)
enum { IDD = IDD_SEARCH_DIALOG };
CComboBox m_Year;
CComboBox m_Day;
CComboBox m_Month;
CMSFlexGrid m_Search_MSFlex;
CString m_PhoneCode;
CString m_RoomNo;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSearch)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSearch)
virtual BOOL OnInitDialog();
afx_msg void OnClickSearchMsflexgrid();
afx_msg void OnButtonSearch();
virtual void OnOK();
afx_msg void OnSelchangeComboMonth();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CDaoDatabase m_pDB;
CTime t;
RECORD m_Record;
int m_Col;
int m_Row;
int curDay,curMonth,curYear;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEARCH_H__E10369A4_A558_11D5_8975_005004BB527C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -