Click here to Skip to main content
15,879,535 members
Articles / Desktop Programming / XAML

Diagnostic Explorer

Rate me:
Please Sign up or sign in to vote.
4.93/5 (41 votes)
29 Nov 2010LGPL315 min read 82K   1.5K   120  
A .NET library and website which allows developers to expose and view arbitrary diagnostic information about their .NET processes.
namespace WidgetSample
{
	partial class Form1
	{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#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 void InitializeComponent()
		{
			this.gadgetGrid = new System.Windows.Forms.DataGridView();
			this.bAddGadget = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.bAddWidget = new System.Windows.Forms.Button();
			this.widgetGrid = new System.Windows.Forms.DataGridView();
			this.label2 = new System.Windows.Forms.Label();
			this.bMinorProblem = new System.Windows.Forms.Button();
			this.bHorrificException = new System.Windows.Forms.Button();
			this.bRemoveGadget = new System.Windows.Forms.Button();
			this.bRemoveWidget = new System.Windows.Forms.Button();
			this.btnTraceScope = new System.Windows.Forms.Button();
			this.btn1000 = new System.Windows.Forms.Button();
			this.btn10000 = new System.Windows.Forms.Button();
			this.btn10 = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.gadgetGrid)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.widgetGrid)).BeginInit();
			this.SuspendLayout();
			// 
			// gadgetGrid
			// 
			this.gadgetGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
									| System.Windows.Forms.AnchorStyles.Right)));
			this.gadgetGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.gadgetGrid.Location = new System.Drawing.Point(1, 35);
			this.gadgetGrid.Name = "gadgetGrid";
			this.gadgetGrid.Size = new System.Drawing.Size(914, 162);
			this.gadgetGrid.TabIndex = 0;
			// 
			// bAddGadget
			// 
			this.bAddGadget.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.bAddGadget.Location = new System.Drawing.Point(844, 200);
			this.bAddGadget.Name = "bAddGadget";
			this.bAddGadget.Size = new System.Drawing.Size(75, 23);
			this.bAddGadget.TabIndex = 1;
			this.bAddGadget.Text = "Add gadget";
			this.bAddGadget.UseVisualStyleBackColor = true;
			this.bAddGadget.Click += new System.EventHandler(this.bAddGadget_Click);
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.label1.Location = new System.Drawing.Point(12, 6);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(94, 26);
			this.label1.TabIndex = 2;
			this.label1.Text = "Gadgets";
			// 
			// bAddWidget
			// 
			this.bAddWidget.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.bAddWidget.Location = new System.Drawing.Point(844, 394);
			this.bAddWidget.Name = "bAddWidget";
			this.bAddWidget.Size = new System.Drawing.Size(75, 23);
			this.bAddWidget.TabIndex = 4;
			this.bAddWidget.Text = "Add widget";
			this.bAddWidget.UseVisualStyleBackColor = true;
			this.bAddWidget.Click += new System.EventHandler(this.bAddWidget_Click);
			// 
			// widgetGrid
			// 
			this.widgetGrid.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
									| System.Windows.Forms.AnchorStyles.Right)));
			this.widgetGrid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
			this.widgetGrid.Location = new System.Drawing.Point(1, 229);
			this.widgetGrid.Name = "widgetGrid";
			this.widgetGrid.Size = new System.Drawing.Size(918, 159);
			this.widgetGrid.TabIndex = 3;
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.label2.Location = new System.Drawing.Point(-4, 200);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(91, 26);
			this.label2.TabIndex = 5;
			this.label2.Text = "Widgets";
			// 
			// bMinorProblem
			// 
			this.bMinorProblem.Location = new System.Drawing.Point(1, 394);
			this.bMinorProblem.Name = "bMinorProblem";
			this.bMinorProblem.Size = new System.Drawing.Size(141, 23);
			this.bMinorProblem.TabIndex = 6;
			this.bMinorProblem.Text = "Generate Minor Problem";
			this.bMinorProblem.UseVisualStyleBackColor = true;
			this.bMinorProblem.Click += new System.EventHandler(this.bMinorProblem_Click);
			// 
			// bHorrificException
			// 
			this.bHorrificException.Location = new System.Drawing.Point(148, 394);
			this.bHorrificException.Name = "bHorrificException";
			this.bHorrificException.Size = new System.Drawing.Size(156, 23);
			this.bHorrificException.TabIndex = 7;
			this.bHorrificException.Text = "Generate Horrific Exception";
			this.bHorrificException.UseVisualStyleBackColor = true;
			this.bHorrificException.Click += new System.EventHandler(this.bHorrificException_Click);
			// 
			// bRemoveGadget
			// 
			this.bRemoveGadget.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.bRemoveGadget.Location = new System.Drawing.Point(740, 200);
			this.bRemoveGadget.Name = "bRemoveGadget";
			this.bRemoveGadget.Size = new System.Drawing.Size(98, 23);
			this.bRemoveGadget.TabIndex = 8;
			this.bRemoveGadget.Text = "Remove gadget";
			this.bRemoveGadget.UseVisualStyleBackColor = true;
			this.bRemoveGadget.Click += new System.EventHandler(this.bRemoveGadget_Click);
			// 
			// bRemoveWidget
			// 
			this.bRemoveWidget.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.bRemoveWidget.Location = new System.Drawing.Point(740, 394);
			this.bRemoveWidget.Name = "bRemoveWidget";
			this.bRemoveWidget.Size = new System.Drawing.Size(98, 23);
			this.bRemoveWidget.TabIndex = 9;
			this.bRemoveWidget.Text = "Remove widget";
			this.bRemoveWidget.UseVisualStyleBackColor = true;
			this.bRemoveWidget.Click += new System.EventHandler(this.bRemoveWidget_Click);
			// 
			// btnBigEvent
			// 
			this.btnTraceScope.Location = new System.Drawing.Point(310, 394);
			this.btnTraceScope.Name = "btnBigEvent";
			this.btnTraceScope.Size = new System.Drawing.Size(115, 23);
			this.btnTraceScope.TabIndex = 10;
			this.btnTraceScope.Text = "Test Trace Scope";
			this.btnTraceScope.UseVisualStyleBackColor = true;
			this.btnTraceScope.Click += new System.EventHandler(this.btnTraceScope_Click);
			// 
			// btn1000
			// 
			this.btn1000.Location = new System.Drawing.Point(520, 394);
			this.btn1000.Name = "btn1000";
			this.btn1000.Size = new System.Drawing.Size(83, 23);
			this.btn1000.TabIndex = 11;
			this.btn1000.Text = "1000 Events";
			this.btn1000.UseVisualStyleBackColor = true;
			this.btn1000.Click += new System.EventHandler(this.btn1000_Click);
			// 
			// btn10000
			// 
			this.btn10000.Location = new System.Drawing.Point(609, 394);
			this.btn10000.Name = "btn10000";
			this.btn10000.Size = new System.Drawing.Size(83, 23);
			this.btn10000.TabIndex = 12;
			this.btn10000.Text = "10000 Events";
			this.btn10000.UseVisualStyleBackColor = true;
			this.btn10000.Click += new System.EventHandler(this.btn10000_Click);
			// 
			// btn10
			// 
			this.btn10.Location = new System.Drawing.Point(431, 394);
			this.btn10.Name = "btn10";
			this.btn10.Size = new System.Drawing.Size(83, 23);
			this.btn10.TabIndex = 13;
			this.btn10.Text = "10 Events";
			this.btn10.UseVisualStyleBackColor = true;
			this.btn10.Click += new System.EventHandler(this.btn10_Click);
			// 
			// Form1
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(922, 423);
			this.Controls.Add(this.btn10);
			this.Controls.Add(this.btn10000);
			this.Controls.Add(this.btn1000);
			this.Controls.Add(this.btnTraceScope);
			this.Controls.Add(this.bRemoveWidget);
			this.Controls.Add(this.bRemoveGadget);
			this.Controls.Add(this.bHorrificException);
			this.Controls.Add(this.bMinorProblem);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.bAddWidget);
			this.Controls.Add(this.widgetGrid);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.bAddGadget);
			this.Controls.Add(this.gadgetGrid);
			this.Name = "Form1";
			this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
			this.Text = "Form1";
			((System.ComponentModel.ISupportInitialize)(this.gadgetGrid)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.widgetGrid)).EndInit();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.DataGridView gadgetGrid;
		private System.Windows.Forms.Button bAddGadget;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Button bAddWidget;
		private System.Windows.Forms.DataGridView widgetGrid;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Button bMinorProblem;
		private System.Windows.Forms.Button bHorrificException;
		private System.Windows.Forms.Button bRemoveGadget;
		private System.Windows.Forms.Button bRemoveWidget;
		private System.Windows.Forms.Button btnTraceScope;
		private System.Windows.Forms.Button btn1000;
		private System.Windows.Forms.Button btn10000;
		private System.Windows.Forms.Button btn10;
	}
}

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 GNU Lesser General Public License (LGPLv3)


Written By
Software Developer
United Kingdom United Kingdom
I am a software developer originally from Auckland, New Zealand. I have lived and worked in London since 2005.

Comments and Discussions