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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? enginecontrols.frm

?? ao開(kāi)發(fā)指南的東西 源碼 希望大家好好學(xué)習(xí)ao
?? FRM
字號(hào):
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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美视频在线观看| 午夜激情一区二区三区| 在线精品视频一区二区| 另类欧美日韩国产在线| 亚洲少妇最新在线视频| 久久亚洲春色中文字幕久久久| jizzjizzjizz欧美| 国内久久婷婷综合| 日韩精品乱码免费| 一区二区三区在线免费视频 | 日韩午夜在线播放| 91亚洲大成网污www| 国产剧情一区在线| 男人的天堂久久精品| 亚洲欧美日韩电影| 亚洲国产精品激情在线观看 | 久久综合五月天婷婷伊人| 在线观看亚洲成人| 9人人澡人人爽人人精品| 国产呦精品一区二区三区网站| 一区二区三区中文字幕电影| 国产精品久久99| 国产亚洲综合在线| 精品国产一区二区精华| 在线播放视频一区| 91久久精品国产91性色tv| 成人av电影在线| 国产成人亚洲综合a∨猫咪| 麻豆高清免费国产一区| 无吗不卡中文字幕| 亚洲成人av在线电影| 亚洲日本在线观看| 综合av第一页| 国产精品传媒入口麻豆| 国产精品系列在线| 久久久久高清精品| 久久久精品国产99久久精品芒果 | 99久久久免费精品国产一区二区| 国产精品一区二区三区四区| 激情深爱一区二区| 韩国女主播成人在线观看| 麻豆国产91在线播放| 精品一二三四在线| 国产一区二区不卡| 国产成人亚洲综合色影视| 国产精品1024久久| 成人h版在线观看| 成人性生交大片免费看中文 | 中文字幕av免费专区久久| 久久精品一区八戒影视| 国产拍欧美日韩视频二区| 久久久久国产精品免费免费搜索| 久久久久国色av免费看影院| 亚洲国产激情av| 亚洲天堂av老司机| 亚洲国产一区在线观看| 视频一区二区三区入口| 蜜臀va亚洲va欧美va天堂| 激情综合色播激情啊| 国产91精品一区二区麻豆亚洲| 成人蜜臀av电影| 日本二三区不卡| 欧美精品三级日韩久久| 精品久久免费看| 中文av一区二区| 亚洲一二三四久久| 另类调教123区 | 国产真实乱子伦精品视频| 风流少妇一区二区| 91久久精品一区二区三区| 欧美年轻男男videosbes| 日韩欧美亚洲一区二区| 欧美国产日韩a欧美在线观看 | 天堂va蜜桃一区二区三区| 久久av资源站| 91麻豆国产香蕉久久精品| 欧美日韩成人一区| 久久精品一区二区三区不卡牛牛| 1024精品合集| 蜜臀99久久精品久久久久久软件| 国产精品一二三区在线| 欧美午夜不卡视频| 久久影院午夜论| 亚洲自拍欧美精品| 黄色日韩网站视频| 欧美在线三级电影| 久久亚洲欧美国产精品乐播| 一区二区三区毛片| 国产在线不卡一区| 在线一区二区三区四区五区| 欧美成人国产一区二区| 亚洲欧美日韩中文播放 | 一区二区三区欧美视频| 久久不见久久见免费视频7| 色网站国产精品| 久久这里只精品最新地址| 亚洲国产精品久久艾草纯爱| 国产精品一区二区视频| 91精品国产手机| 亚洲理论在线观看| 国产夫妻精品视频| 91精品国产黑色紧身裤美女| 国产精品久久久久四虎| 老司机精品视频一区二区三区| 99精品1区2区| 国产日本欧洲亚洲| 另类小说图片综合网| 91福利视频网站| 国产精品美女久久久久aⅴ| 日本不卡在线视频| 欧美三级电影网| 亚洲男人的天堂一区二区| 国产成人鲁色资源国产91色综| 欧美一区二区三区四区久久| 一区二区三区四区不卡视频| 成人av电影观看| 亚洲国产精品成人久久综合一区| 久久er精品视频| 日韩免费高清av| 日本在线播放一区二区三区| 在线一区二区观看| 亚洲色欲色欲www| 菠萝蜜视频在线观看一区| 久久久精品综合| 国产精品91一区二区| 精品国产成人在线影院| 老司机一区二区| 欧美成人猛片aaaaaaa| 日韩国产在线观看一区| 欧美日韩一级视频| 亚洲va韩国va欧美va精品| 欧美天堂一区二区三区| 亚洲一区二区视频在线观看| 91在线国产福利| 亚洲天堂网中文字| 在线亚洲一区观看| 亚洲国产精品久久久男人的天堂| 日本高清不卡在线观看| 亚洲综合一区二区| 欧美日韩午夜精品| 亚洲第一福利视频在线| 在线观看91精品国产麻豆| 天天色 色综合| 日韩色在线观看| 精品一区免费av| 国产欧美久久久精品影院| 国产盗摄视频一区二区三区| 中文子幕无线码一区tr| 99精品国产91久久久久久| 一区二区三区欧美| 欧美肥妇free| 麻豆中文一区二区| 国产日韩欧美不卡| 99久久婷婷国产精品综合| 一区二区三区日本| 欧美一级xxx| 国产美女在线精品| 国产精品成人免费精品自在线观看 | 中文字幕中文字幕中文字幕亚洲无线| 粉嫩av亚洲一区二区图片| 日韩美女视频一区二区 | 一本色道亚洲精品aⅴ| 亚洲制服欧美中文字幕中文字幕| 欧美三级在线看| 国产一区二区在线看| 国产精品久久久久久久久免费桃花| 91视视频在线观看入口直接观看www| 一区二区三区欧美日| 日韩一区二区在线观看视频播放| 国产高清无密码一区二区三区| 成人欧美一区二区三区小说| 欧美日韩你懂得| 国产综合色视频| 亚洲免费色视频| 日韩欧美一级二级三级| 成人性生交大片免费看在线播放 | 国产精品1024| 亚洲精品中文在线观看| 正在播放亚洲一区| 懂色一区二区三区免费观看| 一区二区三区在线观看视频| 久久一二三国产| 欧洲中文字幕精品| 国产黄人亚洲片| 亚洲成人免费在线观看| 国产欧美精品国产国产专区| 亚洲欧美一区二区三区极速播放| 日韩亚洲欧美一区| caoporen国产精品视频| 男女男精品视频| 亚洲视频一区在线观看| 精品久久久久久无| 色哟哟精品一区| 国产成人综合精品三级| 亚洲国产综合人成综合网站| 国产日韩欧美在线一区| 91精品福利在线一区二区三区 | 久国产精品韩国三级视频| 亚洲免费在线观看| 国产色综合久久|