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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? enginecontrols.frm

??   本書是作者使用ArcObjects進行項目開發以及在ArcObjects授課中經驗的總結
?? 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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合色噜噜狠狠| 久久久www免费人成精品| 国产91富婆露脸刺激对白 | 国产一级精品在线| 紧缚捆绑精品一区二区| 免费成人小视频| 麻豆成人av在线| 久久国产精品72免费观看| 狠狠色狠狠色综合| 99免费精品视频| 一道本成人在线| 欧美在线999| 欧美日韩电影在线| 91麻豆精品国产91久久久久久久久| 99久久免费精品| 色悠悠亚洲一区二区| 在线看国产一区二区| 欧美撒尿777hd撒尿| 欧美顶级少妇做爰| 日韩一区二区三区视频在线观看| 日韩视频永久免费| 国产校园另类小说区| 一区二区中文视频| 一区二区三区日韩精品| 爽好多水快深点欧美视频| 麻豆精品一区二区av白丝在线| 国产精品资源在线观看| gogo大胆日本视频一区| 在线一区二区三区| 91精品国产综合久久久久久漫画 | 天天av天天翘天天综合网色鬼国产| 亚洲小说欧美激情另类| 久久精品国产999大香线蕉| 国产成人免费9x9x人网站视频| 成人av动漫网站| 欧美酷刑日本凌虐凌虐| 国产日韩三级在线| 亚洲午夜成aⅴ人片| 国产一区二区三区最好精华液| av日韩在线网站| 欧美性色aⅴ视频一区日韩精品| 欧美成人乱码一区二区三区| 国产欧美日韩麻豆91| 午夜精品久久久久| 国产精品91一区二区| 欧美熟乱第一页| 欧美激情一区二区在线| 日韩不卡免费视频| 99精品国产热久久91蜜凸| 欧美大片在线观看一区| 亚洲免费观看在线观看| 国产精品夜夜嗨| 在线91免费看| 亚洲乱码精品一二三四区日韩在线| 国内偷窥港台综合视频在线播放| 99国产精品99久久久久久| 精品国产一区二区三区久久久蜜月| 一区二区三区四区亚洲| 成人免费精品视频| 精品国产一区二区亚洲人成毛片| 亚洲成人动漫精品| 99久久精品99国产精品| 久久久91精品国产一区二区三区| 日本中文一区二区三区| 欧美性生活一区| 亚洲精品美国一| 99久久综合狠狠综合久久| 久久精品视频在线看| 精品一区二区三区久久| 日韩女优电影在线观看| 日产国产欧美视频一区精品| 欧美日韩aaa| 亚洲国产精品一区二区尤物区| 99视频在线精品| 国产精品理论片| 不卡视频在线观看| 亚洲国产精品成人综合 | 欧美不卡123| 热久久久久久久| 56国语精品自产拍在线观看| 日韩精品一级中文字幕精品视频免费观看 | 丰满放荡岳乱妇91ww| 久久久五月婷婷| 国产高清在线精品| 国产人久久人人人人爽| 粉嫩一区二区三区性色av| 亚洲国产高清在线观看视频| 国产精品资源在线观看| 国产日产欧美一区| 成人免费视频免费观看| 中文字幕在线不卡一区二区三区| 成人av在线一区二区| 国产精品久久久久久久岛一牛影视| 成人激情综合网站| 最新不卡av在线| 一本色道久久综合亚洲91| 一区二区三区四区亚洲| 欧美日韩黄色一区二区| 日韩精品亚洲专区| 日韩美女主播在线视频一区二区三区| 精品中文字幕一区二区小辣椒 | 日韩视频免费直播| 韩国一区二区三区| 欧美国产亚洲另类动漫| 99在线视频精品| 亚洲18女电影在线观看| 日韩欧美在线观看一区二区三区| 黄色资源网久久资源365| 国产精品久久久久久久久免费桃花| 99热在这里有精品免费| 一区二区三区 在线观看视频| 欧美理论电影在线| 国内精品久久久久影院色| 亚洲人成人一区二区在线观看| 欧美日韩夫妻久久| 国产精品一级片在线观看| 一区二区三区四区在线免费观看| 日韩一区二区三区四区| av亚洲产国偷v产偷v自拍| 日韩国产欧美三级| 一区二区中文字幕在线| 欧美成人bangbros| 91极品视觉盛宴| 福利一区在线观看| 日韩电影在线免费| 亚洲乱码精品一二三四区日韩在线| 欧美一区二区三级| 色婷婷一区二区| 国产成人av福利| 日韩精品久久理论片| 亚洲女人****多毛耸耸8| 久久综合色鬼综合色| 在线视频综合导航| 成人av中文字幕| 国产伦精品一区二区三区在线观看 | 欧美日韩国产欧美日美国产精品| 国产精品亚洲а∨天堂免在线| 亚洲欧美精品午睡沙发| 精品播放一区二区| 欧美日韩视频在线观看一区二区三区| 国产成人亚洲综合a∨婷婷图片 | 欧美一区二区久久久| 91性感美女视频| 国产suv精品一区二区883| 秋霞影院一区二区| 日韩精品成人一区二区在线| 亚洲亚洲人成综合网络| 伊人色综合久久天天| 中文字幕中文字幕在线一区 | 国产亚洲综合av| 精品国产乱码久久| 欧美一区二区三区思思人| 欧美卡1卡2卡| 91麻豆精品91久久久久久清纯| 欧美色大人视频| 欧美日韩免费观看一区二区三区| 91麻豆国产在线观看| 91麻豆国产香蕉久久精品| 不卡一区二区三区四区| 成人动漫在线一区| 成人avav在线| 成人aa视频在线观看| 色综合婷婷久久| 久久综合av免费| 精品国产成人系列| 欧美精品一区二区三区在线播放| 日韩亚洲电影在线| 久久先锋影音av鲁色资源网| 久久午夜电影网| 国产目拍亚洲精品99久久精品| 久久久久国色av免费看影院| 国产精品免费免费| 亚洲美女淫视频| 性感美女极品91精品| 日韩在线卡一卡二| 国内不卡的二区三区中文字幕| 国产一区激情在线| voyeur盗摄精品| 精品视频999| 欧美精品一区二区久久久| 久久久精品日韩欧美| 日韩一区中文字幕| 日韩精品久久久久久| 国产精品69久久久久水密桃| 盗摄精品av一区二区三区| 日本韩国精品一区二区在线观看| 欧美麻豆精品久久久久久| 精品国产91洋老外米糕| 亚洲欧美色图小说| 蜜臀久久久99精品久久久久久| 国产盗摄女厕一区二区三区| 91影院在线观看| 国产亚洲一区字幕| 亚洲黄色小说网站| 国模娜娜一区二区三区| 99国产一区二区三精品乱码| 91精品国产综合久久精品app| 日本一区二区三区国色天香| 丝袜亚洲另类欧美| 成人黄色一级视频|