dbporterdlg.h

来自「其中包含了ADO的多个实例」· C头文件 代码 · 共 81 行

H
81
字号
// dbporterDlg.h : header file
//

#ifndef AFX_DBPORTERDLG_H__
#define AFX_DBPORTERDLG_H__

#if _MSC_VER > 1000
#pragma once
#endif

#include "DBCopier.h"
#include "FPSPropertyList.h"

/////////////////////////////////////////////////////////////////////////////
// CDbporterDlg dialog

class CDbporterDlg : public CDialog
{
// Construction
public:
	void PopulateMapList();
	CDbporterDlg(CWnd* pParent = NULL);	// standard constructor
	CFPSPropertyList	m_PropList;

// Dialog Data
	//{{AFX_DATA(CDbporterDlg)
	enum { IDD = IDD_DBPORTER_DIALOG };
	CButton	m_butCopy;
	CButton	m_TgtBut;
	CButton	m_SrcBut;
	CString	m_sSrcConnect;
	CString	m_sSrcLogin;
	CString	m_sSrcPassword;
	CString	m_sSrcTable;
	CString	m_sTgtConnect;
	CString	m_sTgtLogin;
	CString	m_sTgtPassword;
	CString	m_sTgtTable;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDbporterDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDbporterDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSrcconnect();
	afx_msg void OnTgtconnect();
	afx_msg void OnChangeSrcconstr();
	afx_msg void OnChangeSrclogin();
	afx_msg void OnChangeSrcpass();
	afx_msg void OnChangeSrctable();
	afx_msg void OnChangeTgtconstr();
	afx_msg void OnChangeTgtlogin();
	afx_msg void OnChangeTgtpass();
	afx_msg void OnChangeTgttable();
	afx_msg void OnCopy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void EmptyMapList();
	BOOL		m_bIsTargetConnected;
	BOOL		m_bIsSourceConnected;
	DBCopier	m_DBCopier;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?