Click here to Skip to main content
15,881,559 members
Articles / Programming Languages / C#

CodeDom Assistant

Rate me:
Please Sign up or sign in to vote.
4.84/5 (26 votes)
21 Sep 20074 min read 137.3K   6.6K   82  
Generating CodeDom Code By Parsing C# or VB
namespace ScintillaNet
{
	partial class IncrementalSearcher
	{
		/// <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 Component 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.components = new System.ComponentModel.Container();
			this.lblFind = new System.Windows.Forms.Label();
			this.txtFind = new System.Windows.Forms.TextBox();
			this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
			this.btnNext = new System.Windows.Forms.Button();
			this.brnPrevious = new System.Windows.Forms.Button();
			this.btnHighlightAll = new System.Windows.Forms.Button();
			this.btnClearHighlights = new System.Windows.Forms.Button();
			this.toolTip = new System.Windows.Forms.ToolTip(this.components);
			this.flowLayoutPanel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// lblFind
			// 
			this.lblFind.AutoSize = true;
			this.lblFind.Dock = System.Windows.Forms.DockStyle.Left;
			this.lblFind.Location = new System.Drawing.Point(0, 0);
			this.lblFind.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);
			this.lblFind.Name = "lblFind";
			this.lblFind.Size = new System.Drawing.Size(27, 22);
			this.lblFind.TabIndex = 0;
			this.lblFind.Text = "&Find";
			this.lblFind.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// txtFind
			// 
			this.txtFind.Location = new System.Drawing.Point(33, 1);
			this.txtFind.Margin = new System.Windows.Forms.Padding(3, 1, 0, 0);
			this.txtFind.Name = "txtFind";
			this.txtFind.Size = new System.Drawing.Size(135, 20);
			this.txtFind.TabIndex = 1;
			this.txtFind.TextChanged += new System.EventHandler(this.txtFind_TextChanged);
			this.txtFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtFind_KeyDown);
			// 
			// flowLayoutPanel1
			// 
			this.flowLayoutPanel1.AutoSize = true;
			this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.flowLayoutPanel1.Controls.Add(this.lblFind);
			this.flowLayoutPanel1.Controls.Add(this.txtFind);
			this.flowLayoutPanel1.Controls.Add(this.btnNext);
			this.flowLayoutPanel1.Controls.Add(this.brnPrevious);
			this.flowLayoutPanel1.Controls.Add(this.btnHighlightAll);
			this.flowLayoutPanel1.Controls.Add(this.btnClearHighlights);
			this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 0);
			this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
			this.flowLayoutPanel1.Name = "flowLayoutPanel1";
			this.flowLayoutPanel1.Size = new System.Drawing.Size(259, 22);
			this.flowLayoutPanel1.TabIndex = 4;
			this.flowLayoutPanel1.WrapContents = false;
			// 
			// btnNext
			// 
			this.btnNext.AutoSize = true;
			this.btnNext.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.btnNext.FlatAppearance.BorderSize = 0;
			this.btnNext.Image = global::ScintillaNet.Properties.Resources.GoToNextMessage___Copy;
			this.btnNext.Location = new System.Drawing.Point(171, 0);
			this.btnNext.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
			this.btnNext.Name = "btnNext";
			this.btnNext.Size = new System.Drawing.Size(22, 22);
			this.btnNext.TabIndex = 2;
			this.toolTip.SetToolTip(this.btnNext, "Find Next");
			this.btnNext.UseVisualStyleBackColor = true;
			this.btnNext.Click += new System.EventHandler(this.btnNext_Click);
			// 
			// brnPrevious
			// 
			this.brnPrevious.AutoSize = true;
			this.brnPrevious.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.brnPrevious.FlatAppearance.BorderSize = 0;
			this.brnPrevious.Image = global::ScintillaNet.Properties.Resources.GoToPreviousMessage;
			this.brnPrevious.Location = new System.Drawing.Point(193, 0);
			this.brnPrevious.Margin = new System.Windows.Forms.Padding(0);
			this.brnPrevious.Name = "brnPrevious";
			this.brnPrevious.Size = new System.Drawing.Size(22, 22);
			this.brnPrevious.TabIndex = 3;
			this.toolTip.SetToolTip(this.brnPrevious, "Find Previous");
			this.brnPrevious.UseVisualStyleBackColor = true;
			this.brnPrevious.Click += new System.EventHandler(this.brnPrevious_Click);
			// 
			// btnHighlightAll
			// 
			this.btnHighlightAll.AutoSize = true;
			this.btnHighlightAll.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.btnHighlightAll.FlatAppearance.BorderSize = 0;
			this.btnHighlightAll.Font = new System.Drawing.Font("Microsoft Sans Serif", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnHighlightAll.ForeColor = System.Drawing.Color.SkyBlue;
			this.btnHighlightAll.Image = global::ScintillaNet.Properties.Resources.LineColorHS;
			this.btnHighlightAll.Location = new System.Drawing.Point(215, 0);
			this.btnHighlightAll.Margin = new System.Windows.Forms.Padding(0);
			this.btnHighlightAll.Name = "btnHighlightAll";
			this.btnHighlightAll.Size = new System.Drawing.Size(22, 22);
			this.btnHighlightAll.TabIndex = 4;
			this.btnHighlightAll.Text = "&h";
			this.toolTip.SetToolTip(this.btnHighlightAll, "Highlight All Matches (ALT+H)");
			this.btnHighlightAll.UseVisualStyleBackColor = true;
			this.btnHighlightAll.Click += new System.EventHandler(this.btnHighlightAll_Click);
			// 
			// btnClearHighlights
			// 
			this.btnClearHighlights.AutoSize = true;
			this.btnClearHighlights.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.btnClearHighlights.FlatAppearance.BorderSize = 0;
			this.btnClearHighlights.Font = new System.Drawing.Font("Microsoft Sans Serif", 1.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.btnClearHighlights.Image = global::ScintillaNet.Properties.Resources.DeleteHS;
			this.btnClearHighlights.Location = new System.Drawing.Point(237, 0);
			this.btnClearHighlights.Margin = new System.Windows.Forms.Padding(0);
			this.btnClearHighlights.Name = "btnClearHighlights";
			this.btnClearHighlights.Size = new System.Drawing.Size(22, 22);
			this.btnClearHighlights.TabIndex = 5;
			this.btnClearHighlights.Text = "&j";
			this.toolTip.SetToolTip(this.btnClearHighlights, "Clear Highlights (ALT+J)");
			this.btnClearHighlights.UseVisualStyleBackColor = true;
			this.btnClearHighlights.Click += new System.EventHandler(this.btnClearHighlights_Click);
			// 
			// IncrementalSearch
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.AutoSize = true;
			this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
			this.BackColor = System.Drawing.Color.LightSteelBlue;
			this.Controls.Add(this.flowLayoutPanel1);
			this.Margin = new System.Windows.Forms.Padding(0);
			this.Name = "IncrementalSearcher";
			this.Size = new System.Drawing.Size(259, 22);
			this.flowLayoutPanel1.ResumeLayout(false);
			this.flowLayoutPanel1.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.Label lblFind;
		private System.Windows.Forms.TextBox txtFind;
		private System.Windows.Forms.Button btnNext;
		private System.Windows.Forms.Button brnPrevious;
		private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
		private System.Windows.Forms.Button btnHighlightAll;
		private System.Windows.Forms.ToolTip toolTip;
		private System.Windows.Forms.Button btnClearHighlights;
	}
}

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions