📄 finddlg.h
字号:
// findDlg.h : header file
//
#if !defined(AFX_FINDDLG_H__66107508_FB6F_44AF_8FFB_4468221F6FEB__INCLUDED_)
#define AFX_FINDDLG_H__66107508_FB6F_44AF_8FFB_4468221F6FEB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "WinXPButtonST.h" // XP风格按钮
#include "path.h"
/////////////////////////////////////////////////////////////////////////////
// CFindDlg dialog
class CFindDlg : public CDialog
{
// Construction
public:
void PtoL();
CFindDlg(CWnd* pParent = NULL); // standard constructor
// 定义ADO连接、命令、记录集变量指针
_ConnectionPtr m_pConnection, m_pConnection1, m_pConnection2;
_CommandPtr m_pCommand, m_pCommand1, m_pCommand2;
_RecordsetPtr m_pRecordset, m_pRecordset1, m_pRecordset2;
bool findout, ptol;
int way, m_nIndex;//记录方案个数
char value[5];
long linenum, stationnum, endlinenum, turnout, dad;//线路和站点总数,已查询过的线路数和站点数
CString *endline;
CString *line, *station, **goneline, **gonestation;//线路数组,站点数组,已查过站点,已查过线路
CString fangan;
// Dialog Data
//{{AFX_DATA(CFindDlg)
enum { IDD = IDD_FIND_DIALOG };
CComboBox m_Combo2;
CComboBox m_Combo1;
CEdit m_edit;
CListCtrl m_list;
CButton m_find;
CString m_start;
CString m_end;
CString m_detail;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFindDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CImageList m_imagelist;
CFont m_font;
// Generated message map functions
//{{AFX_MSG(CFindDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnFind();
afx_msg void OnDblclkResultlist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnAbout();
afx_msg void OnLine();
afx_msg void OnType();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FINDDLG_H__66107508_FB6F_44AF_8FFB_4468221F6FEB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -