⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svftogeomediadlg.h

📁 GemoMedia 应用 演示了其使用方法
💻 H
字号:
// SvfToGeoMediaDlg.h : header file
//

#if !defined(AFX_SVFTOGEOMEDIADLG_H__57F90765_0996_4F1B_A8BA_299D32C6CE5F__INCLUDED_)
#define AFX_SVFTOGEOMEDIADLG_H__57F90765_0996_4F1B_A8BA_299D32C6CE5F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Translate.h"

/////////////////////////////////////////////////////////////////////////////
// CSvfToGeoMediaDlg dialog

class CSvfToGeoMediaDlg : public CDialog
{
// Construction
public:
	CString	m_strUser;
	CString	m_strPassWord;
	CString	m_strPath;
	CString	m_strServer;
	CString	m_strPath_DB;
	CString	m_strDb;

	bool ConnectAcess();
	CSvfToGeoMediaDlg(CWnd* pParent = NULL);	// standard constructor

	/////////////////////////
	//数据仓库路径
	CString m_WareLocation;
	
	_DGMGeometryEditServicePtr ptrDVIGeometryEditService;
	_DGMGeometryDigitizeServicePtr	ptrDVIGeometryDigitizeService;
	

// Dialog Data
	//{{AFX_DATA(CSvfToGeoMediaDlg)
	enum { IDD = IDD_SVFTOGEOMEDIA_DIALOG };
	CListBox	m_ctrlListBox;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	bool	m_bInitialized;
	
	_DGMEventServerPtr		m_ptrDVIEventServer ;
	IDispatchPtr			m_ptrDIMapView ;
	DGMConnectionPtr		m_ptrDVIConnection ;
	GDatabasePtr			m_ptrDVIDatabase ;
	CString					m_strTableName ;
	CString					m_strGeometryFieldName ;
	CString					m_strCSGuid ;
	_DGMLegendPtr ptrDVILegend ;
	
	IGMLocatedObjectsCollectionPtr	m_ptrVILocatedObjects ; 
	IGMSmartLocateServerPtr			m_ptrVISmart ;			
	_DGMPointGeometryPtr			m_ptrPointGeometry ;
	
	_DGMLegendEntriesPtr ptrLegendEntries ;
	_DGMRecordLegendEntryPtr ptrDVILegendEntry[50] ;
	_DGMRecordLegendEntryPtr ptrDVIQueryLegendEntry;
	
	GeometryObjectPtr				m_ptrGeometryObject ;
	_DGMRectangleGeometryPtr m_ptrRectangleGeometry; 
	GRecordsetPtr ptrEditRs;
	DGMGeometryStorageServicePtr ptrGSS;
	

	// Generated message map functions
	//{{AFX_MSG(CSvfToGeoMediaDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton();
	afx_msg void OnBUTTONConnect();
	afx_msg void OnBUTTONBrowse();
	afx_msg void OnButtonOk();
	afx_msg void OnBUTTONBrowseDbFile();
	afx_msg void OnRADIOacess();
	afx_msg void OnRADIOOracle();
	afx_msg void OnRadioSqlserver();
	afx_msg void OnButtonDo();
	afx_msg void OnButtonCancel();
	//}}AFX_MSG
	LRESULT ONSTRING(WPARAM wparam,LPARAM lparam);
	DECLARE_MESSAGE_MAP()
private:
	bool ConnectOarcle(CString strUse,CString strPass,CString  strServer);
	void CreateObject();


public:
	CString m_strType;
	CWinThread* m_pThread;
	CEvent* m_pevent;

};

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

#endif // !defined(AFX_SVFTOGEOMEDIADLG_H__57F90765_0996_4F1B_A8BA_299D32C6CE5F__INCLUDED_)

⌨️ 快捷键说明

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