Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » VB.NET » Utilities » Downloads
 
Add your own
alternative version

Application dashboard for tracking .NET application performance

, 26 Jul 2006
Provides graphical feedback on the performance (memory usage, garbage collection, threads, exceptions, loaded classes) of a .NET application.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form_Dashboard
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    '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()
        Me.components = New System.ComponentModel.Container
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form_Dashboard))
        Me.MenuStrip_Main = New System.Windows.Forms.MenuStrip
        Me.FileToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
        Me.SettingsToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem
        Me.Timer_Sample = New System.Windows.Forms.Timer(Me.components)
        Me.Dial_Threads = New MemoryDashboardControls.WhiteDial
        Me.Dial_Classes = New MemoryDashboardControls.WhiteDial
        Me.Dial_Exceptions = New MemoryDashboardControls.WhiteDial
        Me.Dial_GarbageCollection = New MemoryDashboardControls.WhiteDial
        Me.Dial_Memory = New MemoryDashboardControls.WhiteDial
        Me.ToolTip_Dials = New System.Windows.Forms.ToolTip(Me.components)
        Me.MenuStrip_Main.SuspendLayout()
        Me.SuspendLayout()
        '
        'MenuStrip_Main
        '
        Me.MenuStrip_Main.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.FileToolStripMenuItem})
        Me.MenuStrip_Main.Location = New System.Drawing.Point(0, 0)
        Me.MenuStrip_Main.Name = "MenuStrip_Main"
        Me.MenuStrip_Main.Size = New System.Drawing.Size(496, 24)
        Me.MenuStrip_Main.TabIndex = 1
        Me.MenuStrip_Main.Text = "MenuStrip1"
        '
        'FileToolStripMenuItem
        '
        Me.FileToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.SettingsToolStripMenuItem})
        Me.FileToolStripMenuItem.Name = "FileToolStripMenuItem"
        Me.FileToolStripMenuItem.Size = New System.Drawing.Size(35, 20)
        Me.FileToolStripMenuItem.Text = "&File"
        '
        'SettingsToolStripMenuItem
        '
        Me.SettingsToolStripMenuItem.Name = "SettingsToolStripMenuItem"
        Me.SettingsToolStripMenuItem.Size = New System.Drawing.Size(124, 22)
        Me.SettingsToolStripMenuItem.Text = "&Settings"
        '
        'Timer_Sample
        '
        Me.Timer_Sample.Enabled = True
        Me.Timer_Sample.Interval = 500
        '
        'Dial_Threads
        '
        Me.Dial_Threads.ArcPenColor = System.Drawing.Color.DarkBlue
        Me.Dial_Threads.ArcPenHighlightColor = System.Drawing.Color.LightBlue
        Me.Dial_Threads.AutoGrowMaximum = True
        Me.Dial_Threads.BackgroundImage = CType(resources.GetObject("Dial_Threads.BackgroundImage"), System.Drawing.Image)
        Me.Dial_Threads.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
        Me.Dial_Threads.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Dial_Threads.CurrentValue = CType(0, Long)
        Me.Dial_Threads.Location = New System.Drawing.Point(400, 27)
        Me.Dial_Threads.MaximumValue = CType(100, Long)
        Me.Dial_Threads.MinimumValue = CType(1, Long)
        Me.Dial_Threads.Name = "Dial_Threads"
        Me.Dial_Threads.Size = New System.Drawing.Size(94, 94)
        Me.Dial_Threads.TabIndex = 5
        Me.ToolTip_Dials.SetToolTip(Me.Dial_Threads, "Active threads")
        '
        'Dial_Classes
        '
        Me.Dial_Classes.ArcPenColor = System.Drawing.Color.DarkSlateGray
        Me.Dial_Classes.ArcPenHighlightColor = System.Drawing.Color.Aqua
        Me.Dial_Classes.AutoGrowMaximum = True
        Me.Dial_Classes.BackgroundImage = CType(resources.GetObject("Dial_Classes.BackgroundImage"), System.Drawing.Image)
        Me.Dial_Classes.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
        Me.Dial_Classes.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Dial_Classes.CurrentValue = CType(0, Long)
        Me.Dial_Classes.Location = New System.Drawing.Point(300, 27)
        Me.Dial_Classes.MaximumValue = CType(100, Long)
        Me.Dial_Classes.MinimumValue = CType(1, Long)
        Me.Dial_Classes.Name = "Dial_Classes"
        Me.Dial_Classes.Size = New System.Drawing.Size(94, 94)
        Me.Dial_Classes.TabIndex = 4
        Me.ToolTip_Dials.SetToolTip(Me.Dial_Classes, "Classes loaded")
        '
        'Dial_Exceptions
        '
        Me.Dial_Exceptions.ArcPenColor = System.Drawing.Color.Red
        Me.Dial_Exceptions.ArcPenHighlightColor = System.Drawing.Color.LightCoral
        Me.Dial_Exceptions.AutoGrowMaximum = True
        Me.Dial_Exceptions.BackgroundImage = CType(resources.GetObject("Dial_Exceptions.BackgroundImage"), System.Drawing.Image)
        Me.Dial_Exceptions.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
        Me.Dial_Exceptions.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Dial_Exceptions.CurrentValue = CType(0, Long)
        Me.Dial_Exceptions.Location = New System.Drawing.Point(200, 27)
        Me.Dial_Exceptions.MaximumValue = CType(100, Long)
        Me.Dial_Exceptions.MinimumValue = CType(1, Long)
        Me.Dial_Exceptions.Name = "Dial_Exceptions"
        Me.Dial_Exceptions.Size = New System.Drawing.Size(94, 94)
        Me.Dial_Exceptions.TabIndex = 3
        Me.ToolTip_Dials.SetToolTip(Me.Dial_Exceptions, "Exceptions thrown and handled")
        '
        'Dial_GarbageCollection
        '
        Me.Dial_GarbageCollection.ArcPenColor = System.Drawing.Color.Red
        Me.Dial_GarbageCollection.ArcPenHighlightColor = System.Drawing.Color.Gold
        Me.Dial_GarbageCollection.AutoGrowMaximum = True
        Me.Dial_GarbageCollection.BackgroundImage = CType(resources.GetObject("Dial_GarbageCollection.BackgroundImage"), System.Drawing.Image)
        Me.Dial_GarbageCollection.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
        Me.Dial_GarbageCollection.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Dial_GarbageCollection.CurrentValue = CType(0, Long)
        Me.Dial_GarbageCollection.Location = New System.Drawing.Point(100, 27)
        Me.Dial_GarbageCollection.MaximumValue = CType(100, Long)
        Me.Dial_GarbageCollection.MinimumValue = CType(1, Long)
        Me.Dial_GarbageCollection.Name = "Dial_GarbageCollection"
        Me.Dial_GarbageCollection.Size = New System.Drawing.Size(94, 94)
        Me.Dial_GarbageCollection.TabIndex = 2
        Me.ToolTip_Dials.SetToolTip(Me.Dial_GarbageCollection, "Time spent in garbage collection")
        '
        'Dial_Memory
        '
        Me.Dial_Memory.ArcPenColor = System.Drawing.Color.DarkGreen
        Me.Dial_Memory.ArcPenHighlightColor = System.Drawing.Color.YellowGreen
        Me.Dial_Memory.AutoGrowMaximum = True
        Me.Dial_Memory.BackgroundImage = CType(resources.GetObject("Dial_Memory.BackgroundImage"), System.Drawing.Image)
        Me.Dial_Memory.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch
        Me.Dial_Memory.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.Dial_Memory.CurrentValue = CType(0, Long)
        Me.Dial_Memory.Location = New System.Drawing.Point(0, 27)
        Me.Dial_Memory.MaximumValue = CType(5000, Long)
        Me.Dial_Memory.MinimumValue = CType(1, Long)
        Me.Dial_Memory.Name = "Dial_Memory"
        Me.Dial_Memory.Size = New System.Drawing.Size(94, 94)
        Me.Dial_Memory.TabIndex = 0
        Me.ToolTip_Dials.SetToolTip(Me.Dial_Memory, "Memory Used")
        '
        'ToolTip_Dials
        '
        Me.ToolTip_Dials.IsBalloon = True
        Me.ToolTip_Dials.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info
        '
        'Form_Dashboard
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.BackColor = System.Drawing.Color.AliceBlue
        Me.ClientSize = New System.Drawing.Size(496, 126)
        Me.Controls.Add(Me.Dial_Threads)
        Me.Controls.Add(Me.Dial_Classes)
        Me.Controls.Add(Me.Dial_Exceptions)
        Me.Controls.Add(Me.Dial_GarbageCollection)
        Me.Controls.Add(Me.Dial_Memory)
        Me.Controls.Add(Me.MenuStrip_Main)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
        Me.MainMenuStrip = Me.MenuStrip_Main
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "Form_Dashboard"
        Me.Text = "Application Dashboard"
        Me.MenuStrip_Main.ResumeLayout(False)
        Me.MenuStrip_Main.PerformLayout()
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub
    Friend WithEvents Dial_Memory As MemoryDashboardControls.WhiteDial
    Friend WithEvents MenuStrip_Main As System.Windows.Forms.MenuStrip
    Friend WithEvents FileToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
    Friend WithEvents Timer_Sample As System.Windows.Forms.Timer
    Friend WithEvents Dial_GarbageCollection As MemoryDashboardControls.WhiteDial
    Friend WithEvents Dial_Exceptions As MemoryDashboardControls.WhiteDial
    Friend WithEvents Dial_Classes As MemoryDashboardControls.WhiteDial
    Friend WithEvents Dial_Threads As MemoryDashboardControls.WhiteDial
    Friend WithEvents ToolTip_Dials As System.Windows.Forms.ToolTip
    Friend WithEvents SettingsToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Duncan Edwards Jones
Software Developer (Senior)
Ireland Ireland
C# / SQL Server developer
Microsoft MVP 2006, 2007
Visual Basic .NET
Follow on   Twitter   LinkedIn

| Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 27 Jul 2006
Article Copyright 2006 by Duncan Edwards Jones
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid