📄 searchdlg.h
字号:
//{{AFX_INCLUDES()
#include "dtpicker.h"
//}}AFX_INCLUDES
#if !defined(AFX_SEARCHDLG_H__051A6E1D_5A86_41F7_B747_17304ABB85C0__INCLUDED_)
#define AFX_SEARCHDLG_H__051A6E1D_5A86_41F7_B747_17304ABB85C0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SearchDlg.h : header file
//
#include "ADOConn.h"
#include "DataManager.h"
/////////////////////////////////////////////////////////////////////////////
// CSearchDlg dialog
class CSearchDlg : public CDialog
{
// Construction
public:
void ShowStatData();
void SetSQLStr();
void CreateSaveFile(CString strFileName);
CString FormatString(int nLen,CString str);
void WriteSaveFile(CString strFileName,CString strData);
void CSearchDlg::ShowDept();
CSearchDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSearchDlg)
enum { IDD = IDD_SEARCH_DIALOG };
CComboBox m_comboDept;
CListCtrl m_list;
CDTPicker m_dtpStartDate;
CDTPicker m_dtpStartTime;
CDTPicker m_dtpEndDate;
CDTPicker m_dtpEndTime;
CString m_strPhone;
CString m_strEndPhone;
CString m_strStartPhone;
int m_radio;
CString m_strPrice;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSearchDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSearchDlg)
afx_msg void OnSearchButton();
afx_msg void OnCancelButton();
virtual BOOL OnInitDialog();
afx_msg void OnSaveButton();
afx_msg void OnRadioOne();
afx_msg void OnRadioMore();
afx_msg void OnRadioDept();
afx_msg void OnSearchstatButton();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
void InitList ();
void ShowSearchData();
void FormatDataTime();
BOOL IsPhoneCodeRight();
ADOConn m_AdoConn;
//CDataManager* m_manager;
CString m_strDataBase;
CString m_strSQL;
CString m_strSQLWhere;
CString m_strStartDateTime;
CString m_strEndDateTime;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SEARCHDLG_H__051A6E1D_5A86_41F7_B747_17304ABB85C0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -