Click here to Skip to main content
15,892,674 members
Articles / Programming Languages / Visual Basic

Visual Studio Add-in for testing regular expressions

Rate me:
Please Sign up or sign in to vote.
4.94/5 (17 votes)
1 Dec 2010CPOL4 min read 39.8K   474   36  
An add-in for debugging and creating regular expression directly in Visual Studio
using RegexTester.UserControls;
namespace RegexTester
{
    partial class RegexTesterForm
    {
        /// <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.textBoxItemToMatch = new System.Windows.Forms.TextBox();
            this.labelTextToMatch = new System.Windows.Forms.Label();
            this.labelRegularExpression = new System.Windows.Forms.Label();
            this.tableLayoutPanelTestRegEx = new System.Windows.Forms.TableLayoutPanel();
            this.richTextBoxMatches = new System.Windows.Forms.RichTextBox();
            this.flowLayoutPanelOptions = new System.Windows.Forms.FlowLayoutPanel();
            this.checkBoxIgnoreCase = new System.Windows.Forms.CheckBox();
            this.checkBoxMultiLine = new System.Windows.Forms.CheckBox();
            this.checkBoxExplicitCapture = new System.Windows.Forms.CheckBox();
            this.checkBoxCompiled = new System.Windows.Forms.CheckBox();
            this.checkBoxSingleline = new System.Windows.Forms.CheckBox();
            this.checkBoxIgnorePatternWhitespace = new System.Windows.Forms.CheckBox();
            this.checkBoxRightToLeft = new System.Windows.Forms.CheckBox();
            this.checkBoxECMAScript = new System.Windows.Forms.CheckBox();
            this.checkBoxCultureInvariant = new System.Windows.Forms.CheckBox();
            this.labelReplacePattern = new System.Windows.Forms.Label();
            this.textBoxReplacePattern = new System.Windows.Forms.TextBox();
            this.labelMatches = new System.Windows.Forms.Label();
            this.textBoxReplaceResult = new System.Windows.Forms.TextBox();
            this.labelReplaceResult = new System.Windows.Forms.Label();
            this.buttonOk = new System.Windows.Forms.Button();
            this.buttonCancel = new System.Windows.Forms.Button();
            this.buttonSave = new System.Windows.Forms.Button();
            this.tabControlRegEx = new System.Windows.Forms.TabControl();
            this.tabPageTestRegularExpressions = new System.Windows.Forms.TabPage();
            this.labelWarningEvaluationTime = new System.Windows.Forms.Label();
            this.buttonResetEvaluation = new System.Windows.Forms.Button();
            this.buttonNew = new System.Windows.Forms.Button();
            this.tabPageManageRegularExpressions = new System.Windows.Forms.TabPage();
            this.buttonDelete = new System.Windows.Forms.Button();
            this.dataGridViewRegexs = new System.Windows.Forms.DataGridView();
            this.NameDataGridColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.RegexDataGridColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.showValidRegExTextBox = new RegexTester.UserControls.ShowValidDecorator();
            this.tableLayoutPanelTestRegEx.SuspendLayout();
            this.flowLayoutPanelOptions.SuspendLayout();
            this.tabControlRegEx.SuspendLayout();
            this.tabPageTestRegularExpressions.SuspendLayout();
            this.tabPageManageRegularExpressions.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRegexs)).BeginInit();
            this.SuspendLayout();
            // 
            // textBoxItemToMatch
            // 
            this.tableLayoutPanelTestRegEx.SetColumnSpan(this.textBoxItemToMatch, 2);
            this.textBoxItemToMatch.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBoxItemToMatch.Location = new System.Drawing.Point(123, 161);
            this.textBoxItemToMatch.Multiline = true;
            this.textBoxItemToMatch.Name = "textBoxItemToMatch";
            this.textBoxItemToMatch.Size = new System.Drawing.Size(782, 73);
            this.textBoxItemToMatch.TabIndex = 20;
            this.textBoxItemToMatch.TextChanged += new System.EventHandler(this.regexParameters_Changed);
            // 
            // labelTextToMatch
            // 
            this.labelTextToMatch.AutoSize = true;
            this.labelTextToMatch.Location = new System.Drawing.Point(3, 158);
            this.labelTextToMatch.Name = "labelTextToMatch";
            this.labelTextToMatch.Size = new System.Drawing.Size(75, 13);
            this.labelTextToMatch.TabIndex = 2;
            this.labelTextToMatch.Text = "Text to match:";
            // 
            // labelRegularExpression
            // 
            this.labelRegularExpression.AutoSize = true;
            this.labelRegularExpression.Location = new System.Drawing.Point(3, 0);
            this.labelRegularExpression.Name = "labelRegularExpression";
            this.labelRegularExpression.Size = new System.Drawing.Size(100, 13);
            this.labelRegularExpression.TabIndex = 3;
            this.labelRegularExpression.Text = "Regular expression:";
            // 
            // tableLayoutPanelTestRegEx
            // 
            this.tableLayoutPanelTestRegEx.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.tableLayoutPanelTestRegEx.ColumnCount = 3;
            this.tableLayoutPanelTestRegEx.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
            this.tableLayoutPanelTestRegEx.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanelTestRegEx.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanelTestRegEx.Controls.Add(this.labelTextToMatch, 0, 1);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.labelRegularExpression, 0, 0);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.showValidRegExTextBox, 1, 0);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.textBoxItemToMatch, 1, 1);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.richTextBoxMatches, 1, 4);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.flowLayoutPanelOptions, 0, 3);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.labelReplacePattern, 0, 2);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.textBoxReplacePattern, 1, 2);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.labelMatches, 0, 4);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.textBoxReplaceResult, 1, 5);
            this.tableLayoutPanelTestRegEx.Controls.Add(this.labelReplaceResult, 0, 5);
            this.tableLayoutPanelTestRegEx.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanelTestRegEx.Name = "tableLayoutPanelTestRegEx";
            this.tableLayoutPanelTestRegEx.RowCount = 6;
            this.tableLayoutPanelTestRegEx.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
            this.tableLayoutPanelTestRegEx.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15F));
            this.tableLayoutPanelTestRegEx.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15F));
            this.tableLayoutPanelTestRegEx.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 75F));
            this.tableLayoutPanelTestRegEx.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tableLayoutPanelTestRegEx.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tableLayoutPanelTestRegEx.Size = new System.Drawing.Size(908, 604);
            this.tableLayoutPanelTestRegEx.TabIndex = 7;
            // 
            // richTextBoxMatches
            // 
            this.richTextBoxMatches.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tableLayoutPanelTestRegEx.SetColumnSpan(this.richTextBoxMatches, 2);
            this.richTextBoxMatches.DetectUrls = false;
            this.richTextBoxMatches.Dock = System.Windows.Forms.DockStyle.Fill;
            this.richTextBoxMatches.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.richTextBoxMatches.Location = new System.Drawing.Point(123, 394);
            this.richTextBoxMatches.Name = "richTextBoxMatches";
            this.richTextBoxMatches.ReadOnly = true;
            this.richTextBoxMatches.Size = new System.Drawing.Size(782, 99);
            this.richTextBoxMatches.TabIndex = 120;
            this.richTextBoxMatches.TabStop = false;
            this.richTextBoxMatches.Text = "";
            // 
            // flowLayoutPanelOptions
            // 
            this.tableLayoutPanelTestRegEx.SetColumnSpan(this.flowLayoutPanelOptions, 3);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxIgnoreCase);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxMultiLine);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxExplicitCapture);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxCompiled);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxSingleline);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxIgnorePatternWhitespace);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxRightToLeft);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxECMAScript);
            this.flowLayoutPanelOptions.Controls.Add(this.checkBoxCultureInvariant);
            this.flowLayoutPanelOptions.Dock = System.Windows.Forms.DockStyle.Fill;
            this.flowLayoutPanelOptions.Location = new System.Drawing.Point(3, 319);
            this.flowLayoutPanelOptions.Name = "flowLayoutPanelOptions";
            this.flowLayoutPanelOptions.Size = new System.Drawing.Size(902, 69);
            this.flowLayoutPanelOptions.TabIndex = 8;
            // 
            // checkBoxIgnoreCase
            // 
            this.checkBoxIgnoreCase.AutoSize = true;
            this.checkBoxIgnoreCase.Location = new System.Drawing.Point(3, 3);
            this.checkBoxIgnoreCase.Name = "checkBoxIgnoreCase";
            this.checkBoxIgnoreCase.Size = new System.Drawing.Size(82, 17);
            this.checkBoxIgnoreCase.TabIndex = 30;
            this.checkBoxIgnoreCase.Text = "Ignore case";
            this.checkBoxIgnoreCase.UseVisualStyleBackColor = true;
            // 
            // checkBoxMultiLine
            // 
            this.checkBoxMultiLine.AutoSize = true;
            this.checkBoxMultiLine.Location = new System.Drawing.Point(91, 3);
            this.checkBoxMultiLine.Name = "checkBoxMultiLine";
            this.checkBoxMultiLine.Size = new System.Drawing.Size(64, 17);
            this.checkBoxMultiLine.TabIndex = 40;
            this.checkBoxMultiLine.Text = "Multiline";
            this.checkBoxMultiLine.UseVisualStyleBackColor = true;
            // 
            // checkBoxExplicitCapture
            // 
            this.checkBoxExplicitCapture.AutoSize = true;
            this.checkBoxExplicitCapture.Location = new System.Drawing.Point(161, 3);
            this.checkBoxExplicitCapture.Name = "checkBoxExplicitCapture";
            this.checkBoxExplicitCapture.Size = new System.Drawing.Size(98, 17);
            this.checkBoxExplicitCapture.TabIndex = 50;
            this.checkBoxExplicitCapture.Text = "Explicit capture";
            this.checkBoxExplicitCapture.UseVisualStyleBackColor = true;
            // 
            // checkBoxCompiled
            // 
            this.checkBoxCompiled.AutoSize = true;
            this.checkBoxCompiled.Location = new System.Drawing.Point(265, 3);
            this.checkBoxCompiled.Name = "checkBoxCompiled";
            this.checkBoxCompiled.Size = new System.Drawing.Size(69, 17);
            this.checkBoxCompiled.TabIndex = 60;
            this.checkBoxCompiled.Text = "Compiled";
            this.checkBoxCompiled.UseVisualStyleBackColor = true;
            // 
            // checkBoxSingleline
            // 
            this.checkBoxSingleline.AutoSize = true;
            this.checkBoxSingleline.Location = new System.Drawing.Point(340, 3);
            this.checkBoxSingleline.Name = "checkBoxSingleline";
            this.checkBoxSingleline.Size = new System.Drawing.Size(71, 17);
            this.checkBoxSingleline.TabIndex = 70;
            this.checkBoxSingleline.Text = "Singleline";
            this.checkBoxSingleline.UseVisualStyleBackColor = true;
            // 
            // checkBoxIgnorePatternWhitespace
            // 
            this.checkBoxIgnorePatternWhitespace.AutoSize = true;
            this.checkBoxIgnorePatternWhitespace.Location = new System.Drawing.Point(417, 3);
            this.checkBoxIgnorePatternWhitespace.Name = "checkBoxIgnorePatternWhitespace";
            this.checkBoxIgnorePatternWhitespace.Size = new System.Drawing.Size(149, 17);
            this.checkBoxIgnorePatternWhitespace.TabIndex = 80;
            this.checkBoxIgnorePatternWhitespace.Text = "Ignore pattern whitespace";
            this.checkBoxIgnorePatternWhitespace.UseVisualStyleBackColor = true;
            // 
            // checkBoxRightToLeft
            // 
            this.checkBoxRightToLeft.AutoSize = true;
            this.checkBoxRightToLeft.Location = new System.Drawing.Point(572, 3);
            this.checkBoxRightToLeft.Name = "checkBoxRightToLeft";
            this.checkBoxRightToLeft.Size = new System.Drawing.Size(80, 17);
            this.checkBoxRightToLeft.TabIndex = 90;
            this.checkBoxRightToLeft.Text = "Right to left";
            this.checkBoxRightToLeft.UseVisualStyleBackColor = true;
            // 
            // checkBoxECMAScript
            // 
            this.checkBoxECMAScript.AutoSize = true;
            this.checkBoxECMAScript.Location = new System.Drawing.Point(658, 3);
            this.checkBoxECMAScript.Name = "checkBoxECMAScript";
            this.checkBoxECMAScript.Size = new System.Drawing.Size(84, 17);
            this.checkBoxECMAScript.TabIndex = 100;
            this.checkBoxECMAScript.Text = "ECMA script";
            this.checkBoxECMAScript.UseVisualStyleBackColor = true;
            // 
            // checkBoxCultureInvariant
            // 
            this.checkBoxCultureInvariant.AutoSize = true;
            this.checkBoxCultureInvariant.Location = new System.Drawing.Point(748, 3);
            this.checkBoxCultureInvariant.Name = "checkBoxCultureInvariant";
            this.checkBoxCultureInvariant.Size = new System.Drawing.Size(102, 17);
            this.checkBoxCultureInvariant.TabIndex = 110;
            this.checkBoxCultureInvariant.Text = "Culture invariant";
            this.checkBoxCultureInvariant.UseVisualStyleBackColor = true;
            // 
            // labelReplacePattern
            // 
            this.labelReplacePattern.AutoSize = true;
            this.labelReplacePattern.Location = new System.Drawing.Point(3, 237);
            this.labelReplacePattern.Name = "labelReplacePattern";
            this.labelReplacePattern.Size = new System.Drawing.Size(86, 13);
            this.labelReplacePattern.TabIndex = 21;
            this.labelReplacePattern.Text = "Replace pattern:";
            // 
            // textBoxReplacePattern
            // 
            this.tableLayoutPanelTestRegEx.SetColumnSpan(this.textBoxReplacePattern, 2);
            this.textBoxReplacePattern.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBoxReplacePattern.Location = new System.Drawing.Point(123, 240);
            this.textBoxReplacePattern.Multiline = true;
            this.textBoxReplacePattern.Name = "textBoxReplacePattern";
            this.textBoxReplacePattern.Size = new System.Drawing.Size(782, 73);
            this.textBoxReplacePattern.TabIndex = 22;
            this.textBoxReplacePattern.TextChanged += new System.EventHandler(this.regexParameters_Changed);
            // 
            // labelMatches
            // 
            this.labelMatches.AutoSize = true;
            this.labelMatches.Location = new System.Drawing.Point(3, 391);
            this.labelMatches.Name = "labelMatches";
            this.labelMatches.Size = new System.Drawing.Size(51, 13);
            this.labelMatches.TabIndex = 23;
            this.labelMatches.Text = "Matches:";
            // 
            // textBoxReplaceResult
            // 
            this.textBoxReplaceResult.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.tableLayoutPanelTestRegEx.SetColumnSpan(this.textBoxReplaceResult, 2);
            this.textBoxReplaceResult.Dock = System.Windows.Forms.DockStyle.Fill;
            this.textBoxReplaceResult.Location = new System.Drawing.Point(123, 499);
            this.textBoxReplaceResult.Multiline = true;
            this.textBoxReplaceResult.Name = "textBoxReplaceResult";
            this.textBoxReplaceResult.ReadOnly = true;
            this.textBoxReplaceResult.Size = new System.Drawing.Size(782, 102);
            this.textBoxReplaceResult.TabIndex = 130;
            // 
            // labelReplaceResult
            // 
            this.labelReplaceResult.AutoSize = true;
            this.labelReplaceResult.Location = new System.Drawing.Point(3, 496);
            this.labelReplaceResult.Name = "labelReplaceResult";
            this.labelReplaceResult.Size = new System.Drawing.Size(75, 13);
            this.labelReplaceResult.TabIndex = 25;
            this.labelReplaceResult.Text = "Replace result";
            // 
            // buttonOk
            // 
            this.buttonOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonOk.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.buttonOk.Location = new System.Drawing.Point(746, 610);
            this.buttonOk.Name = "buttonOk";
            this.buttonOk.Size = new System.Drawing.Size(75, 23);
            this.buttonOk.TabIndex = 140;
            this.buttonOk.Text = "&Ok";
            this.buttonOk.UseVisualStyleBackColor = true;
            this.buttonOk.Click += new System.EventHandler(this.buttonOk_Click);
            // 
            // buttonCancel
            // 
            this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonCancel.Location = new System.Drawing.Point(827, 610);
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.Size = new System.Drawing.Size(75, 23);
            this.buttonCancel.TabIndex = 150;
            this.buttonCancel.Text = "&Cancel";
            this.buttonCancel.UseVisualStyleBackColor = true;
            this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click);
            // 
            // buttonSave
            // 
            this.buttonSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonSave.Location = new System.Drawing.Point(87, 610);
            this.buttonSave.Name = "buttonSave";
            this.buttonSave.Size = new System.Drawing.Size(75, 23);
            this.buttonSave.TabIndex = 151;
            this.buttonSave.Text = "Save";
            this.buttonSave.UseVisualStyleBackColor = true;
            this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
            // 
            // tabControlRegEx
            // 
            this.tabControlRegEx.Controls.Add(this.tabPageTestRegularExpressions);
            this.tabControlRegEx.Controls.Add(this.tabPageManageRegularExpressions);
            this.tabControlRegEx.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControlRegEx.Location = new System.Drawing.Point(0, 0);
            this.tabControlRegEx.Margin = new System.Windows.Forms.Padding(0);
            this.tabControlRegEx.Name = "tabControlRegEx";
            this.tabControlRegEx.SelectedIndex = 0;
            this.tabControlRegEx.Size = new System.Drawing.Size(916, 664);
            this.tabControlRegEx.TabIndex = 152;
            // 
            // tabPageTestRegularExpressions
            // 
            this.tabPageTestRegularExpressions.Controls.Add(this.labelWarningEvaluationTime);
            this.tabPageTestRegularExpressions.Controls.Add(this.buttonResetEvaluation);
            this.tabPageTestRegularExpressions.Controls.Add(this.buttonNew);
            this.tabPageTestRegularExpressions.Controls.Add(this.tableLayoutPanelTestRegEx);
            this.tabPageTestRegularExpressions.Controls.Add(this.buttonOk);
            this.tabPageTestRegularExpressions.Controls.Add(this.buttonCancel);
            this.tabPageTestRegularExpressions.Controls.Add(this.buttonSave);
            this.tabPageTestRegularExpressions.Location = new System.Drawing.Point(4, 22);
            this.tabPageTestRegularExpressions.Name = "tabPageTestRegularExpressions";
            this.tabPageTestRegularExpressions.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageTestRegularExpressions.Size = new System.Drawing.Size(908, 638);
            this.tabPageTestRegularExpressions.TabIndex = 0;
            this.tabPageTestRegularExpressions.Text = "Test Regular Expressions";
            this.tabPageTestRegularExpressions.UseVisualStyleBackColor = true;
            // 
            // labelWarningEvaluationTime
            // 
            this.labelWarningEvaluationTime.AutoSize = true;
            this.labelWarningEvaluationTime.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.labelWarningEvaluationTime.ForeColor = System.Drawing.Color.Red;
            this.labelWarningEvaluationTime.Location = new System.Drawing.Point(249, 615);
            this.labelWarningEvaluationTime.Name = "labelWarningEvaluationTime";
            this.labelWarningEvaluationTime.Size = new System.Drawing.Size(310, 13);
            this.labelWarningEvaluationTime.TabIndex = 154;
            this.labelWarningEvaluationTime.Text = "Evaluation is taking a long time. Click Reset to abort.";
            this.labelWarningEvaluationTime.Visible = false;
            // 
            // buttonResetEvaluation
            // 
            this.buttonResetEvaluation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonResetEvaluation.Location = new System.Drawing.Point(168, 610);
            this.buttonResetEvaluation.Name = "buttonResetEvaluation";
            this.buttonResetEvaluation.Size = new System.Drawing.Size(75, 23);
            this.buttonResetEvaluation.TabIndex = 153;
            this.buttonResetEvaluation.Text = "Reset Evaluation";
            this.buttonResetEvaluation.UseVisualStyleBackColor = true;
            this.buttonResetEvaluation.Click += new System.EventHandler(this.buttonResetEvaluation_Click);
            // 
            // buttonNew
            // 
            this.buttonNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonNew.Location = new System.Drawing.Point(6, 610);
            this.buttonNew.Name = "buttonNew";
            this.buttonNew.Size = new System.Drawing.Size(75, 23);
            this.buttonNew.TabIndex = 152;
            this.buttonNew.Text = "New";
            this.buttonNew.UseVisualStyleBackColor = true;
            this.buttonNew.Click += new System.EventHandler(this.buttonNew_Click);
            // 
            // tabPageManageRegularExpressions
            // 
            this.tabPageManageRegularExpressions.Controls.Add(this.buttonDelete);
            this.tabPageManageRegularExpressions.Controls.Add(this.dataGridViewRegexs);
            this.tabPageManageRegularExpressions.Location = new System.Drawing.Point(4, 22);
            this.tabPageManageRegularExpressions.Name = "tabPageManageRegularExpressions";
            this.tabPageManageRegularExpressions.Padding = new System.Windows.Forms.Padding(3);
            this.tabPageManageRegularExpressions.Size = new System.Drawing.Size(908, 638);
            this.tabPageManageRegularExpressions.TabIndex = 1;
            this.tabPageManageRegularExpressions.Text = "Manage Regular Expressions";
            this.tabPageManageRegularExpressions.UseVisualStyleBackColor = true;
            // 
            // buttonDelete
            // 
            this.buttonDelete.Location = new System.Drawing.Point(6, 607);
            this.buttonDelete.Name = "buttonDelete";
            this.buttonDelete.Size = new System.Drawing.Size(75, 23);
            this.buttonDelete.TabIndex = 1;
            this.buttonDelete.Text = "Delete";
            this.buttonDelete.UseVisualStyleBackColor = true;
            this.buttonDelete.Click += new System.EventHandler(this.buttonDelete_Click);
            // 
            // dataGridViewRegexs
            // 
            this.dataGridViewRegexs.AllowDrop = true;
            this.dataGridViewRegexs.AllowUserToAddRows = false;
            this.dataGridViewRegexs.AllowUserToDeleteRows = false;
            this.dataGridViewRegexs.AllowUserToResizeColumns = false;
            this.dataGridViewRegexs.AllowUserToResizeRows = false;
            this.dataGridViewRegexs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.dataGridViewRegexs.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dataGridViewRegexs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.NameDataGridColumn,
            this.RegexDataGridColumn});
            this.dataGridViewRegexs.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
            this.dataGridViewRegexs.Location = new System.Drawing.Point(3, 3);
            this.dataGridViewRegexs.Name = "dataGridViewRegexs";
            this.dataGridViewRegexs.ReadOnly = true;
            this.dataGridViewRegexs.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
            this.dataGridViewRegexs.RowHeadersVisible = false;
            this.dataGridViewRegexs.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridViewRegexs.Size = new System.Drawing.Size(902, 598);
            this.dataGridViewRegexs.TabIndex = 0;
            this.dataGridViewRegexs.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewRegexs_CellDoubleClick);
            // 
            // NameDataGridColumn
            // 
            this.NameDataGridColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
            this.NameDataGridColumn.FillWeight = 30F;
            this.NameDataGridColumn.HeaderText = "Name";
            this.NameDataGridColumn.Name = "NameDataGridColumn";
            this.NameDataGridColumn.ReadOnly = true;
            // 
            // RegexDataGridColumn
            // 
            this.RegexDataGridColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
            this.RegexDataGridColumn.FillWeight = 70F;
            this.RegexDataGridColumn.HeaderText = "Regular Expression";
            this.RegexDataGridColumn.Name = "RegexDataGridColumn";
            this.RegexDataGridColumn.ReadOnly = true;
            // 
            // showValidRegExTextBox
            // 
            this.showValidRegExTextBox.BorderWidth = 0;
            this.tableLayoutPanelTestRegEx.SetColumnSpan(this.showValidRegExTextBox, 2);
            this.showValidRegExTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
            this.showValidRegExTextBox.IsValid = true;
            this.showValidRegExTextBox.Location = new System.Drawing.Point(123, 3);
            this.showValidRegExTextBox.Name = "showValidRegExTextBox";
            this.showValidRegExTextBox.Size = new System.Drawing.Size(782, 152);
            this.showValidRegExTextBox.TabIndex = 10;
            this.showValidRegExTextBox.WrappedControl = null;
            // 
            // RegexTesterForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(916, 664);
            this.Controls.Add(this.tabControlRegEx);
            this.Name = "RegexTesterForm";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.Text = "Test Regular Expressions";
            this.tableLayoutPanelTestRegEx.ResumeLayout(false);
            this.tableLayoutPanelTestRegEx.PerformLayout();
            this.flowLayoutPanelOptions.ResumeLayout(false);
            this.flowLayoutPanelOptions.PerformLayout();
            this.tabControlRegEx.ResumeLayout(false);
            this.tabPageTestRegularExpressions.ResumeLayout(false);
            this.tabPageTestRegularExpressions.PerformLayout();
            this.tabPageManageRegularExpressions.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridViewRegexs)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.TextBox textBoxItemToMatch;
        private System.Windows.Forms.Label labelTextToMatch;
        private System.Windows.Forms.Label labelRegularExpression;
        private ShowValidDecorator showValidRegExTextBox;
        private System.Windows.Forms.TableLayoutPanel tableLayoutPanelTestRegEx;
        private System.Windows.Forms.Button buttonOk;
        private System.Windows.Forms.Button buttonCancel;
        private System.Windows.Forms.RichTextBox richTextBoxMatches;
        private System.Windows.Forms.FlowLayoutPanel flowLayoutPanelOptions;
        private System.Windows.Forms.CheckBox checkBoxIgnoreCase;
        private System.Windows.Forms.CheckBox checkBoxMultiLine;
        private System.Windows.Forms.CheckBox checkBoxExplicitCapture;
        private System.Windows.Forms.CheckBox checkBoxCompiled;
        private System.Windows.Forms.CheckBox checkBoxSingleline;
        private System.Windows.Forms.CheckBox checkBoxIgnorePatternWhitespace;
        private System.Windows.Forms.CheckBox checkBoxRightToLeft;
        private System.Windows.Forms.CheckBox checkBoxECMAScript;
        private System.Windows.Forms.CheckBox checkBoxCultureInvariant;
        private System.Windows.Forms.Label labelReplacePattern;
        private System.Windows.Forms.TextBox textBoxReplacePattern;
        private System.Windows.Forms.Label labelMatches;
        private System.Windows.Forms.TextBox textBoxReplaceResult;
        private System.Windows.Forms.Label labelReplaceResult;
        private System.Windows.Forms.Button buttonSave;
        private System.Windows.Forms.TabControl tabControlRegEx;
        private System.Windows.Forms.TabPage tabPageTestRegularExpressions;
        private System.Windows.Forms.TabPage tabPageManageRegularExpressions;
        private System.Windows.Forms.DataGridView dataGridViewRegexs;
        private System.Windows.Forms.DataGridViewTextBoxColumn NameDataGridColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn RegexDataGridColumn;
        private System.Windows.Forms.Button buttonDelete;
        private System.Windows.Forms.Button buttonNew;
        private System.Windows.Forms.Button buttonResetEvaluation;
        private System.Windows.Forms.Label labelWarningEvaluationTime;
    }
}

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)


Written By
Software Developer (Senior)
Denmark Denmark
.NET developer. I wanted to be first an astronaut, then a jet pilot, but when I got a Commodore 64 for Christmas I never looked back. Also I would never have qualified for the first two things and everybody knows computer programmers get all the girls.

Comments and Discussions