亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? enginecontrols.frm

?? arcobjets開發(fā)的教程
?? FRM
字號:
VERSION 5.00
Object = "{370A8DDA-7915-42DC-B4A1-77662C82B046}#1.0#0"; "TOCControl.ocx"
Object = "{B7D43581-3CBC-11D6-AA09-00104BB6FC1C}#1.0#0"; "ToolbarControl.ocx"
Object = "{C552EA90-6FBB-11D5-A9C1-00104BB6FC1C}#1.0#0"; "MapControl.ocx"
Object = "{BA01FAC9-2AB7-4CC9-9732-938340408ACE}#1.0#0"; "PageLayoutControl.ocx"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   7890
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   9660
   LinkTopic       =   "Form1"
   ScaleHeight     =   7890
   ScaleWidth      =   9660
   StartUpPosition =   3  'Windows Default
   Begin VB.CheckBox chkCustomize 
      Caption         =   "Customize"
      Height          =   255
      Left            =   8520
      TabIndex        =   4
      Top             =   120
      Width           =   1095
   End
   Begin esriTOCControl.TOCControl TOCControl1 
      Height          =   5055
      Left            =   120
      OleObjectBlob   =   "EngineControls.frx":0000
      TabIndex        =   1
      Top             =   480
      Width           =   2775
   End
   Begin esriPageLayoutControl.PageLayoutControl PageLayoutControl1 
      Height          =   7335
      Left            =   2880
      OleObjectBlob   =   "EngineControls.frx":005D
      TabIndex        =   3
      Top             =   480
      Width           =   6735
   End
   Begin esriMapControl.MapControl MapControl1 
      Height          =   2295
      Left            =   120
      OleObjectBlob   =   "EngineControls.frx":0AFE
      TabIndex        =   2
      Top             =   5520
      Width           =   2775
   End
   Begin esriToolbarControl.ToolbarControl ToolbarControl1 
      Height          =   390
      Left            =   120
      OleObjectBlob   =   "EngineControls.frx":11B3
      TabIndex        =   0
      Top             =   120
      Width           =   8295
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

' Copyright 1995-2004 ESRI

' All rights reserved under the copyright laws of the United States.

' You may freely redistribute and use this sample code, with or without modification.

' Disclaimer: THE SAMPLE CODE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 
' WARRANTIES, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
' FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ESRI OR 
' CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
' OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
' SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
' INTERRUPTION) SUSTAINED BY YOU OR A THIRD PARTY, HOWEVER CAUSED AND ON ANY 
' THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ARISING IN ANY 
' WAY OUT OF THE USE OF THIS SAMPLE CODE, EVEN IF ADVISED OF THE POSSIBILITY OF 
' SUCH DAMAGE.

' For additional information contact: Environmental Systems Research Institute, Inc.

' Attn: Contracts Dept.

' 380 New York Street

' Redlands, California, U.S.A. 92373 

' Email: contracts@esri.com

Option Explicit

Private m_pAoInitialize As IAoInitialize                        'The initialization object
Private m_pToolbarMenu As IToolbarMenu                          'The popup menu
Private m_pEnvelope As IEnvelope                                'The envelope drawn on the MapControl
Private m_pFillSymbol As ISimpleFillSymbol                      'The symbol used to draw the envelope on the MapControl
Private WithEvents m_pTransformEvents As DisplayTransformation  'The PageLayoutControl's focus map events
Attribute m_pTransformEvents.VB_VarHelpID = -1
Private WithEvents m_pCustomizeDialogEvents As CustomizeDialog  'The customize dialog events
Attribute m_pCustomizeDialogEvents.VB_VarHelpID = -1
Private m_pCustomizeDialog As ICustomizeDialog                  'The customize dialog used by the ToolbarControl

Private Sub chkCustomize_Click()

  'Show or hide the customize dialog
  If chkCustomize.Value = 0 Then
    m_pCustomizeDialog.CloseDialog
  Else
    m_pCustomizeDialog.StartDialog ToolbarControl1.hWnd
  End If

End Sub

Private Sub Form_Load()
    
  'Create a new AoInitialize object
  Set m_pAoInitialize = New AoInitialize
  If m_pAoInitialize Is Nothing Then
    MsgBox "Unable to initialize. This application cannot run!"
    Unload Form1
    Exit Sub
  End If
  'Determine if the product is available
  If m_pAoInitialize.IsProductCodeAvailable(esriLicenseProductCodeEngine) = esriLicenseAvailable Then
    If m_pAoInitialize.Initialize(esriLicenseProductCodeEngine) <> esriLicenseCheckedOut Then
      MsgBox "The initialization failed. This application cannot run!"
      Unload Form1
      Exit Sub
    End If
  Else
    MsgBox "The ArcGIS Engine product is unavailable. This application cannot run!"
    Unload Form1
    Exit Sub
  End If

  'Create the customize dialog for the ToolbarControl
  CreateCustomizeDialog

  'Create symbol used on the MapConrol
  CreateOverviewSymbol

  'Set label editing to manual
  TOCControl1.LabelEdit = esriTOCControlManual

  Dim sProgID As String
  
  'Add generic commands
  sProgID = "esriControlTools.ControlsOpenDocCommand"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  'Add PageLayout navigation commands
  sProgID = "esriControlTools.ControlsPageZoomInTool"
  ToolbarControl1.AddItem sProgID, , , True, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsPageZoomOutTool"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsPagePanTool"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsPageZoomWholePageCommand"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsPageZoomPageToLastExtentBackCommand"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsPageZoomPageToLastExtentForwardCommand"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  'Add Map naviagtion commands
  sProgID = "esriControlTools.ControlsMapZoomInTool"
  ToolbarControl1.AddItem sProgID, , , True, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsMapZoomOutTool"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsMapPanTool"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  sProgID = "esriControlTools.ControlsMapFullExtentCommand"
  ToolbarControl1.AddItem sProgID, , , False, , esriCommandStyleIconOnly
  'Add custom date tool
  sProgID = "EngineScenarioCommands.AddDateTool"
  ToolbarControl1.AddItem sProgID, , , True, , esriCommandStyleIconAndText

  'Create a new ToolbarMenu
  Set m_pToolbarMenu = New ToolbarMenu
  'Share the ToolbarControl's command pool
  Set m_pToolbarMenu.CommandPool = ToolbarControl1.CommandPool
  'Add commands to the ToolbarMenu
  sProgID = "esriControlTools.ControlsPageZoomInFixedCommand"
  m_pToolbarMenu.AddItem sProgID, , , False, esriCommandStyleIconAndText
  sProgID = "esriControlTools.ControlsPageZoomOutFixedCommand"
  m_pToolbarMenu.AddItem sProgID, , , False, esriCommandStyleIconAndText
  sProgID = "esriControlTools.ControlsPageZoomWholePageCommand"
  m_pToolbarMenu.AddItem sProgID, , , False, esriCommandStyleIconAndText
  sProgID = "esriControlTools.ControlsPageZoomPageToLastExtentBackCommand"
  m_pToolbarMenu.AddItem sProgID, , , True, esriCommandStyleIconAndText
  sProgID = "esriControlTools.ControlsPageZoomPageToLastExtentForwardCommand"
  m_pToolbarMenu.AddItem sProgID, , , False, esriCommandStyleIconAndText
  'Set the hook to the PageLayoutControl
  m_pToolbarMenu.SetHook PageLayoutControl1
  
  'Check and load a pre-authored map document into the PageLayoutControl using realative paths
  Dim sFileName As String
  sFileName = "..\..\..\..\..\..\Data\ArcGIS_Engine_Developer_Guide\Gulf of St. Lawrence.mxd"
  If PageLayoutControl1.CheckMxFile(sFileName) Then
    PageLayoutControl1.LoadMxFile sFileName
  End If

  'Set buddy controls
  TOCControl1.SetBuddyControl PageLayoutControl1
  ToolbarControl1.SetBuddyControl PageLayoutControl1

  'Suppress drawing while resizing
  MapControl1.SuppressResizeDrawing False, Form1.hWnd
  PageLayoutControl1.SuppressResizeDrawing False, Form1.hWnd
  
End Sub

Private Sub Form_Resize()

  Dim dWidth As Double, dheight As Double, dMargin As Double

  'Set the margin size
  dMargin = TOCControl1.Left

  'Resize the PageLayoutControl
  dheight = Form1.ScaleHeight - PageLayoutControl1.Top - dMargin
  If dheight > 0 Then PageLayoutControl1.Height = dheight
  dWidth = Form1.ScaleWidth - TOCControl1.Width - (dMargin * 2)
  If dWidth > 0 Then PageLayoutControl1.Width = dWidth

  'Resize the MapControl
  dheight = Form1.ScaleHeight - MapControl1.Top - dMargin
  If dheight > 0 Then MapControl1.Height = dheight

End Sub

Private Sub Form_Unload(Cancel As Integer)
  
  'Shut down the AoInitilaize object
  m_pAoInitialize.Shutdown

End Sub

Private Sub m_pCustomizeDialogEvents_OnCloseDialog()

  ToolbarControl1.Customize = False
  chkCustomize.Value = 0

End Sub

Private Sub m_pCustomizeDialogEvents_OnStartDialog()

  ToolbarControl1.Customize = True

End Sub

Private Sub m_pTransformEvents_VisibleBoundsUpdated(ByVal sender As esriDisplay.IDisplayTransformation, ByVal sizeChanged As Boolean)

  'Set the extent to the new visible extent
  Set m_pEnvelope = sender.VisibleBounds
  'Refresh the MapControl's foreground phase
  MapControl1.Refresh

End Sub

Private Sub MapControl1_OnAfterDraw(ByVal display As Variant, ByVal viewDrawPhase As Long)

  If m_pEnvelope Is Nothing Then Exit Sub

  'If the foreground phase has drawn
  Dim pViewDrawPhase As esriViewDrawPhase
  pViewDrawPhase = viewDrawPhase
  If pViewDrawPhase = esriViewForeground Then
    'Draw the shape on the MapControl
    MapControl1.DrawShape m_pEnvelope, m_pFillSymbol
  End If

End Sub

Private Sub PageLayoutControl1_OnMouseDown(ByVal button As Long, ByVal shift As Long, ByVal x As Long, ByVal y As Long, ByVal pageX As Double, ByVal pageY As Double)

  'Popup the ToolbarMenu
  If button = vbRightButton Then
    m_pToolbarMenu.PopupMenu x, y, PageLayoutControl1.hWnd
  End If

End Sub

Private Sub PageLayoutControl1_OnPageLayoutReplaced(ByVal newPageLayout As Variant)
  
  'Get the IActiveView of the focus map in the PageLayoutControl
  Dim pActiveView As IActiveView
  Set pActiveView = PageLayoutControl1.ActiveView.FocusMap
  'Trap the ITranformEvents of the PageLayoutCntrol's focus map
  Set m_pTransformEvents = pActiveView.ScreenDisplay.DisplayTransformation
  'Get the extent of the focus map
  Set m_pEnvelope = pActiveView.Extent
  
  'Load the same pre-authored map document into the MapControl
  MapControl1.LoadMxFile PageLayoutControl1.DocumentFilename
  'Set the extent of the MapControl to the full extent of the data
  MapControl1.Extent = MapControl1.FullExtent
  
End Sub

Private Sub TOCControl1_OnEndLabelEdit(ByVal x As Long, ByVal y As Long, ByVal newLabel As String, pcanEdit As Boolean)

  'If the new label is an empty string then prevent the edit
  If Trim(newLabel) = "" Then pcanEdit = False

End Sub

Private Sub CreateOverviewSymbol()

  'Get the IRGBColor interface
  Dim pColor As IRgbColor
  Set pColor = New RgbColor
  'Set the color properties
  pColor.RGB = RGB(255, 0, 0)

  'Get the ILine symbol interface
  Dim pOutline As ILineSymbol
  Set pOutline = New SimpleLineSymbol
  'Set the line symbol properties
  pOutline.Width = 1.5
  pOutline.Color = pColor

  'Get the IFillSymbol interface
  Set m_pFillSymbol = New SimpleFillSymbol
  'Set the fill symbol properties
  m_pFillSymbol.Outline = pOutline
  m_pFillSymbol.Style = esriSFSHollow

End Sub

Private Sub CreateCustomizeDialog()

  Set m_pCustomizeDialog = New CustomizeDialog
  Set m_pCustomizeDialogEvents = m_pCustomizeDialog
  'Set the title
  m_pCustomizeDialog.DialogTitle = "Customize ToolbarControl Items"
  'Show the 'Add from File' button
  m_pCustomizeDialog.ShowAddFromFile = True
  'Set the ToolbarControl that new items will be added to
  m_pCustomizeDialog.SetDoubleClickDestination ToolbarControl1

End Sub

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡的电影网站| 亚洲美女区一区| 久久国产视频网| 精品久久99ma| 国产精品白丝jk白祙喷水网站| 欧美一卡二卡在线观看| 蜜桃传媒麻豆第一区在线观看| 欧美变态凌虐bdsm| 国产成人精品免费网站| 亚洲欧美一区二区三区孕妇| 欧美综合色免费| 久久se精品一区精品二区| 久久综合色综合88| 99久久精品99国产精品| 亚洲国产你懂的| 日韩免费电影一区| eeuss鲁片一区二区三区| 亚洲影院免费观看| 日韩精品一区二区三区视频 | 欧美精品在线一区二区三区| 免费高清在线视频一区·| 国产日韩欧美综合在线| 欧美午夜免费电影| 久久成人久久鬼色| 亚洲日本成人在线观看| 欧美一区二区三区色| 国产99久久久久| 午夜精品免费在线| 国产欧美视频在线观看| 欧美日韩综合不卡| 国产福利一区在线| 亚洲国产一区二区视频| 久久精品视频免费| 欧美日韩aaaaa| 99久久久无码国产精品| 美女网站一区二区| 一区二区三区欧美日| 久久久高清一区二区三区| 色8久久人人97超碰香蕉987| 黄网站免费久久| 亚洲一区中文在线| 中文字幕一区二区在线播放| 欧美一卡二卡三卡| 91国产精品成人| 国产成人精品www牛牛影视| 亚洲va国产va欧美va观看| 国产精品美女www爽爽爽| 91精品国产91久久久久久一区二区 | 亚洲成av人片一区二区梦乃| 国产婷婷色一区二区三区| 制服丝袜中文字幕亚洲| 日本韩国欧美一区| 福利一区在线观看| 韩国成人精品a∨在线观看| 亚洲一区二区av电影| 中文字幕一区二区日韩精品绯色| 欧美电视剧在线观看完整版| 欧美日韩日本视频| 日本丰满少妇一区二区三区| 成人激情综合网站| 国产一区二区h| 精品一区二区三区欧美| 日韩不卡在线观看日韩不卡视频| 亚洲综合免费观看高清完整版在线 | 亚洲丶国产丶欧美一区二区三区| 亚洲视频你懂的| 国产精品天干天干在线综合| 久久老女人爱爱| 亚洲精品在线观看视频| 欧美videos中文字幕| 欧美成人精精品一区二区频| 91精品国产综合久久精品性色 | 欧美日韩国产在线观看| 色视频成人在线观看免| 97国产一区二区| 99精品桃花视频在线观看| 波多野洁衣一区| 99精品视频中文字幕| 99re66热这里只有精品3直播| 国产白丝网站精品污在线入口| 国产曰批免费观看久久久| 精品亚洲成a人| 国产盗摄一区二区| eeuss鲁一区二区三区| 91老司机福利 在线| 欧美中文字幕亚洲一区二区va在线| 欧美综合色免费| 在线播放91灌醉迷j高跟美女| 欧美日韩精品久久久| 91精品国产乱| 久久久亚洲国产美女国产盗摄 | 不卡免费追剧大全电视剧网站| 成人免费观看av| 91在线精品一区二区| 欧美在线不卡一区| 日韩亚洲欧美在线| 久久久久久麻豆| 亚洲视频一区二区免费在线观看| 亚洲在线免费播放| 美女网站一区二区| 大陆成人av片| 欧洲亚洲精品在线| 91精品免费在线观看| 精品久久久久久久人人人人传媒| 欧美激情一区二区三区在线| 亚洲欧美一区二区三区久本道91| 日韩中文字幕区一区有砖一区| 久久aⅴ国产欧美74aaa| youjizz国产精品| 欧美疯狂做受xxxx富婆| 国产午夜精品美女毛片视频| 亚洲综合在线电影| 极品少妇一区二区| 91免费视频观看| 日韩欧美电影在线| 亚洲视频狠狠干| 美女精品一区二区| 91视频你懂的| 精品少妇一区二区三区| 国产精品久久福利| 美女脱光内衣内裤视频久久网站| 成人免费毛片aaaaa**| 欧美裸体一区二区三区| 国产欧美日韩麻豆91| 日韩精品一级中文字幕精品视频免费观看 | 91精品国产品国语在线不卡| 中文字幕国产精品一区二区| 日韩在线观看一区二区| 成人av网站在线| 欧美一级欧美三级| 亚洲欧美成aⅴ人在线观看| 国产一区二区毛片| 91超碰这里只有精品国产| 亚洲色图一区二区三区| 精品一区二区三区的国产在线播放| 91豆麻精品91久久久久久| 欧美va亚洲va在线观看蝴蝶网| 亚洲免费在线观看视频| 国产精品一区二区91| 88在线观看91蜜桃国自产| 亚洲天堂成人在线观看| 国产精品自拍网站| 日韩欧美一级精品久久| 亚洲一二三四在线观看| 成人免费看视频| 久久亚洲精品小早川怜子| 爽爽淫人综合网网站 | 91在线小视频| 国产视频一区在线观看| 男人操女人的视频在线观看欧美| 色婷婷久久99综合精品jk白丝| 国产网站一区二区| 精品综合久久久久久8888| 欧美精品色一区二区三区| 夜夜亚洲天天久久| 91一区二区在线| 亚洲欧洲日韩在线| 成人动漫中文字幕| 国产精品家庭影院| 成人18视频在线播放| 欧美国产视频在线| 成人一区二区三区| 国产欧美一区二区三区在线老狼| 精品一区二区三区视频在线观看| 欧美一级久久久久久久大片| 午夜一区二区三区在线观看| 欧美三区在线观看| 午夜久久久久久久久| 欧美高清一级片在线| 日韩二区三区在线观看| 欧美绝品在线观看成人午夜影视| 亚洲va中文字幕| 欧美男生操女生| 免费欧美高清视频| 欧美成人精品高清在线播放 | 中文成人综合网| 成人激情av网| 亚洲激情自拍视频| 欧美中文字幕亚洲一区二区va在线| 有码一区二区三区| 欧美高清激情brazzers| 秋霞影院一区二区| av资源网一区| 99久久伊人久久99| 欧美男男青年gay1069videost| 亚洲一区二区三区四区五区中文| 欧美伊人久久久久久午夜久久久久| 一二三四区精品视频| 欧美一区二区视频免费观看| 色婷婷久久久久swag精品| 欧美性色欧美a在线播放| 精品成人一区二区| 成人免费高清在线| 亚洲精品乱码久久久久久日本蜜臀| 欧美伊人精品成人久久综合97| 日韩高清在线不卡| 久久久www成人免费毛片麻豆 | 日韩精品一卡二卡三卡四卡无卡| 日韩精品一区二区三区四区| 成人国产精品免费|