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

📄 searchmain.vb

📁 MapX安装软件完整版。MapX的使用必须得基于MapInfo的table数据
💻 VB
📖 第 1 页 / 共 3 页
字号:
Option Strict Off
Option Explicit On
Friend Class Form1
	Inherits System.Windows.Forms.Form
#Region "Windows Form Designer generated code "
	Public Sub New()
		MyBase.New()
		If m_vb6FormDefInstance Is Nothing Then
			If m_InitializingDefInstance Then
				m_vb6FormDefInstance = Me
			Else
				Try 
					'For the start-up form, the first instance created is the default instance.
					If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
						m_vb6FormDefInstance = Me
					End If
				Catch
				End Try
			End If
		End If
		'This call is required by the Windows Form Designer.
		InitializeComponent()
	End Sub
	'Form overrides dispose to clean up the component list.
	Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
		If Disposing Then
			If Not components Is Nothing Then
				components.Dispose()
			End If
		End If
		MyBase.Dispose(Disposing)
	End Sub
	'Required by the Windows Form Designer
	Private components As System.ComponentModel.IContainer
	Public ToolTip1 As System.Windows.Forms.ToolTip
	Public WithEvents Map1 As AxMapXLib.AxMap
	Public WithEvents searchFeatureLayerCombo As System.Windows.Forms.ComboBox
	Public WithEvents searchLayerListCombo As System.Windows.Forms.ComboBox
	Public WithEvents searchResultsList As System.Windows.Forms.ListBox
	Public WithEvents searchFeatureLayerLabel As System.Windows.Forms.Label
	Public WithEvents searchlayerListLabel As System.Windows.Forms.Label
	Public WithEvents searchResultsLabel As System.Windows.Forms.Label
	Public WithEvents layerControlMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents exitMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents File As System.Windows.Forms.MenuItem
	Public WithEvents zoomInToolMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents zoomOutToolMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents panToolMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents toolsMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents searchDistanceMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents searchRectangleMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents searchFeatureMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents searchPointMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents add2selectionMenuItem As System.Windows.Forms.MenuItem
	Public WithEvents searchToolsMenuItem As System.Windows.Forms.MenuItem
	Public MainMenu1 As System.Windows.Forms.MainMenu
	'NOTE: The following procedure is required by the Windows Form Designer
	'It can be modified using the Windows Form Designer.
	'Do not modify it using the code editor.
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
		Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
		Me.components = New System.ComponentModel.Container()
		Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
		Me.ToolTip1.Active = True
		Me.Map1 = New AxMapXLib.AxMap
		Me.searchFeatureLayerCombo = New System.Windows.Forms.ComboBox
		Me.searchLayerListCombo = New System.Windows.Forms.ComboBox
		Me.searchResultsList = New System.Windows.Forms.ListBox
		Me.searchFeatureLayerLabel = New System.Windows.Forms.Label
		Me.searchlayerListLabel = New System.Windows.Forms.Label
		Me.searchResultsLabel = New System.Windows.Forms.Label
		Me.MainMenu1 = New System.Windows.Forms.MainMenu
		Me.File = New System.Windows.Forms.MenuItem
		Me.layerControlMenuItem = New System.Windows.Forms.MenuItem
		Me.exitMenuItem = New System.Windows.Forms.MenuItem
		Me.toolsMenuItem = New System.Windows.Forms.MenuItem
		Me.zoomInToolMenuItem = New System.Windows.Forms.MenuItem
		Me.zoomOutToolMenuItem = New System.Windows.Forms.MenuItem
		Me.panToolMenuItem = New System.Windows.Forms.MenuItem
		Me.searchToolsMenuItem = New System.Windows.Forms.MenuItem
		Me.searchDistanceMenuItem = New System.Windows.Forms.MenuItem
		Me.searchRectangleMenuItem = New System.Windows.Forms.MenuItem
		Me.searchFeatureMenuItem = New System.Windows.Forms.MenuItem
		Me.searchPointMenuItem = New System.Windows.Forms.MenuItem
		Me.add2selectionMenuItem = New System.Windows.Forms.MenuItem
		CType(Me.Map1, System.ComponentModel.ISupportInitialize).BeginInit()
		Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
		Me.Text = "Form1"
		Me.ClientSize = New System.Drawing.Size(828, 427)
		Me.Location = New System.Drawing.Point(112, 153)
		Me.MaximizeBox = False
		Me.MinimizeBox = False
		Me.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
		Me.BackColor = System.Drawing.SystemColors.Control
		Me.ControlBox = True
		Me.Enabled = True
		Me.KeyPreview = False
		Me.Cursor = System.Windows.Forms.Cursors.Default
		Me.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.ShowInTaskbar = True
		Me.HelpButton = False
		Me.WindowState = System.Windows.Forms.FormWindowState.Normal
		Me.Name = "Form1"
		Map1.OcxState = CType(resources.GetObject("Map1.OcxState"), System.Windows.Forms.AxHost.State)
		Me.Map1.Size = New System.Drawing.Size(601, 417)
		Me.Map1.Location = New System.Drawing.Point(0, 0)
		Me.Map1.TabIndex = 6
		Me.Map1.Name = "Map1"
		Me.searchFeatureLayerCombo.Size = New System.Drawing.Size(169, 21)
		Me.searchFeatureLayerCombo.Location = New System.Drawing.Point(624, 88)
		Me.searchFeatureLayerCombo.TabIndex = 4
		Me.searchFeatureLayerCombo.Text = " "
		Me.searchFeatureLayerCombo.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.searchFeatureLayerCombo.BackColor = System.Drawing.SystemColors.Window
		Me.searchFeatureLayerCombo.CausesValidation = True
		Me.searchFeatureLayerCombo.Enabled = True
		Me.searchFeatureLayerCombo.ForeColor = System.Drawing.SystemColors.WindowText
		Me.searchFeatureLayerCombo.IntegralHeight = True
		Me.searchFeatureLayerCombo.Cursor = System.Windows.Forms.Cursors.Default
		Me.searchFeatureLayerCombo.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.searchFeatureLayerCombo.Sorted = False
		Me.searchFeatureLayerCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown
		Me.searchFeatureLayerCombo.TabStop = True
		Me.searchFeatureLayerCombo.Visible = True
		Me.searchFeatureLayerCombo.Name = "searchFeatureLayerCombo"
		Me.searchLayerListCombo.Size = New System.Drawing.Size(169, 21)
		Me.searchLayerListCombo.Location = New System.Drawing.Point(624, 32)
		Me.searchLayerListCombo.TabIndex = 2
		Me.searchLayerListCombo.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.searchLayerListCombo.BackColor = System.Drawing.SystemColors.Window
		Me.searchLayerListCombo.CausesValidation = True
		Me.searchLayerListCombo.Enabled = True
		Me.searchLayerListCombo.ForeColor = System.Drawing.SystemColors.WindowText
		Me.searchLayerListCombo.IntegralHeight = True
		Me.searchLayerListCombo.Cursor = System.Windows.Forms.Cursors.Default
		Me.searchLayerListCombo.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.searchLayerListCombo.Sorted = False
		Me.searchLayerListCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown
		Me.searchLayerListCombo.TabStop = True
		Me.searchLayerListCombo.Visible = True
		Me.searchLayerListCombo.Name = "searchLayerListCombo"
		Me.searchResultsList.Size = New System.Drawing.Size(209, 254)
		Me.searchResultsList.Location = New System.Drawing.Point(616, 160)
		Me.searchResultsList.TabIndex = 0
		Me.searchResultsList.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.searchResultsList.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
		Me.searchResultsList.BackColor = System.Drawing.SystemColors.Window
		Me.searchResultsList.CausesValidation = True
		Me.searchResultsList.Enabled = True
		Me.searchResultsList.ForeColor = System.Drawing.SystemColors.WindowText
		Me.searchResultsList.IntegralHeight = True
		Me.searchResultsList.Cursor = System.Windows.Forms.Cursors.Default
		Me.searchResultsList.SelectionMode = System.Windows.Forms.SelectionMode.One
		Me.searchResultsList.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.searchResultsList.Sorted = False
		Me.searchResultsList.TabStop = True
		Me.searchResultsList.Visible = True
		Me.searchResultsList.MultiColumn = False
		Me.searchResultsList.Name = "searchResultsList"
		Me.searchFeatureLayerLabel.Text = "Feature Search Layer"
		Me.searchFeatureLayerLabel.Size = New System.Drawing.Size(121, 25)
		Me.searchFeatureLayerLabel.Location = New System.Drawing.Point(624, 64)
		Me.searchFeatureLayerLabel.TabIndex = 5
		Me.searchFeatureLayerLabel.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.searchFeatureLayerLabel.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.searchFeatureLayerLabel.BackColor = System.Drawing.SystemColors.Control
		Me.searchFeatureLayerLabel.Enabled = True
		Me.searchFeatureLayerLabel.ForeColor = System.Drawing.SystemColors.ControlText
		Me.searchFeatureLayerLabel.Cursor = System.Windows.Forms.Cursors.Default
		Me.searchFeatureLayerLabel.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.searchFeatureLayerLabel.UseMnemonic = True
		Me.searchFeatureLayerLabel.Visible = True
		Me.searchFeatureLayerLabel.AutoSize = False
		Me.searchFeatureLayerLabel.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.searchFeatureLayerLabel.Name = "searchFeatureLayerLabel"
		Me.searchlayerListLabel.Text = "Search Layer"
		Me.searchlayerListLabel.Size = New System.Drawing.Size(63, 13)
		Me.searchlayerListLabel.Location = New System.Drawing.Point(624, 8)
		Me.searchlayerListLabel.TabIndex = 3
		Me.searchlayerListLabel.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.searchlayerListLabel.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.searchlayerListLabel.BackColor = System.Drawing.SystemColors.Control
		Me.searchlayerListLabel.Enabled = True
		Me.searchlayerListLabel.ForeColor = System.Drawing.SystemColors.ControlText
		Me.searchlayerListLabel.Cursor = System.Windows.Forms.Cursors.Default
		Me.searchlayerListLabel.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.searchlayerListLabel.UseMnemonic = True
		Me.searchlayerListLabel.Visible = True
		Me.searchlayerListLabel.AutoSize = True
		Me.searchlayerListLabel.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.searchlayerListLabel.Name = "searchlayerListLabel"
		Me.searchResultsLabel.Text = "SearchResults"
		Me.searchResultsLabel.Size = New System.Drawing.Size(69, 13)
		Me.searchResultsLabel.Location = New System.Drawing.Point(616, 136)
		Me.searchResultsLabel.TabIndex = 1
		Me.searchResultsLabel.Font = New System.Drawing.Font("Arial", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
		Me.searchResultsLabel.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.searchResultsLabel.BackColor = System.Drawing.SystemColors.Control
		Me.searchResultsLabel.Enabled = True
		Me.searchResultsLabel.ForeColor = System.Drawing.SystemColors.ControlText
		Me.searchResultsLabel.Cursor = System.Windows.Forms.Cursors.Default
		Me.searchResultsLabel.RightToLeft = System.Windows.Forms.RightToLeft.No

⌨️ 快捷键说明

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