Exemplo n.º 1
0
        private void deleteToolStripButton_Click(object sender, EventArgs e)
        {
            IntellisenseTextBox itb = this.ActiveControl as IntellisenseTextBox;

            if (itb != null)
            {
                itb.HideIntellisenceDropDown();
            }
            MessageBoxOptions mbo = (MessageBoxOptions)0;

            if (CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft)
            {
                mbo = MessageBoxOptions.RightAlign | MessageBoxOptions.RtlReading;
            }
            DialogResult dr = MessageBox.Show(this, Messages.RuleConfirmDeleteMessageText, Messages.DeleteRule,
                                              MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, mbo);

            if (dr == DialogResult.OK)
            {
                Rule rule = this.rulesListView.SelectedItems[0].Tag as Rule;

                int selectionIndex = this.rulesListView.SelectedIndices[0];
                this.dialogRuleSet.Rules.Remove(rule);
                this.rulesListView.Items.RemoveAt(selectionIndex);
                if (this.rulesListView.Items.Count > 0)
                {
                    int newSelectionIndex = Math.Min(selectionIndex, this.rulesListView.Items.Count - 1);
                    this.rulesListView.Items[newSelectionIndex].Selected = true;
                }
            }
        }
Exemplo n.º 2
0
        private void deleteToolStripButton_Click(object sender, EventArgs e)
        {
            IntellisenseTextBox activeControl = base.ActiveControl as IntellisenseTextBox;

            if (activeControl != null)
            {
                activeControl.HideIntellisenceDropDown();
            }
            MessageBoxOptions options = 0;

            if (CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft)
            {
                options = MessageBoxOptions.RtlReading | MessageBoxOptions.RightAlign;
            }
            if (MessageBox.Show(this, Messages.RuleConfirmDeleteMessageText, Messages.DeleteRule, MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, options) == DialogResult.OK)
            {
                Rule tag   = this.rulesListView.SelectedItems[0].Tag as Rule;
                int  index = this.rulesListView.SelectedIndices[0];
                this.dialogRuleSet.Rules.Remove(tag);
                this.rulesListView.Items.RemoveAt(index);
                if (this.rulesListView.Items.Count > 0)
                {
                    int num2 = Math.Min(index, this.rulesListView.Items.Count - 1);
                    this.rulesListView.Items[num2].Selected = true;
                }
            }
        }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(RuleConditionDialog));
     this.okCancelTableLayoutPanel = new TableLayoutPanel();
     this.okButton = new Button();
     this.cancelButton = new Button();
     this.headerLabel = new Label();
     this.headerPictureBox = new PictureBox();
     this.conditionTextBox = new IntellisenseTextBox();
     this.conditionLabel = new Label();
     this.conditionErrorProvider = new ErrorProvider(this.components);
     this.okCancelTableLayoutPanel.SuspendLayout();
     ((ISupportInitialize) this.headerPictureBox).BeginInit();
     ((ISupportInitialize) this.conditionErrorProvider).BeginInit();
     base.SuspendLayout();
     manager.ApplyResources(this.okCancelTableLayoutPanel, "okCancelTableLayoutPanel");
     this.okCancelTableLayoutPanel.CausesValidation = false;
     this.okCancelTableLayoutPanel.Controls.Add(this.okButton, 0, 0);
     this.okCancelTableLayoutPanel.Controls.Add(this.cancelButton, 1, 0);
     this.okCancelTableLayoutPanel.Name = "okCancelTableLayoutPanel";
     manager.ApplyResources(this.okButton, "okButton");
     this.okButton.DialogResult = DialogResult.OK;
     this.okButton.Name = "okButton";
     this.okButton.Click += new EventHandler(this.okButton_Click);
     manager.ApplyResources(this.cancelButton, "cancelButton");
     this.cancelButton.CausesValidation = false;
     this.cancelButton.DialogResult = DialogResult.Cancel;
     this.cancelButton.Name = "cancelButton";
     manager.ApplyResources(this.headerLabel, "headerLabel");
     this.headerLabel.Name = "headerLabel";
     manager.ApplyResources(this.headerPictureBox, "headerPictureBox");
     this.headerPictureBox.Name = "headerPictureBox";
     this.headerPictureBox.TabStop = false;
     this.conditionTextBox.AcceptsReturn = true;
     manager.ApplyResources(this.conditionTextBox, "conditionTextBox");
     this.conditionTextBox.Name = "conditionTextBox";
     this.conditionTextBox.Validating += new CancelEventHandler(this.conditionTextBox_Validating);
     manager.ApplyResources(this.conditionLabel, "conditionLabel");
     this.conditionLabel.Name = "conditionLabel";
     this.conditionErrorProvider.BlinkStyle = ErrorBlinkStyle.NeverBlink;
     this.conditionErrorProvider.ContainerControl = this;
     base.AcceptButton = this.okButton;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.cancelButton;
     base.Controls.Add(this.conditionLabel);
     base.Controls.Add(this.conditionTextBox);
     base.Controls.Add(this.okCancelTableLayoutPanel);
     base.Controls.Add(this.headerLabel);
     base.Controls.Add(this.headerPictureBox);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.HelpButton = true;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "RuleConditionDialog";
     base.ShowInTaskbar = false;
     base.FormClosing += new FormClosingEventHandler(this.RuleConditionDialog_FormClosing);
     this.okCancelTableLayoutPanel.ResumeLayout(false);
     this.okCancelTableLayoutPanel.PerformLayout();
     ((ISupportInitialize) this.headerPictureBox).EndInit();
     ((ISupportInitialize) this.conditionErrorProvider).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
Exemplo n.º 4
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(RuleConditionDialog));

            this.okCancelTableLayoutPanel = new TableLayoutPanel();
            this.okButton               = new Button();
            this.cancelButton           = new Button();
            this.headerLabel            = new Label();
            this.headerPictureBox       = new PictureBox();
            this.conditionTextBox       = new IntellisenseTextBox();
            this.conditionLabel         = new Label();
            this.conditionErrorProvider = new ErrorProvider(this.components);
            this.okCancelTableLayoutPanel.SuspendLayout();
            ((ISupportInitialize)this.headerPictureBox).BeginInit();
            ((ISupportInitialize)this.conditionErrorProvider).BeginInit();
            base.SuspendLayout();
            manager.ApplyResources(this.okCancelTableLayoutPanel, "okCancelTableLayoutPanel");
            this.okCancelTableLayoutPanel.CausesValidation = false;
            this.okCancelTableLayoutPanel.Controls.Add(this.okButton, 0, 0);
            this.okCancelTableLayoutPanel.Controls.Add(this.cancelButton, 1, 0);
            this.okCancelTableLayoutPanel.Name = "okCancelTableLayoutPanel";
            manager.ApplyResources(this.okButton, "okButton");
            this.okButton.DialogResult = DialogResult.OK;
            this.okButton.Name         = "okButton";
            this.okButton.Click       += new EventHandler(this.okButton_Click);
            manager.ApplyResources(this.cancelButton, "cancelButton");
            this.cancelButton.CausesValidation = false;
            this.cancelButton.DialogResult     = DialogResult.Cancel;
            this.cancelButton.Name             = "cancelButton";
            manager.ApplyResources(this.headerLabel, "headerLabel");
            this.headerLabel.Name = "headerLabel";
            manager.ApplyResources(this.headerPictureBox, "headerPictureBox");
            this.headerPictureBox.Name          = "headerPictureBox";
            this.headerPictureBox.TabStop       = false;
            this.conditionTextBox.AcceptsReturn = true;
            manager.ApplyResources(this.conditionTextBox, "conditionTextBox");
            this.conditionTextBox.Name        = "conditionTextBox";
            this.conditionTextBox.Validating += new CancelEventHandler(this.conditionTextBox_Validating);
            manager.ApplyResources(this.conditionLabel, "conditionLabel");
            this.conditionLabel.Name = "conditionLabel";
            this.conditionErrorProvider.BlinkStyle       = ErrorBlinkStyle.NeverBlink;
            this.conditionErrorProvider.ContainerControl = this;
            base.AcceptButton = this.okButton;
            manager.ApplyResources(this, "$this");
            base.AutoScaleMode = AutoScaleMode.Font;
            base.CancelButton  = this.cancelButton;
            base.Controls.Add(this.conditionLabel);
            base.Controls.Add(this.conditionTextBox);
            base.Controls.Add(this.okCancelTableLayoutPanel);
            base.Controls.Add(this.headerLabel);
            base.Controls.Add(this.headerPictureBox);
            base.FormBorderStyle = FormBorderStyle.FixedDialog;
            base.HelpButton      = true;
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "RuleConditionDialog";
            base.ShowInTaskbar   = false;
            base.FormClosing    += new FormClosingEventHandler(this.RuleConditionDialog_FormClosing);
            this.okCancelTableLayoutPanel.ResumeLayout(false);
            this.okCancelTableLayoutPanel.PerformLayout();
            ((ISupportInitialize)this.headerPictureBox).EndInit();
            ((ISupportInitialize)this.conditionErrorProvider).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
Exemplo n.º 5
0
        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(RuleSetDialog));

            this.nameColumnHeader              = new ColumnHeader();
            this.rulesListView                 = new ListView();
            this.priorityColumnHeader          = new ColumnHeader();
            this.reevaluationCountColumnHeader = new ColumnHeader();
            this.activeColumnHeader            = new ColumnHeader();
            this.rulePreviewColumnHeader       = new ColumnHeader();
            this.rulesGroupBox                 = new GroupBox();
            this.panel1                    = new Panel();
            this.chainingLabel             = new Label();
            this.chainingBehaviourComboBox = new ComboBox();
            this.rulesToolStrip            = new ToolStrip();
            this.imageList                 = new ImageList(this.components);
            this.newRuleToolStripButton    = new ToolStripButton();
            this.toolStripSeparator1       = new ToolStripSeparator();
            this.deleteToolStripButton     = new ToolStripButton();
            this.buttonOK                  = new Button();
            this.ruleGroupBox              = new GroupBox();
            this.reevaluationComboBox      = new ComboBox();
            this.elseTextBox               = new IntellisenseTextBox();
            this.elseLabel                 = new Label();
            this.thenTextBox               = new IntellisenseTextBox();
            this.thenLabel                 = new Label();
            this.conditionTextBox          = new IntellisenseTextBox();
            this.conditionLabel            = new Label();
            this.nameTextBox               = new TextBox();
            this.nameLabel                 = new Label();
            this.activeCheckBox            = new CheckBox();
            this.reevaluationLabel         = new Label();
            this.priorityTextBox           = new TextBox();
            this.priorityLabel             = new Label();
            this.buttonCancel              = new Button();
            this.headerTextLabel           = new Label();
            this.pictureBoxHeader          = new PictureBox();
            this.okCancelTableLayoutPanel  = new TableLayoutPanel();
            this.conditionErrorProvider    = new ErrorProvider(this.components);
            this.thenErrorProvider         = new ErrorProvider(this.components);
            this.elseErrorProvider         = new ErrorProvider(this.components);
            this.rulesGroupBox.SuspendLayout();
            this.panel1.SuspendLayout();
            this.rulesToolStrip.SuspendLayout();
            this.ruleGroupBox.SuspendLayout();
            ((ISupportInitialize)this.pictureBoxHeader).BeginInit();
            this.okCancelTableLayoutPanel.SuspendLayout();
            ((ISupportInitialize)this.conditionErrorProvider).BeginInit();
            ((ISupportInitialize)this.thenErrorProvider).BeginInit();
            ((ISupportInitialize)this.elseErrorProvider).BeginInit();
            base.SuspendLayout();
            this.nameColumnHeader.Name = "nameColumnHeader";
            manager.ApplyResources(this.nameColumnHeader, "nameColumnHeader");
            this.rulesListView.Columns.AddRange(new ColumnHeader[] { this.nameColumnHeader, this.priorityColumnHeader, this.reevaluationCountColumnHeader, this.activeColumnHeader, this.rulePreviewColumnHeader });
            manager.ApplyResources(this.rulesListView, "rulesListView");
            this.rulesListView.FullRowSelect = true;
            this.rulesListView.HideSelection = false;
            this.rulesListView.MultiSelect   = false;
            this.rulesListView.Name          = "rulesListView";
            this.rulesListView.UseCompatibleStateImageBehavior = false;
            this.rulesListView.View = View.Details;
            this.rulesListView.SelectedIndexChanged += new EventHandler(this.rulesListView_SelectedIndexChanged);
            this.rulesListView.ColumnClick          += new ColumnClickEventHandler(this.rulesListView_ColumnClick);
            manager.ApplyResources(this.priorityColumnHeader, "priorityColumnHeader");
            manager.ApplyResources(this.reevaluationCountColumnHeader, "reevaluationCountColumnHeader");
            manager.ApplyResources(this.activeColumnHeader, "activeColumnHeader");
            manager.ApplyResources(this.rulePreviewColumnHeader, "rulePreviewColumnHeader");
            this.rulesGroupBox.Controls.Add(this.panel1);
            manager.ApplyResources(this.rulesGroupBox, "rulesGroupBox");
            this.rulesGroupBox.Name    = "rulesGroupBox";
            this.rulesGroupBox.TabStop = false;
            this.panel1.Controls.Add(this.chainingLabel);
            this.panel1.Controls.Add(this.chainingBehaviourComboBox);
            this.panel1.Controls.Add(this.rulesToolStrip);
            this.panel1.Controls.Add(this.rulesListView);
            manager.ApplyResources(this.panel1, "panel1");
            this.panel1.Name = "panel1";
            manager.ApplyResources(this.chainingLabel, "chainingLabel");
            this.chainingLabel.Name = "chainingLabel";
            this.chainingBehaviourComboBox.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.chainingBehaviourComboBox.FormattingEnabled = true;
            manager.ApplyResources(this.chainingBehaviourComboBox, "chainingBehaviourComboBox");
            this.chainingBehaviourComboBox.Name = "chainingBehaviourComboBox";
            this.chainingBehaviourComboBox.SelectedIndexChanged += new EventHandler(this.chainingBehaviourComboBox_SelectedIndexChanged);
            this.rulesToolStrip.BackColor = SystemColors.Control;
            this.rulesToolStrip.GripStyle = ToolStripGripStyle.Hidden;
            this.rulesToolStrip.ImageList = this.imageList;
            this.rulesToolStrip.Items.AddRange(new ToolStripItem[] { this.newRuleToolStripButton, this.toolStripSeparator1, this.deleteToolStripButton });
            manager.ApplyResources(this.rulesToolStrip, "rulesToolStrip");
            this.rulesToolStrip.Name        = "rulesToolStrip";
            this.rulesToolStrip.RenderMode  = ToolStripRenderMode.System;
            this.rulesToolStrip.TabStop     = true;
            this.imageList.ImageStream      = (ImageListStreamer)manager.GetObject("imageList.ImageStream");
            this.imageList.TransparentColor = Color.Transparent;
            this.imageList.Images.SetKeyName(0, "NewRule.bmp");
            this.imageList.Images.SetKeyName(1, "RenameRule.bmp");
            this.imageList.Images.SetKeyName(2, "Delete.bmp");
            manager.ApplyResources(this.newRuleToolStripButton, "newRuleToolStripButton");
            this.newRuleToolStripButton.Name   = "newRuleToolStripButton";
            this.newRuleToolStripButton.Click += new EventHandler(this.newRuleToolStripButton_Click);
            this.toolStripSeparator1.Name      = "toolStripSeparator1";
            manager.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
            manager.ApplyResources(this.deleteToolStripButton, "deleteToolStripButton");
            this.deleteToolStripButton.Name   = "deleteToolStripButton";
            this.deleteToolStripButton.Click += new EventHandler(this.deleteToolStripButton_Click);
            manager.ApplyResources(this.buttonOK, "buttonOK");
            this.buttonOK.DialogResult = DialogResult.OK;
            this.buttonOK.Name         = "buttonOK";
            this.ruleGroupBox.Controls.Add(this.reevaluationComboBox);
            this.ruleGroupBox.Controls.Add(this.elseTextBox);
            this.ruleGroupBox.Controls.Add(this.elseLabel);
            this.ruleGroupBox.Controls.Add(this.thenTextBox);
            this.ruleGroupBox.Controls.Add(this.thenLabel);
            this.ruleGroupBox.Controls.Add(this.conditionTextBox);
            this.ruleGroupBox.Controls.Add(this.conditionLabel);
            this.ruleGroupBox.Controls.Add(this.nameTextBox);
            this.ruleGroupBox.Controls.Add(this.nameLabel);
            this.ruleGroupBox.Controls.Add(this.activeCheckBox);
            this.ruleGroupBox.Controls.Add(this.reevaluationLabel);
            this.ruleGroupBox.Controls.Add(this.priorityTextBox);
            this.ruleGroupBox.Controls.Add(this.priorityLabel);
            manager.ApplyResources(this.ruleGroupBox, "ruleGroupBox");
            this.ruleGroupBox.Name    = "ruleGroupBox";
            this.ruleGroupBox.TabStop = false;
            this.reevaluationComboBox.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.reevaluationComboBox.FormattingEnabled = true;
            manager.ApplyResources(this.reevaluationComboBox, "reevaluationComboBox");
            this.reevaluationComboBox.Name = "reevaluationComboBox";
            this.reevaluationComboBox.SelectedIndexChanged += new EventHandler(this.reevaluationComboBox_SelectedIndexChanged);
            this.elseTextBox.AcceptsReturn = true;
            manager.ApplyResources(this.elseTextBox, "elseTextBox");
            this.elseTextBox.Name        = "elseTextBox";
            this.elseTextBox.Validating += new CancelEventHandler(this.elseTextBox_Validating);
            manager.ApplyResources(this.elseLabel, "elseLabel");
            this.elseLabel.Name            = "elseLabel";
            this.thenTextBox.AcceptsReturn = true;
            manager.ApplyResources(this.thenTextBox, "thenTextBox");
            this.thenTextBox.Name        = "thenTextBox";
            this.thenTextBox.Validating += new CancelEventHandler(this.thenTextBox_Validating);
            manager.ApplyResources(this.thenLabel, "thenLabel");
            this.thenLabel.Name = "thenLabel";
            this.conditionTextBox.AcceptsReturn = true;
            manager.ApplyResources(this.conditionTextBox, "conditionTextBox");
            this.conditionTextBox.Name        = "conditionTextBox";
            this.conditionTextBox.Validating += new CancelEventHandler(this.conditionTextBox_Validating);
            manager.ApplyResources(this.conditionLabel, "conditionLabel");
            this.conditionLabel.Name = "conditionLabel";
            manager.ApplyResources(this.nameTextBox, "nameTextBox");
            this.nameTextBox.Name        = "nameTextBox";
            this.nameTextBox.Validating += new CancelEventHandler(this.nameTextBox_Validating);
            manager.ApplyResources(this.nameLabel, "nameLabel");
            this.nameLabel.Name = "nameLabel";
            manager.ApplyResources(this.activeCheckBox, "activeCheckBox");
            this.activeCheckBox.Name            = "activeCheckBox";
            this.activeCheckBox.CheckedChanged += new EventHandler(this.activeCheckBox_CheckedChanged);
            manager.ApplyResources(this.reevaluationLabel, "reevaluationLabel");
            this.reevaluationLabel.Name = "reevaluationLabel";
            manager.ApplyResources(this.priorityTextBox, "priorityTextBox");
            this.priorityTextBox.Name        = "priorityTextBox";
            this.priorityTextBox.Validating += new CancelEventHandler(this.priorityTextBox_Validating);
            manager.ApplyResources(this.priorityLabel, "priorityLabel");
            this.priorityLabel.Name = "priorityLabel";
            manager.ApplyResources(this.buttonCancel, "buttonCancel");
            this.buttonCancel.CausesValidation = false;
            this.buttonCancel.DialogResult     = DialogResult.Cancel;
            this.buttonCancel.Name             = "buttonCancel";
            this.buttonCancel.Click           += new EventHandler(this.buttonCancel_Click);
            manager.ApplyResources(this.headerTextLabel, "headerTextLabel");
            this.headerTextLabel.Name = "headerTextLabel";
            manager.ApplyResources(this.pictureBoxHeader, "pictureBoxHeader");
            this.pictureBoxHeader.Name    = "pictureBoxHeader";
            this.pictureBoxHeader.TabStop = false;
            manager.ApplyResources(this.okCancelTableLayoutPanel, "okCancelTableLayoutPanel");
            this.okCancelTableLayoutPanel.CausesValidation = false;
            this.okCancelTableLayoutPanel.Controls.Add(this.buttonOK, 0, 0);
            this.okCancelTableLayoutPanel.Controls.Add(this.buttonCancel, 1, 0);
            this.okCancelTableLayoutPanel.Name           = "okCancelTableLayoutPanel";
            this.conditionErrorProvider.BlinkStyle       = ErrorBlinkStyle.NeverBlink;
            this.conditionErrorProvider.ContainerControl = this;
            this.thenErrorProvider.BlinkStyle            = ErrorBlinkStyle.NeverBlink;
            this.thenErrorProvider.ContainerControl      = this;
            this.elseErrorProvider.BlinkStyle            = ErrorBlinkStyle.NeverBlink;
            this.elseErrorProvider.ContainerControl      = this;
            base.AcceptButton = this.buttonOK;
            manager.ApplyResources(this, "$this");
            base.AutoScaleMode = AutoScaleMode.Font;
            base.CancelButton  = this.buttonCancel;
            base.Controls.Add(this.ruleGroupBox);
            base.Controls.Add(this.headerTextLabel);
            base.Controls.Add(this.pictureBoxHeader);
            base.Controls.Add(this.okCancelTableLayoutPanel);
            base.Controls.Add(this.rulesGroupBox);
            base.FormBorderStyle = FormBorderStyle.FixedDialog;
            base.HelpButton      = true;
            base.MaximizeBox     = false;
            base.MinimizeBox     = false;
            base.Name            = "RuleSetDialog";
            base.ShowInTaskbar   = false;
            base.SizeGripStyle   = SizeGripStyle.Hide;
            this.rulesGroupBox.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.rulesToolStrip.ResumeLayout(false);
            this.rulesToolStrip.PerformLayout();
            this.ruleGroupBox.ResumeLayout(false);
            this.ruleGroupBox.PerformLayout();
            ((ISupportInitialize)this.pictureBoxHeader).EndInit();
            this.okCancelTableLayoutPanel.ResumeLayout(false);
            this.okCancelTableLayoutPanel.PerformLayout();
            ((ISupportInitialize)this.conditionErrorProvider).EndInit();
            ((ISupportInitialize)this.thenErrorProvider).EndInit();
            ((ISupportInitialize)this.elseErrorProvider).EndInit();
            base.ResumeLayout(false);
            base.PerformLayout();
        }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(RuleSetDialog));
     this.nameColumnHeader = new ColumnHeader();
     this.rulesListView = new ListView();
     this.priorityColumnHeader = new ColumnHeader();
     this.reevaluationCountColumnHeader = new ColumnHeader();
     this.activeColumnHeader = new ColumnHeader();
     this.rulePreviewColumnHeader = new ColumnHeader();
     this.rulesGroupBox = new GroupBox();
     this.panel1 = new Panel();
     this.chainingLabel = new Label();
     this.chainingBehaviourComboBox = new ComboBox();
     this.rulesToolStrip = new ToolStrip();
     this.imageList = new ImageList(this.components);
     this.newRuleToolStripButton = new ToolStripButton();
     this.toolStripSeparator1 = new ToolStripSeparator();
     this.deleteToolStripButton = new ToolStripButton();
     this.buttonOK = new Button();
     this.ruleGroupBox = new GroupBox();
     this.reevaluationComboBox = new ComboBox();
     this.elseTextBox = new IntellisenseTextBox();
     this.elseLabel = new Label();
     this.thenTextBox = new IntellisenseTextBox();
     this.thenLabel = new Label();
     this.conditionTextBox = new IntellisenseTextBox();
     this.conditionLabel = new Label();
     this.nameTextBox = new TextBox();
     this.nameLabel = new Label();
     this.activeCheckBox = new CheckBox();
     this.reevaluationLabel = new Label();
     this.priorityTextBox = new TextBox();
     this.priorityLabel = new Label();
     this.buttonCancel = new Button();
     this.headerTextLabel = new Label();
     this.pictureBoxHeader = new PictureBox();
     this.okCancelTableLayoutPanel = new TableLayoutPanel();
     this.conditionErrorProvider = new ErrorProvider(this.components);
     this.thenErrorProvider = new ErrorProvider(this.components);
     this.elseErrorProvider = new ErrorProvider(this.components);
     this.rulesGroupBox.SuspendLayout();
     this.panel1.SuspendLayout();
     this.rulesToolStrip.SuspendLayout();
     this.ruleGroupBox.SuspendLayout();
     ((ISupportInitialize) this.pictureBoxHeader).BeginInit();
     this.okCancelTableLayoutPanel.SuspendLayout();
     ((ISupportInitialize) this.conditionErrorProvider).BeginInit();
     ((ISupportInitialize) this.thenErrorProvider).BeginInit();
     ((ISupportInitialize) this.elseErrorProvider).BeginInit();
     base.SuspendLayout();
     this.nameColumnHeader.Name = "nameColumnHeader";
     manager.ApplyResources(this.nameColumnHeader, "nameColumnHeader");
     this.rulesListView.Columns.AddRange(new ColumnHeader[] { this.nameColumnHeader, this.priorityColumnHeader, this.reevaluationCountColumnHeader, this.activeColumnHeader, this.rulePreviewColumnHeader });
     manager.ApplyResources(this.rulesListView, "rulesListView");
     this.rulesListView.FullRowSelect = true;
     this.rulesListView.HideSelection = false;
     this.rulesListView.MultiSelect = false;
     this.rulesListView.Name = "rulesListView";
     this.rulesListView.UseCompatibleStateImageBehavior = false;
     this.rulesListView.View = View.Details;
     this.rulesListView.SelectedIndexChanged += new EventHandler(this.rulesListView_SelectedIndexChanged);
     this.rulesListView.ColumnClick += new ColumnClickEventHandler(this.rulesListView_ColumnClick);
     manager.ApplyResources(this.priorityColumnHeader, "priorityColumnHeader");
     manager.ApplyResources(this.reevaluationCountColumnHeader, "reevaluationCountColumnHeader");
     manager.ApplyResources(this.activeColumnHeader, "activeColumnHeader");
     manager.ApplyResources(this.rulePreviewColumnHeader, "rulePreviewColumnHeader");
     this.rulesGroupBox.Controls.Add(this.panel1);
     manager.ApplyResources(this.rulesGroupBox, "rulesGroupBox");
     this.rulesGroupBox.Name = "rulesGroupBox";
     this.rulesGroupBox.TabStop = false;
     this.panel1.Controls.Add(this.chainingLabel);
     this.panel1.Controls.Add(this.chainingBehaviourComboBox);
     this.panel1.Controls.Add(this.rulesToolStrip);
     this.panel1.Controls.Add(this.rulesListView);
     manager.ApplyResources(this.panel1, "panel1");
     this.panel1.Name = "panel1";
     manager.ApplyResources(this.chainingLabel, "chainingLabel");
     this.chainingLabel.Name = "chainingLabel";
     this.chainingBehaviourComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this.chainingBehaviourComboBox.FormattingEnabled = true;
     manager.ApplyResources(this.chainingBehaviourComboBox, "chainingBehaviourComboBox");
     this.chainingBehaviourComboBox.Name = "chainingBehaviourComboBox";
     this.chainingBehaviourComboBox.SelectedIndexChanged += new EventHandler(this.chainingBehaviourComboBox_SelectedIndexChanged);
     this.rulesToolStrip.BackColor = SystemColors.Control;
     this.rulesToolStrip.GripStyle = ToolStripGripStyle.Hidden;
     this.rulesToolStrip.ImageList = this.imageList;
     this.rulesToolStrip.Items.AddRange(new ToolStripItem[] { this.newRuleToolStripButton, this.toolStripSeparator1, this.deleteToolStripButton });
     manager.ApplyResources(this.rulesToolStrip, "rulesToolStrip");
     this.rulesToolStrip.Name = "rulesToolStrip";
     this.rulesToolStrip.RenderMode = ToolStripRenderMode.System;
     this.rulesToolStrip.TabStop = true;
     this.imageList.ImageStream = (ImageListStreamer) manager.GetObject("imageList.ImageStream");
     this.imageList.TransparentColor = Color.Transparent;
     this.imageList.Images.SetKeyName(0, "NewRule.bmp");
     this.imageList.Images.SetKeyName(1, "RenameRule.bmp");
     this.imageList.Images.SetKeyName(2, "Delete.bmp");
     manager.ApplyResources(this.newRuleToolStripButton, "newRuleToolStripButton");
     this.newRuleToolStripButton.Name = "newRuleToolStripButton";
     this.newRuleToolStripButton.Click += new EventHandler(this.newRuleToolStripButton_Click);
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     manager.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
     manager.ApplyResources(this.deleteToolStripButton, "deleteToolStripButton");
     this.deleteToolStripButton.Name = "deleteToolStripButton";
     this.deleteToolStripButton.Click += new EventHandler(this.deleteToolStripButton_Click);
     manager.ApplyResources(this.buttonOK, "buttonOK");
     this.buttonOK.DialogResult = DialogResult.OK;
     this.buttonOK.Name = "buttonOK";
     this.ruleGroupBox.Controls.Add(this.reevaluationComboBox);
     this.ruleGroupBox.Controls.Add(this.elseTextBox);
     this.ruleGroupBox.Controls.Add(this.elseLabel);
     this.ruleGroupBox.Controls.Add(this.thenTextBox);
     this.ruleGroupBox.Controls.Add(this.thenLabel);
     this.ruleGroupBox.Controls.Add(this.conditionTextBox);
     this.ruleGroupBox.Controls.Add(this.conditionLabel);
     this.ruleGroupBox.Controls.Add(this.nameTextBox);
     this.ruleGroupBox.Controls.Add(this.nameLabel);
     this.ruleGroupBox.Controls.Add(this.activeCheckBox);
     this.ruleGroupBox.Controls.Add(this.reevaluationLabel);
     this.ruleGroupBox.Controls.Add(this.priorityTextBox);
     this.ruleGroupBox.Controls.Add(this.priorityLabel);
     manager.ApplyResources(this.ruleGroupBox, "ruleGroupBox");
     this.ruleGroupBox.Name = "ruleGroupBox";
     this.ruleGroupBox.TabStop = false;
     this.reevaluationComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this.reevaluationComboBox.FormattingEnabled = true;
     manager.ApplyResources(this.reevaluationComboBox, "reevaluationComboBox");
     this.reevaluationComboBox.Name = "reevaluationComboBox";
     this.reevaluationComboBox.SelectedIndexChanged += new EventHandler(this.reevaluationComboBox_SelectedIndexChanged);
     this.elseTextBox.AcceptsReturn = true;
     manager.ApplyResources(this.elseTextBox, "elseTextBox");
     this.elseTextBox.Name = "elseTextBox";
     this.elseTextBox.Validating += new CancelEventHandler(this.elseTextBox_Validating);
     manager.ApplyResources(this.elseLabel, "elseLabel");
     this.elseLabel.Name = "elseLabel";
     this.thenTextBox.AcceptsReturn = true;
     manager.ApplyResources(this.thenTextBox, "thenTextBox");
     this.thenTextBox.Name = "thenTextBox";
     this.thenTextBox.Validating += new CancelEventHandler(this.thenTextBox_Validating);
     manager.ApplyResources(this.thenLabel, "thenLabel");
     this.thenLabel.Name = "thenLabel";
     this.conditionTextBox.AcceptsReturn = true;
     manager.ApplyResources(this.conditionTextBox, "conditionTextBox");
     this.conditionTextBox.Name = "conditionTextBox";
     this.conditionTextBox.Validating += new CancelEventHandler(this.conditionTextBox_Validating);
     manager.ApplyResources(this.conditionLabel, "conditionLabel");
     this.conditionLabel.Name = "conditionLabel";
     manager.ApplyResources(this.nameTextBox, "nameTextBox");
     this.nameTextBox.Name = "nameTextBox";
     this.nameTextBox.Validating += new CancelEventHandler(this.nameTextBox_Validating);
     manager.ApplyResources(this.nameLabel, "nameLabel");
     this.nameLabel.Name = "nameLabel";
     manager.ApplyResources(this.activeCheckBox, "activeCheckBox");
     this.activeCheckBox.Name = "activeCheckBox";
     this.activeCheckBox.CheckedChanged += new EventHandler(this.activeCheckBox_CheckedChanged);
     manager.ApplyResources(this.reevaluationLabel, "reevaluationLabel");
     this.reevaluationLabel.Name = "reevaluationLabel";
     manager.ApplyResources(this.priorityTextBox, "priorityTextBox");
     this.priorityTextBox.Name = "priorityTextBox";
     this.priorityTextBox.Validating += new CancelEventHandler(this.priorityTextBox_Validating);
     manager.ApplyResources(this.priorityLabel, "priorityLabel");
     this.priorityLabel.Name = "priorityLabel";
     manager.ApplyResources(this.buttonCancel, "buttonCancel");
     this.buttonCancel.CausesValidation = false;
     this.buttonCancel.DialogResult = DialogResult.Cancel;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.Click += new EventHandler(this.buttonCancel_Click);
     manager.ApplyResources(this.headerTextLabel, "headerTextLabel");
     this.headerTextLabel.Name = "headerTextLabel";
     manager.ApplyResources(this.pictureBoxHeader, "pictureBoxHeader");
     this.pictureBoxHeader.Name = "pictureBoxHeader";
     this.pictureBoxHeader.TabStop = false;
     manager.ApplyResources(this.okCancelTableLayoutPanel, "okCancelTableLayoutPanel");
     this.okCancelTableLayoutPanel.CausesValidation = false;
     this.okCancelTableLayoutPanel.Controls.Add(this.buttonOK, 0, 0);
     this.okCancelTableLayoutPanel.Controls.Add(this.buttonCancel, 1, 0);
     this.okCancelTableLayoutPanel.Name = "okCancelTableLayoutPanel";
     this.conditionErrorProvider.BlinkStyle = ErrorBlinkStyle.NeverBlink;
     this.conditionErrorProvider.ContainerControl = this;
     this.thenErrorProvider.BlinkStyle = ErrorBlinkStyle.NeverBlink;
     this.thenErrorProvider.ContainerControl = this;
     this.elseErrorProvider.BlinkStyle = ErrorBlinkStyle.NeverBlink;
     this.elseErrorProvider.ContainerControl = this;
     base.AcceptButton = this.buttonOK;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.buttonCancel;
     base.Controls.Add(this.ruleGroupBox);
     base.Controls.Add(this.headerTextLabel);
     base.Controls.Add(this.pictureBoxHeader);
     base.Controls.Add(this.okCancelTableLayoutPanel);
     base.Controls.Add(this.rulesGroupBox);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.HelpButton = true;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "RuleSetDialog";
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Hide;
     this.rulesGroupBox.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.rulesToolStrip.ResumeLayout(false);
     this.rulesToolStrip.PerformLayout();
     this.ruleGroupBox.ResumeLayout(false);
     this.ruleGroupBox.PerformLayout();
     ((ISupportInitialize) this.pictureBoxHeader).EndInit();
     this.okCancelTableLayoutPanel.ResumeLayout(false);
     this.okCancelTableLayoutPanel.PerformLayout();
     ((ISupportInitialize) this.conditionErrorProvider).EndInit();
     ((ISupportInitialize) this.thenErrorProvider).EndInit();
     ((ISupportInitialize) this.elseErrorProvider).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }