Arranging MOLE graphics using manual decluttering
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 ManualGroupDraw
  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.btnAddGroup = New System.Windows.Forms.Button
            Me.panel1 = New System.Windows.Forms.Panel
            Me.cbDeclutter = New System.Windows.Forms.ComboBox
            Me.panel2 = New System.Windows.Forms.Panel
            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.panel2.SuspendLayout()
            Me.SuspendLayout()
            '
            'axMapControl1
            '
            Me.axMapControl1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.axMapControl1.Location = New System.Drawing.Point(191, 31)
            Me.axMapControl1.Name = "axMapControl1"
            Me.axMapControl1.OcxState = CType(resources.GetObject("axMapControl1.OcxState"), System.Windows.Forms.AxHost.State)
            Me.axMapControl1.Size = New System.Drawing.Size(668, 533)
            Me.axMapControl1.TabIndex = 2
            '
            'axToolbarControl1
            '
            Me.axToolbarControl1.Dock = System.Windows.Forms.DockStyle.Left
            Me.axToolbarControl1.Location = New System.Drawing.Point(0, 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(566, 28)
            Me.axToolbarControl1.TabIndex = 3
            '
            'axTOCControl1
            '
            Me.axTOCControl1.Dock = System.Windows.Forms.DockStyle.Left
            Me.axTOCControl1.Location = New System.Drawing.Point(3, 31)
            Me.axTOCControl1.Name = "axTOCControl1"
            Me.axTOCControl1.OcxState = CType(resources.GetObject("axTOCControl1.OcxState"), System.Windows.Forms.AxHost.State)
            Me.axTOCControl1.Size = New System.Drawing.Size(188, 533)
            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, 0)
            Me.splitter1.Name = "splitter1"
            Me.splitter1.Size = New System.Drawing.Size(3, 586)
            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, 564)
            Me.statusStrip1.Name = "statusStrip1"
            Me.statusStrip1.Size = New System.Drawing.Size(856, 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"
            '
            'btnAddGroup
            '
            Me.btnAddGroup.Location = New System.Drawing.Point(3, 3)
            Me.btnAddGroup.Name = "btnAddGroup"
            Me.btnAddGroup.Size = New System.Drawing.Size(110, 23)
            Me.btnAddGroup.TabIndex = 8
            Me.btnAddGroup.Text = "Add Group Element"
            Me.btnAddGroup.UseVisualStyleBackColor = True
            '
            'panel1
            '
            Me.panel1.Controls.Add(Me.cbDeclutter)
            Me.panel1.Controls.Add(Me.btnAddGroup)
            Me.panel1.Dock = System.Windows.Forms.DockStyle.Fill
            Me.panel1.Location = New System.Drawing.Point(566, 0)
            Me.panel1.Name = "panel1"
            Me.panel1.Size = New System.Drawing.Size(290, 31)
            Me.panel1.TabIndex = 10
            '
            'cbDeclutter
            '
            Me.cbDeclutter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
            Me.cbDeclutter.Enabled = False
            Me.cbDeclutter.FormattingEnabled = True
            Me.cbDeclutter.Items.AddRange(New Object() {"No Decluttering", "Leader Decluttering", "Manual Decluttering", "Stack Decluttering"})
            Me.cbDeclutter.Location = New System.Drawing.Point(119, 4)
            Me.cbDeclutter.Name = "cbDeclutter"
            Me.cbDeclutter.Size = New System.Drawing.Size(168, 21)
            Me.cbDeclutter.TabIndex = 12
            '
            'panel2
            '
            Me.panel2.Controls.Add(Me.panel1)
            Me.panel2.Controls.Add(Me.axToolbarControl1)
            Me.panel2.Dock = System.Windows.Forms.DockStyle.Top
            Me.panel2.Location = New System.Drawing.Point(3, 0)
            Me.panel2.Name = "panel2"
            Me.panel2.Size = New System.Drawing.Size(856, 31)
            Me.panel2.TabIndex = 11
            '
            'MainForm
            '
            Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
            Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
            Me.ClientSize = New System.Drawing.Size(859, 586)
            Me.Controls.Add(Me.axMapControl1)
            Me.Controls.Add(Me.axTOCControl1)
            Me.Controls.Add(Me.panel2)
            Me.Controls.Add(Me.axLicenseControl1)
            Me.Controls.Add(Me.statusStrip1)
            Me.Controls.Add(Me.splitter1)
            Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
            Me.Name = "MainForm"
            Me.Text = "MOLE ManualGroupDraw"
            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.panel2.ResumeLayout(False)
            Me.ResumeLayout(False)
            Me.PerformLayout()

        End Sub

    #End Region

        Private WithEvents axMapControl1 As ESRI.ArcGIS.Controls.AxMapControl
        Private WithEvents axToolbarControl1 As ESRI.ArcGIS.Controls.AxToolbarControl
        Private WithEvents axTOCControl1 As ESRI.ArcGIS.Controls.AxTOCControl
        Private WithEvents axLicenseControl1 As ESRI.ArcGIS.Controls.AxLicenseControl
        Private WithEvents splitter1 As System.Windows.Forms.Splitter
        Private WithEvents statusStrip1 As System.Windows.Forms.StatusStrip
        Private WithEvents statusBarXY As System.Windows.Forms.ToolStripStatusLabel
        Private WithEvents btnAddGroup As System.Windows.Forms.Button
        Private WithEvents panel1 As System.Windows.Forms.Panel
        Private WithEvents panel2 As System.Windows.Forms.Panel
        Private WithEvents cbDeclutter As System.Windows.Forms.ComboBox
  End Class
End Namespace