📄 trasquerydlg.h
字号:
// TrasQueryDlg.h : header file
//
//{{AFX_INCLUDES()
#include "adodc.h"
//}}AFX_INCLUDES
#if !defined(AFX_TRASQUERYDLG_H__B3D025E3_2732_4199_9003_4DBA40C9EB71__INCLUDED_)
#define AFX_TRASQUERYDLG_H__B3D025E3_2732_4199_9003_4DBA40C9EB71__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CTrasQueryDlg dialog
class CTrasQueryDlg : public CDialog
{
// Construction
public:
CTrasQueryDlg(CWnd* pParent = NULL); // standard constructor
_ConnectionPtr m_pCon;
_RecordsetPtr m_pRec;
void Initconn();
bool Execute(_bstr_t strSql);
void ExitConn();
// Dialog Data
//{{AFX_DATA(CTrasQueryDlg)
enum { IDD = IDD_TRASQUERY_DIALOG };
CAdodc m_ado;
CString m_lineStr;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTrasQueryDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//HICON m_hIcon; //注释原有图表
// Generated message map functions
//{{AFX_MSG(CTrasQueryDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg bool OnLineQuery();
afx_msg bool OnStationQuery();
afx_msg void OnImportMap();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnChangeLineInput();
afx_msg void OnChangeStationInput();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString m_Station;
CBrush m_brush;
CFont m_font;
BOOL m_LinQue;
BOOL m_StaQue;
BOOL m_Edit1;
BOOL m_Combo1;
BOOL m_Edit2;
BOOL m_Combo2;
//CString m_lineStr;
//HICON m_hIcon[13];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TRASQUERYDLG_H__B3D025E3_2732_4199_9003_4DBA40C9EB71__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -