📄 modifydlg.h
字号:
// ModifyDlg.h : header file
//
#if !defined(AFX_MODIFYDLG_H__1326EC7B_3CD5_4143_B4F0_798F325C8955__INCLUDED_)
#define AFX_MODIFYDLG_H__1326EC7B_3CD5_4143_B4F0_798F325C8955__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CModifyDlg dialog
class CModifyDlg : public CDialog
{
// Construction
public:
CModifyDlg(CWnd* pParent = NULL); // standard constructor
// 定义ADO连接、命令、记录集变量指针
_ConnectionPtr m_pConnection, m_pConnection1 ;
_CommandPtr m_pCommand, m_pCommand1;
_RecordsetPtr m_pRecordset, m_pRecordset1;
bool deleteline, addline, being;
CString m_7,m_1,m_2,m_3,m_4,m_5,m_6,line;
// int lastlook = 0;//表示上一次查询的是线路还是站点,1表示是线路,2表示的站点
// Dialog Data
//{{AFX_DATA(CModifyDlg)
enum { IDD = IDD_MODIFY_DIALOG };
CListCtrl m_list2;
CListCtrl m_list1;
CString m_combo;
CString m_edit;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CModifyDlg)
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(CModifyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAbout();
afx_msg void OnLook();
afx_msg void OnAddline();
afx_msg void OnDeleteline();
afx_msg void OnModifyline();
afx_msg void OnModifystation();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MODIFYDLG_H__1326EC7B_3CD5_4143_B4F0_798F325C8955__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -