Using MOLE symbol-based graphics with interactive maps
MainForm.Designer.vb
' Copyright 2010 ESRI
' 
' All rights reserved under the copyright laws of the United States
' and applicable international laws, treaties, and conventions.
' 
' You may freely redistribute and use this sample code, with or
' without modification, provided you include the original copyright
' notice and use restrictions.
' 
' See the use restrictions.
' 

Namespace MoleSymbols
  Partial Class MainForm
    ''' <summary>
    ''' Required designer variable.
    ''' </summary>
    Private components As System.ComponentModel.IContainer = Nothing

    ''' <summary>
    ''' Clean up any resources being used.
    ''' </summary>
    ''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
      'Ensures that any ESRI libraries that have been used are unloaded in the correct order. 
      'Failure to do this may result in random crashes on exit due to the operating system unloading 
      'the libraries in the incorrect order. 
      ESRI.ArcGIS.ADF.COMSupport.AOUninitialize.Shutdown()

      If disposing AndAlso (components IsNot Nothing) Then
        components.Dispose()
      End If
      MyBase.Dispose(disposing)
    End Sub

    #Region "Windows Form Designer generated code"

    ''' <summary>
    ''' Required method for Designer support - do not modify
    ''' the contents of this method with the code editor.
    ''' </summary>
    Private Sub InitializeComponent()
            Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(MainForm))
            Me.axMapControl1 = New ESRI.ArcGIS.Controls.AxMapControl
            Me.axToolbarControl1 = New ESRI.ArcGIS.Controls.AxToolbarControl
            Me.axTOCControl1 = New ESRI.ArcGIS.Controls.AxTOCControl
            Me.axLicenseControl1 = New ESRI.ArcGIS.Controls.AxLicenseControl
            Me.splitter1 = New System.Windows.Forms.Splitter
            Me.statusStrip1 = New System.Windows.Forms.StatusStrip
            Me.statusBarXY = New System.Windows.Forms.ToolStripStatusLabel
            Me.panel1 = New System.Windows.Forms.Panel
            Me.toolStrip1 = New System.Windows.Forms.ToolStrip
            Me.tsbAdd200 = New System.Windows.Forms.ToolStripButton
            Me.tsbMoveUnits = New System.Windows.Forms.ToolStripButton
            Me.tsbSelect = New System.Windows.Forms.ToolStripButton
            Me.tsbAddMoleSymbol = New System.Windows.Forms.ToolStripButton
            Me.tstSIC = New System.Windows.Forms.ToolStripTextBox
            Me.toolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator
            Me.tstSize = New System.Windows.Forms.ToolStripTextBox
            Me.toolStripSeparator2 = New System.Windows.Forms.ToolStripSeparator
            Me.tsbAddLine = New System.Windows.Forms.ToolStripButton
            Me.tsbAddArea = New System.Windows.Forms.ToolStripButton
            CType(Me.axMapControl1, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.axToolbarControl1, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.axTOCControl1, System.ComponentModel.ISupportInitialize).BeginInit()
            CType(Me.axLicenseControl1, System.ComponentModel.ISupportInitialize).BeginInit()
            Me.statusStrip1.SuspendLayout()
            Me.panel1.SuspendLayout()
            Me.toolStrip1.SuspendLayout()
            Me.SuspendLayout()
            '
            'axMapControl1
            '
            Me.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.axMapControl1.Location = New System.Drawing.Point(329, 28)
            Me.axMapControl1.Name = "axMapControl1"
            Me.axMapControl1.OcxState = CType(resources.GetObject("axMapControl1.OcxState"), System.Windows.Forms.AxHost.State)
            Me.axMapControl1.Size = New System.Drawing.Size(672, 600)
            Me.axMapControl1.TabIndex = 2
            '
            'axToolbarControl1
            '
            Me.axToolbarControl1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.axToolbarControl1.Location = New System.Drawing.Point(347, 0)
            Me.axToolbarControl1.Name = "axToolbarControl1"
            Me.axToolbarControl1.OcxState = CType(resources.GetObject("axToolbarControl1.OcxState"), System.Windows.Forms.AxHost.State)
            Me.axToolbarControl1.Size = New System.Drawing.Size(654, 28)
            Me.axToolbarControl1.TabIndex = 3
            '
            'axTOCControl1
            '
            Me.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left
            Me.axTOCControl1.Location = New System.Drawing.Point(3, 28)
            Me.axTOCControl1.Name = "axTOCControl1"
            Me.axTOCControl1.OcxState = CType(resources.GetObject("axTOCControl1.OcxState"), System.Windows.Forms.AxHost.State)
            Me.axTOCControl1.Size = New System.Drawing.Size(326, 600)
            Me.axTOCControl1.TabIndex = 4
            '
            'axLicenseControl1
            '
            Me.axLicenseControl1.Enabled = True
            Me.axLicenseControl1.Location = New System.Drawing.Point(466, 278)
            Me.axLicenseControl1.Name = "axLicenseControl1"
            Me.axLicenseControl1.OcxState = CType(resources.GetObject("axLicenseControl1.OcxState"), System.Windows.Forms.AxHost.State)
            Me.axLicenseControl1.Size = New System.Drawing.Size(32, 32)
            Me.axLicenseControl1.TabIndex = 5
            '
            'splitter1
            '
            Me.splitter1.Location = New System.Drawing.Point(0, 28)
            Me.splitter1.Name = "splitter1"
            Me.splitter1.Size = New System.Drawing.Size(3, 622)
            Me.splitter1.TabIndex = 6
            Me.splitter1.TabStop = False
            '
            'statusStrip1
            '
            Me.statusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.statusBarXY})
            Me.statusStrip1.Location = New System.Drawing.Point(3, 628)
            Me.statusStrip1.Name = "statusStrip1"
            Me.statusStrip1.Size = New System.Drawing.Size(998, 22)
            Me.statusStrip1.Stretch = False
            Me.statusStrip1.TabIndex = 7
            Me.statusStrip1.Text = "statusBar1"
            '
            'statusBarXY
            '
            Me.statusBarXY.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter
            Me.statusBarXY.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
            Me.statusBarXY.Name = "statusBarXY"
            Me.statusBarXY.Size = New System.Drawing.Size(49, 17)
            Me.statusBarXY.Text = "Test 123"
            '
            'panel1
            '
            Me.panel1.Controls.Add(Me.axToolbarControl1)
            Me.panel1.Controls.Add(Me.toolStrip1)
            Me.panel1.Dock = System.Windows.Forms.DockStyle.Top
            Me.panel1.Location = New System.Drawing.Point(0, 0)
            Me.panel1.Name = "panel1"
            Me.panel1.Size = New System.Drawing.Size(1001, 28)
            Me.panel1.TabIndex = 8
            '
            'toolStrip1
            '
            Me.toolStrip1.Dock = System.Windows.Forms.DockStyle.Left
            Me.toolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.tsbAdd200, Me.tsbMoveUnits, Me.tsbSelect, Me.tsbAddMoleSymbol, Me.tstSIC, Me.toolStripSeparator1, Me.tstSize, Me.toolStripSeparator2, Me.tsbAddLine, Me.tsbAddArea})
            Me.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow
            Me.toolStrip1.Location = New System.Drawing.Point(0, 0)
            Me.toolStrip1.Name = "toolStrip1"
            Me.toolStrip1.Size = New System.Drawing.Size(347, 28)
            Me.toolStrip1.TabIndex = 9
            Me.toolStrip1.Text = "toolStrip1"
            '
            'tsbAdd200
            '
            Me.tsbAdd200.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.tsbAdd200.Image = CType(resources.GetObject("tsbAdd200.Image"), System.Drawing.Image)
            Me.tsbAdd200.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.tsbAdd200.Name = "tsbAdd200"
            Me.tsbAdd200.Size = New System.Drawing.Size(23, 25)
            Me.tsbAdd200.Text = "Create 200 Graphics"
            Me.tsbAdd200.ToolTipText = "Add a bunch of graphics"
            '
            'tsbMoveUnits
            '
            Me.tsbMoveUnits.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.tsbMoveUnits.Image = CType(resources.GetObject("tsbMoveUnits.Image"), System.Drawing.Image)
            Me.tsbMoveUnits.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.tsbMoveUnits.Name = "tsbMoveUnits"
            Me.tsbMoveUnits.Size = New System.Drawing.Size(23, 25)
            Me.tsbMoveUnits.Text = "Move All Graphics"
            Me.tsbMoveUnits.ToolTipText = "Move Units"
            '
            'tsbSelect
            '
            Me.tsbSelect.CheckOnClick = True
            Me.tsbSelect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.tsbSelect.Image = CType(resources.GetObject("tsbSelect.Image"), System.Drawing.Image)
            Me.tsbSelect.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.tsbSelect.Name = "tsbSelect"
            Me.tsbSelect.Size = New System.Drawing.Size(23, 25)
            Me.tsbSelect.Text = "toolStripButton1"
            Me.tsbSelect.ToolTipText = "Select & Drag Graphics"
            '
            'tsbAddMoleSymbol
            '
            Me.tsbAddMoleSymbol.CheckOnClick = True
            Me.tsbAddMoleSymbol.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.tsbAddMoleSymbol.Image = CType(resources.GetObject("tsbAddMoleSymbol.Image"), System.Drawing.Image)
            Me.tsbAddMoleSymbol.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.tsbAddMoleSymbol.Name = "tsbAddMoleSymbol"
            Me.tsbAddMoleSymbol.Size = New System.Drawing.Size(23, 25)
            Me.tsbAddMoleSymbol.Text = "Add MOLE Symbol"
            Me.tsbAddMoleSymbol.ToolTipText = "Add MOLE Symbol"
            '
            'tstSIC
            '
            Me.tstSIC.Font = New System.Drawing.Font("Courier New", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
            Me.tstSIC.Name = "tstSIC"
            Me.tstSIC.Size = New System.Drawing.Size(120, 28)
            Me.tstSIC.Text = "SFGPUCAWW------"
            '
            'toolStripSeparator1
            '
            Me.toolStripSeparator1.Name = "toolStripSeparator1"
            Me.toolStripSeparator1.Size = New System.Drawing.Size(6, 28)
            '
            'tstSize
            '
            Me.tstSize.Name = "tstSize"
            Me.tstSize.Size = New System.Drawing.Size(30, 28)
            Me.tstSize.Text = "36"
            Me.tstSize.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Right
            '
            'toolStripSeparator2
            '
            Me.toolStripSeparator2.Name = "toolStripSeparator2"
            Me.toolStripSeparator2.Size = New System.Drawing.Size(6, 28)
            '
            'tsbAddLine
            '
            Me.tsbAddLine.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.tsbAddLine.Image = CType(resources.GetObject("tsbAddLine.Image"), System.Drawing.Image)
            Me.tsbAddLine.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.tsbAddLine.Name = "tsbAddLine"
            Me.tsbAddLine.Size = New System.Drawing.Size(23, 25)
            Me.tsbAddLine.Text = "toolStripButton1"
            Me.tsbAddLine.ToolTipText = "Add a sample line graphic"
            '
            'tsbAddArea
            '
            Me.tsbAddArea.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image
            Me.tsbAddArea.Image = CType(resources.GetObject("tsbAddArea.Image"), System.Drawing.Image)
            Me.tsbAddArea.ImageTransparentColor = System.Drawing.Color.Magenta
            Me.tsbAddArea.Name = "tsbAddArea"
            Me.tsbAddArea.Size = New System.Drawing.Size(23, 25)
            Me.tsbAddArea.Text = "toolStripButton1"
            Me.tsbAddArea.ToolTipText = "Add a sample area graphic"
            '
            'MainForm
            '
            Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
            Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
            Me.ClientSize = New System.Drawing.Size(1001, 650)
            Me.Controls.Add(Me.axLicenseControl1)
            Me.Controls.Add(Me.axMapControl1)
            Me.Controls.Add(Me.axTOCControl1)
            Me.Controls.Add(Me.statusStrip1)
            Me.Controls.Add(Me.splitter1)
            Me.Controls.Add(Me.panel1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "MainForm"
            Me.Text = "MOLE Basic Test"
            CType(Me.axMapControl1, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.axToolbarControl1, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.axTOCControl1, System.ComponentModel.ISupportInitialize).EndInit()
            CType(Me.axLicenseControl1, System.ComponentModel.ISupportInitialize).EndInit()
            Me.statusStrip1.ResumeLayout(False)
            Me.statusStrip1.PerformLayout()
            Me.panel1.ResumeLayout(False)
            Me.panel1.PerformLayout()
            Me.toolStrip1.ResumeLayout(False)
            Me.toolStrip1.PerformLayout()
            Me.ResumeLayout(False)
            Me.PerformLayout()

        End Sub

    #End Region

        Private WithEvents axMapControl1 As ESRI.ArcGIS.Controls.AxMapControl
    Private axToolbarControl1 As ESRI.ArcGIS.Controls.AxToolbarControl
    Private axTOCControl1 As ESRI.ArcGIS.Controls.AxTOCControl
    Private axLicenseControl1 As ESRI.ArcGIS.Controls.AxLicenseControl
    Private splitter1 As System.Windows.Forms.Splitter
    Private statusStrip1 As System.Windows.Forms.StatusStrip
    Private statusBarXY As System.Windows.Forms.ToolStripStatusLabel
    Private panel1 As System.Windows.Forms.Panel
    Private toolStrip1 As System.Windows.Forms.ToolStrip
        Private WithEvents tsbAddMoleSymbol As System.Windows.Forms.ToolStripButton
        Private WithEvents tstSIC As System.Windows.Forms.ToolStripTextBox
    Private toolStripSeparator1 As System.Windows.Forms.ToolStripSeparator
    Private tstSize As System.Windows.Forms.ToolStripTextBox
        Private WithEvents tsbAdd200 As System.Windows.Forms.ToolStripButton
        Private WithEvents tsbMoveUnits As System.Windows.Forms.ToolStripButton
    Private toolStripSeparator2 As System.Windows.Forms.ToolStripSeparator
        Private WithEvents tsbAddLine As System.Windows.Forms.ToolStripButton
        Private WithEvents tsbAddArea As System.Windows.Forms.ToolStripButton
        Private WithEvents tsbSelect As System.Windows.Forms.ToolStripButton
  End Class
End Namespace