?? svftogeomediadlg.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 + -