private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(ManageColumnsDialog));
     this.lvItems = new ListViewEx();
     this.imgAligns = new ImageList(this.components);
     this.btnUp = new Button();
     this.btnHide = new Button();
     this.btnShow = new Button();
     this.btnDown = new Button();
     this.tsAlign = new ToolStrip();
     this.tsbLeftAlign = new ToolStripButton();
     this.tsbCenter = new ToolStripButton();
     this.tsbRightAlign = new ToolStripButton();
     this.chkRememberColumns = new CheckBox();
     this.chkAutosizeColumns = new CheckBox();
     this.cmbTemplate = new TemplateComboBox();
     this.btnDeleteTemplate = new Button();
     this.btnSaveTemplate = new Button();
     this.bvlButtons = new Bevel();
     this.btnOk = new Button();
     this.btnCancel = new Button();
     this.tlpButtons = new TableLayoutPanel();
     this.bvlTemplate = new Bevel();
     TableLayoutPanel panel = new TableLayoutPanel();
     ColumnHeader header = new ColumnHeader();
     ColumnHeader header2 = new ColumnHeader();
     Label control = new Label();
     TableLayoutPanel panel2 = new TableLayoutPanel();
     Label label2 = new Label();
     panel.SuspendLayout();
     this.tsAlign.SuspendLayout();
     panel2.SuspendLayout();
     this.tlpButtons.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(this.lvItems, 0, 1);
     panel.Controls.Add(this.btnUp, 1, 1);
     panel.Controls.Add(this.btnHide, 1, 4);
     panel.Controls.Add(this.btnShow, 1, 3);
     panel.Controls.Add(this.btnDown, 1, 2);
     panel.Controls.Add(this.tsAlign, 1, 5);
     panel.Controls.Add(this.chkRememberColumns, 0, 8);
     panel.Controls.Add(this.chkAutosizeColumns, 0, 7);
     panel.Controls.Add(control, 0, 0);
     panel.Name = "tlpBack";
     this.lvItems.AllowDrop = true;
     this.lvItems.CheckBoxes = true;
     this.lvItems.CollapsibleGroups = true;
     this.lvItems.Columns.AddRange(new ColumnHeader[] { header, header2 });
     manager.ApplyResources(this.lvItems, "lvItems");
     this.lvItems.ExplorerTheme = true;
     this.lvItems.FullRowSelect = true;
     this.lvItems.HeaderStyle = ColumnHeaderStyle.None;
     this.lvItems.HideSelection = false;
     this.lvItems.MultiSelect = false;
     this.lvItems.Name = "lvItems";
     panel.SetRowSpan(this.lvItems, 6);
     this.lvItems.SmallImageList = this.imgAligns;
     this.lvItems.UseCompatibleStateImageBehavior = false;
     this.lvItems.View = View.Details;
     this.lvItems.ItemCheck += new ItemCheckEventHandler(this.lvItems_ItemCheck);
     this.lvItems.KeyDown += new KeyEventHandler(this.lvItems_KeyDown);
     this.lvItems.ItemDrag += new ItemDragEventHandler(this.lvItems_ItemDrag);
     this.lvItems.SelectedIndexChanged += new EventHandler(this.lvItems_SelectedIndexChanged);
     this.lvItems.ItemChecked += new ItemCheckedEventHandler(this.lvItems_ItemChecked);
     this.lvItems.ClientSizeChanged += new EventHandler(this.lvItems_ClientSizeChanged);
     manager.ApplyResources(header, "NameColumn");
     manager.ApplyResources(header2, "WidthColumn");
     this.imgAligns.ColorDepth = ColorDepth.Depth32Bit;
     manager.ApplyResources(this.imgAligns, "imgAligns");
     this.imgAligns.TransparentColor = Color.Transparent;
     manager.ApplyResources(this.btnUp, "btnUp");
     this.btnUp.Name = "btnUp";
     this.btnUp.UseVisualStyleBackColor = true;
     this.btnUp.Click += new EventHandler(this.btnMove_Click);
     manager.ApplyResources(this.btnHide, "btnHide");
     this.btnHide.Name = "btnHide";
     this.btnHide.UseVisualStyleBackColor = true;
     this.btnHide.Click += new EventHandler(this.btnHide_Click);
     manager.ApplyResources(this.btnShow, "btnShow");
     this.btnShow.Name = "btnShow";
     this.btnShow.UseVisualStyleBackColor = true;
     this.btnShow.Click += new EventHandler(this.btnShow_Click);
     manager.ApplyResources(this.btnDown, "btnDown");
     this.btnDown.Name = "btnDown";
     this.btnDown.Tag = "1";
     this.btnDown.UseVisualStyleBackColor = true;
     this.btnDown.Click += new EventHandler(this.btnMove_Click);
     this.tsAlign.BackColor = SystemColors.Control;
     this.tsAlign.GripStyle = ToolStripGripStyle.Hidden;
     this.tsAlign.Items.AddRange(new ToolStripItem[] { this.tsbLeftAlign, this.tsbCenter, this.tsbRightAlign });
     manager.ApplyResources(this.tsAlign, "tsAlign");
     this.tsAlign.Name = "tsAlign";
     this.tsAlign.TabStop = true;
     this.tsbLeftAlign.DisplayStyle = ToolStripItemDisplayStyle.Image;
     manager.ApplyResources(this.tsbLeftAlign, "tsbLeftAlign");
     this.tsbLeftAlign.Image = Resources.ImageThrobber;
     this.tsbLeftAlign.Name = "tsbLeftAlign";
     this.tsbLeftAlign.Paint += new PaintEventHandler(this.tsbAlign_Paint);
     this.tsbLeftAlign.Click += new EventHandler(this.tsbAlign_Click);
     this.tsbCenter.DisplayStyle = ToolStripItemDisplayStyle.Image;
     manager.ApplyResources(this.tsbCenter, "tsbCenter");
     this.tsbCenter.Image = Resources.ImageThrobber;
     this.tsbCenter.Name = "tsbCenter";
     this.tsbCenter.Paint += new PaintEventHandler(this.tsbAlign_Paint);
     this.tsbCenter.Click += new EventHandler(this.tsbAlign_Click);
     this.tsbRightAlign.DisplayStyle = ToolStripItemDisplayStyle.Image;
     manager.ApplyResources(this.tsbRightAlign, "tsbRightAlign");
     this.tsbRightAlign.Image = Resources.ImageThrobber;
     this.tsbRightAlign.Name = "tsbRightAlign";
     this.tsbRightAlign.Paint += new PaintEventHandler(this.tsbAlign_Paint);
     this.tsbRightAlign.Click += new EventHandler(this.tsbAlign_Click);
     manager.ApplyResources(this.chkRememberColumns, "chkRememberColumns");
     panel.SetColumnSpan(this.chkRememberColumns, 2);
     this.chkRememberColumns.Name = "chkRememberColumns";
     this.chkRememberColumns.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkAutosizeColumns, "chkAutosizeColumns");
     panel.SetColumnSpan(this.chkAutosizeColumns, 2);
     this.chkAutosizeColumns.Name = "chkAutosizeColumns";
     this.chkAutosizeColumns.UseVisualStyleBackColor = true;
     manager.ApplyResources(control, "lblColumns");
     panel.SetColumnSpan(control, 2);
     control.Name = "lblColumns";
     manager.ApplyResources(panel2, "tlpTemplate");
     panel2.Controls.Add(label2, 0, 0);
     panel2.Controls.Add(this.cmbTemplate, 1, 0);
     panel2.Controls.Add(this.btnSaveTemplate, 2, 0);
     panel2.Controls.Add(this.btnDeleteTemplate, 3, 0);
     panel2.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel2.Name = "tlpTemplate";
     manager.ApplyResources(label2, "lblTemplate");
     label2.Name = "lblTemplate";
     this.cmbTemplate.DeleteButton = this.btnDeleteTemplate;
     manager.ApplyResources(this.cmbTemplate, "cmbTemplate");
     this.cmbTemplate.FormattingEnabled = true;
     this.cmbTemplate.Name = "cmbTemplate";
     this.cmbTemplate.SaveButton = this.btnSaveTemplate;
     this.cmbTemplate.SelectionChangeCommitted += new EventHandler(this.cmbTemplate_SelectionChangeCommitted);
     this.cmbTemplate.Leave += new EventHandler(this.cmbTemplate_TextUpdate);
     this.cmbTemplate.Enter += new EventHandler(this.cmbTemplate_TextUpdate);
     this.cmbTemplate.TextUpdate += new EventHandler(this.cmbTemplate_TextUpdate);
     manager.ApplyResources(this.btnDeleteTemplate, "btnDeleteTemplate");
     this.btnDeleteTemplate.Name = "btnDeleteTemplate";
     this.btnDeleteTemplate.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnSaveTemplate, "btnSaveTemplate");
     this.btnSaveTemplate.Name = "btnSaveTemplate";
     this.btnSaveTemplate.UseVisualStyleBackColor = true;
     this.btnSaveTemplate.Click += new EventHandler(this.btnSaveTemplate_Click);
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Top;
     this.bvlButtons.Style = Border3DStyle.Flat;
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.DialogResult = DialogResult.OK;
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = DialogResult.Cancel;
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.tlpButtons, "tlpButtons");
     this.tlpButtons.Controls.Add(this.btnOk, 1, 0);
     this.tlpButtons.Controls.Add(this.btnCancel, 2, 0);
     this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpButtons.Name = "tlpButtons";
     manager.ApplyResources(this.bvlTemplate, "bvlTemplate");
     this.bvlTemplate.ForeColor = SystemColors.ControlDarkDark;
     this.bvlTemplate.Name = "bvlTemplate";
     this.bvlTemplate.Sides = Border3DSide.Top;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(panel);
     base.Controls.Add(this.bvlTemplate);
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(this.tlpButtons);
     base.Controls.Add(panel2);
     base.FixMouseWheel = Settings.Default.FixMouseWheel;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "ManageColumnsDialog";
     base.ShowInTaskbar = false;
     base.Shown += new EventHandler(this.ManageColumnsDialog_Shown);
     panel.ResumeLayout(false);
     panel.PerformLayout();
     this.tsAlign.ResumeLayout(false);
     this.tsAlign.PerformLayout();
     panel2.ResumeLayout(false);
     panel2.PerformLayout();
     this.tlpButtons.ResumeLayout(false);
     this.tlpButtons.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(HighlightersOptionControl));
     this.tsView = new ToolStrip();
     this.tsbChangeView = new ToolStripButton();
     this.trkBlendLevel = new TrackBar();
     this.filterControlComplex = new ComplexFilterControl();
     this.pnlIcon = new PanelEx();
     this.btnBlendColor = new ColorButton();
     this.cmbHighlighters = new TemplateComboBox();
     this.btnDeleteHighlighter = new Button();
     this.btnBrowseIcon = new Button();
     this.btnSaveHighlighter = new Button();
     this.cmbIconLocation = new ComboBox();
     this.chkItemIcon = new CheckBox();
     this.chkAlphaBlendIcon = new CheckBox();
     this.btnItemForeColor = new ColorButton();
     this.imageList = new ImageList(this.components);
     this.toolTipLevel = new ToolTip(this.components);
     this.BrowseIconDialog = new OpenFileDialog();
     Label label = new Label();
     TableLayoutPanel panel = new TableLayoutPanel();
     Label control = new Label();
     panel.SuspendLayout();
     this.tsView.SuspendLayout();
     this.trkBlendLevel.BeginInit();
     base.SuspendLayout();
     manager.ApplyResources(label, "lblItemForeColor");
     label.Name = "lblItemForeColor";
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(control, 0, 0);
     panel.Controls.Add(this.tsView, 0, 5);
     panel.Controls.Add(this.trkBlendLevel, 2, 3);
     panel.Controls.Add(this.filterControlComplex, 0, 4);
     panel.Controls.Add(this.pnlIcon, 4, 2);
     panel.Controls.Add(this.btnBlendColor, 1, 3);
     panel.Controls.Add(this.cmbHighlighters, 1, 0);
     panel.Controls.Add(this.btnBrowseIcon, 3, 2);
     panel.Controls.Add(this.btnSaveHighlighter, 3, 0);
     panel.Controls.Add(this.cmbIconLocation, 1, 2);
     panel.Controls.Add(this.btnDeleteHighlighter, 4, 0);
     panel.Controls.Add(this.chkItemIcon, 0, 2);
     panel.Controls.Add(label, 0, 1);
     panel.Controls.Add(this.chkAlphaBlendIcon, 0, 3);
     panel.Controls.Add(this.btnItemForeColor, 1, 1);
     panel.Name = "tlpBack";
     manager.ApplyResources(control, "lblStoredHighlighter");
     control.Name = "lblStoredHighlighter";
     this.tsView.BackColor = Color.Transparent;
     panel.SetColumnSpan(this.tsView, 5);
     this.tsView.GripStyle = ToolStripGripStyle.Hidden;
     this.tsView.Items.AddRange(new ToolStripItem[] { this.tsbChangeView });
     manager.ApplyResources(this.tsView, "tsView");
     this.tsView.Name = "tsView";
     this.tsView.TabStop = true;
     this.tsbChangeView.DisplayStyle = ToolStripItemDisplayStyle.Image;
     this.tsbChangeView.Image = Resources.ShowDetail;
     this.tsbChangeView.Name = "tsbChangeView";
     manager.ApplyResources(this.tsbChangeView, "tsbChangeView");
     this.tsbChangeView.Click += new EventHandler(this.tsbChangeView_Click);
     this.tsbChangeView.Paint += new PaintEventHandler(this.tsbChangeView_Paint);
     manager.ApplyResources(this.trkBlendLevel, "trkBlendLevel");
     panel.SetColumnSpan(this.trkBlendLevel, 2);
     this.trkBlendLevel.Maximum = 100;
     this.trkBlendLevel.Name = "trkBlendLevel";
     this.trkBlendLevel.Value = 50;
     this.trkBlendLevel.Scroll += new EventHandler(this.trkBlendLevel_Scroll);
     this.trkBlendLevel.ValueChanged += new EventHandler(this.UpdateButtons);
     this.trkBlendLevel.Enter += new EventHandler(this.trkBlendLevel_Enter);
     this.trkBlendLevel.Leave += new EventHandler(this.trkBlendLevel_Leave);
     this.trkBlendLevel.MouseDown += new MouseEventHandler(this.trkBlendLevel_MouseDown);
     this.trkBlendLevel.MouseUp += new MouseEventHandler(this.trkBlendLevel_MouseUp);
     this.filterControlComplex.AdvancedViewFilters = ViewFilters.Advanced | ViewFilters.Attributes | ViewFilters.ExcludeMask | ViewFilters.IncludeMask;
     manager.ApplyResources(this.filterControlComplex, "filterControlComplex");
     panel.SetColumnSpan(this.filterControlComplex, 5);
     this.filterControlComplex.HideViewFilters = ViewFilters.Folder | ViewFilters.Content;
     this.filterControlComplex.MinimumSize = new Size(0x1c4, 0);
     this.filterControlComplex.Name = "filterControlComplex";
     this.filterControlComplex.View = ComplexFilterView.Advanced;
     this.filterControlComplex.ViewChanged += new EventHandler(this.filterControlComplex_ViewChanged);
     this.filterControlComplex.FilterChanged += new EventHandler(this.UpdateButtons);
     this.pnlIcon.BorderColor = Color.FromArgb(0xab, 0xad, 0xb3);
     manager.ApplyResources(this.pnlIcon, "pnlIcon");
     this.pnlIcon.Name = "pnlIcon";
     panel.SetRowSpan(this.pnlIcon, 2);
     this.pnlIcon.Paint += new PaintEventHandler(this.pnlIcon_Paint);
     manager.ApplyResources(this.btnBlendColor, "btnBlendColor");
     this.btnBlendColor.Name = "btnBlendColor";
     this.btnBlendColor.UseVisualStyleBackColor = true;
     this.btnBlendColor.ColorChanged += new EventHandler(this.UpdateButtons);
     panel.SetColumnSpan(this.cmbHighlighters, 2);
     this.cmbHighlighters.DeleteButton = this.btnDeleteHighlighter;
     manager.ApplyResources(this.cmbHighlighters, "cmbHighlighters");
     this.cmbHighlighters.FormattingEnabled = true;
     this.cmbHighlighters.Name = "cmbHighlighters";
     this.cmbHighlighters.SelectionChangeCommitted += new EventHandler(this.cmbHighlighters_SelectionChangeCommitted);
     this.cmbHighlighters.TextUpdate += new EventHandler(this.UpdateButtons);
     manager.ApplyResources(this.btnDeleteHighlighter, "btnDeleteHighlighter");
     this.btnDeleteHighlighter.Name = "btnDeleteHighlighter";
     this.btnDeleteHighlighter.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnBrowseIcon, "btnBrowseIcon");
     this.btnBrowseIcon.Name = "btnBrowseIcon";
     this.btnBrowseIcon.UseVisualStyleBackColor = true;
     this.btnBrowseIcon.Click += new EventHandler(this.btnBrowseIcon_Click);
     manager.ApplyResources(this.btnSaveHighlighter, "btnSaveHighlighter");
     this.btnSaveHighlighter.Name = "btnSaveHighlighter";
     this.btnSaveHighlighter.UseVisualStyleBackColor = true;
     this.btnSaveHighlighter.Click += new EventHandler(this.btnSaveHighlighter_Click);
     panel.SetColumnSpan(this.cmbIconLocation, 2);
     manager.ApplyResources(this.cmbIconLocation, "cmbIconLocation");
     this.cmbIconLocation.FormattingEnabled = true;
     this.cmbIconLocation.Name = "cmbIconLocation";
     this.cmbIconLocation.Enter += new EventHandler(this.cmbIconLocation_Enter);
     this.cmbIconLocation.Validated += new EventHandler(this.cmbIconLocation_Validated);
     manager.ApplyResources(this.chkItemIcon, "chkItemIcon");
     this.chkItemIcon.Name = "chkItemIcon";
     this.chkItemIcon.UseVisualStyleBackColor = true;
     this.chkItemIcon.CheckedChanged += new EventHandler(this.chkItemIcon_CheckedChanged);
     this.chkItemIcon.Click += new EventHandler(this.UpdateButtons);
     manager.ApplyResources(this.chkAlphaBlendIcon, "chkAlphaBlendIcon");
     this.chkAlphaBlendIcon.Name = "chkAlphaBlendIcon";
     this.chkAlphaBlendIcon.UseVisualStyleBackColor = true;
     this.chkAlphaBlendIcon.CheckedChanged += new EventHandler(this.chkAlphaBlendIcon_CheckedChanged);
     this.chkAlphaBlendIcon.Click += new EventHandler(this.UpdateButtons);
     manager.ApplyResources(this.btnItemForeColor, "btnItemForeColor");
     this.btnItemForeColor.Name = "btnItemForeColor";
     this.btnItemForeColor.UseVisualStyleBackColor = true;
     this.btnItemForeColor.ColorChanged += new EventHandler(this.UpdateButtons);
     this.imageList.ColorDepth = ColorDepth.Depth8Bit;
     manager.ApplyResources(this.imageList, "imageList");
     this.imageList.TransparentColor = Color.Transparent;
     this.BrowseIconDialog.AddExtension = false;
     manager.ApplyResources(this.BrowseIconDialog, "BrowseIconDialog");
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.Controls.Add(panel);
     this.MinimumSize = new Size(0x1c4, 0);
     base.Name = "HighlightersOptionControl";
     panel.ResumeLayout(false);
     panel.PerformLayout();
     this.tsView.ResumeLayout(false);
     this.tsView.PerformLayout();
     this.trkBlendLevel.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(FilterDialog));
     this.filterControlComplex = new ComplexFilterControl();
     this.chkRememberFilter = new CheckBox();
     this.tlpButtons = new TableLayoutPanel();
     this.tsView = new ToolStrip();
     this.tssbChangeView = new ToolStripSplitButton();
     this.tsmiViewBasic = new ToolStripMenuItem();
     this.tsmiViewAdvanced = new ToolStripMenuItem();
     this.tsmiViewFull = new ToolStripMenuItem();
     this.btnOk = new Button();
     this.btnApply = new Button();
     this.btnClear = new Button();
     this.btnCancel = new Button();
     this.bvlTemplate = new Bevel();
     this.imageList = new ImageList(this.components);
     this.tlpTemplate = new TableLayoutPanel();
     this.btnSaveTemplate = new Button();
     this.btnDeleteTemplate = new Button();
     this.cmbFilterTemplate = new TemplateComboBox();
     this.bvlButtons = new Bevel();
     Label label = new Label();
     TableLayoutPanel panel = new TableLayoutPanel();
     panel.SuspendLayout();
     this.tlpButtons.SuspendLayout();
     this.tsView.SuspendLayout();
     this.tlpTemplate.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(label, "lblFilterTemplate");
     label.Name = "lblFilterTemplate";
     manager.ApplyResources(panel, "tlpBack");
     panel.Controls.Add(this.filterControlComplex, 0, 0);
     panel.Controls.Add(this.chkRememberFilter, 0, 1);
     panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel.Name = "tlpBack";
     this.filterControlComplex.AdvancedViewFilters = ViewFilters.Folder | ViewFilters.Advanced | ViewFilters.Attributes | ViewFilters.ExcludeMask | ViewFilters.IncludeMask;
     this.filterControlComplex.BasicViewFilters = ViewFilters.Folder | ViewFilters.Attributes | ViewFilters.IncludeMask;
     manager.ApplyResources(this.filterControlComplex, "filterControlComplex");
     this.filterControlComplex.HideViewFilters = ViewFilters.Content;
     this.filterControlComplex.MinimumSize = new Size(0x1c4, 0);
     this.filterControlComplex.Name = "filterControlComplex";
     this.filterControlComplex.View = Settings.Default.FilterDialogView;
     this.filterControlComplex.FilterChanged += new EventHandler(this.FilterChanged);
     this.filterControlComplex.ViewChanged += new EventHandler(this.filterControlComplex_ViewChanged);
     manager.ApplyResources(this.chkRememberFilter, "chkRememberFilter");
     this.chkRememberFilter.Name = "chkRememberFilter";
     this.chkRememberFilter.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.tlpButtons, "tlpButtons");
     this.tlpButtons.Controls.Add(this.tsView, 0, 0);
     this.tlpButtons.Controls.Add(this.btnOk, 1, 0);
     this.tlpButtons.Controls.Add(this.btnApply, 4, 0);
     this.tlpButtons.Controls.Add(this.btnClear, 2, 0);
     this.tlpButtons.Controls.Add(this.btnCancel, 3, 0);
     this.tlpButtons.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpButtons.Name = "tlpButtons";
     manager.ApplyResources(this.tsView, "tsView");
     this.tsView.GripStyle = ToolStripGripStyle.Hidden;
     this.tsView.Items.AddRange(new ToolStripItem[] { this.tssbChangeView });
     this.tsView.LayoutStyle = ToolStripLayoutStyle.Table;
     this.tsView.Name = "tsView";
     this.tsView.TabStop = true;
     this.tssbChangeView.DropDownItems.AddRange(new ToolStripItem[] { this.tsmiViewBasic, this.tsmiViewAdvanced, this.tsmiViewFull });
     this.tssbChangeView.Image = Resources.HideDetail;
     manager.ApplyResources(this.tssbChangeView, "tssbChangeView");
     this.tssbChangeView.Name = "tssbChangeView";
     this.tssbChangeView.ButtonClick += new EventHandler(this.tssbChangeView_ButtonClick);
     this.tsmiViewBasic.Name = "tsmiViewBasic";
     manager.ApplyResources(this.tsmiViewBasic, "tsmiViewBasic");
     this.tsmiViewBasic.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint);
     this.tsmiViewBasic.Click += new EventHandler(this.tsmiViewBasic_Click);
     this.tsmiViewAdvanced.Name = "tsmiViewAdvanced";
     manager.ApplyResources(this.tsmiViewAdvanced, "tsmiViewAdvanced");
     this.tsmiViewAdvanced.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint);
     this.tsmiViewAdvanced.Click += new EventHandler(this.tsmiViewBasic_Click);
     this.tsmiViewFull.Name = "tsmiViewFull";
     manager.ApplyResources(this.tsmiViewFull, "tsmiViewFull");
     this.tsmiViewFull.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint);
     this.tsmiViewFull.Click += new EventHandler(this.tsmiViewBasic_Click);
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.DialogResult = DialogResult.OK;
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnApply, "btnApply");
     this.btnApply.Name = "btnApply";
     this.btnApply.UseVisualStyleBackColor = true;
     this.btnApply.Click += new EventHandler(this.btnApply_Click);
     manager.ApplyResources(this.btnClear, "btnClear");
     this.btnClear.Name = "btnClear";
     this.btnClear.UseVisualStyleBackColor = true;
     this.btnClear.Click += new EventHandler(this.btnClear_Click);
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = DialogResult.Cancel;
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.bvlTemplate, "bvlTemplate");
     this.bvlTemplate.ForeColor = SystemColors.ControlDarkDark;
     this.bvlTemplate.Name = "bvlTemplate";
     this.bvlTemplate.Sides = Border3DSide.Top;
     this.bvlTemplate.Style = Border3DStyle.Flat;
     this.imageList.ColorDepth = ColorDepth.Depth8Bit;
     manager.ApplyResources(this.imageList, "imageList");
     this.imageList.TransparentColor = Color.Transparent;
     manager.ApplyResources(this.tlpTemplate, "tlpTemplate");
     this.tlpTemplate.Controls.Add(this.btnSaveTemplate, 2, 0);
     this.tlpTemplate.Controls.Add(this.btnDeleteTemplate, 3, 0);
     this.tlpTemplate.Controls.Add(label, 0, 0);
     this.tlpTemplate.Controls.Add(this.cmbFilterTemplate, 1, 0);
     this.tlpTemplate.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     this.tlpTemplate.Name = "tlpTemplate";
     manager.ApplyResources(this.btnSaveTemplate, "btnSaveTemplate");
     this.btnSaveTemplate.Name = "btnSaveTemplate";
     this.btnSaveTemplate.UseVisualStyleBackColor = true;
     this.btnSaveTemplate.Click += new EventHandler(this.btnSaveTemplate_Click);
     this.btnSaveTemplate.EnabledChanged += new EventHandler(this.btnSaveTemplate_EnabledChanged);
     manager.ApplyResources(this.btnDeleteTemplate, "btnDeleteTemplate");
     this.btnDeleteTemplate.Name = "btnDeleteTemplate";
     this.btnDeleteTemplate.UseVisualStyleBackColor = true;
     this.cmbFilterTemplate.DeleteButton = this.btnDeleteTemplate;
     manager.ApplyResources(this.cmbFilterTemplate, "cmbFilterTemplate");
     this.cmbFilterTemplate.FormattingEnabled = true;
     this.cmbFilterTemplate.Name = "cmbFilterTemplate";
     this.cmbFilterTemplate.SaveButton = this.btnSaveTemplate;
     this.cmbFilterTemplate.SelectionChangeCommitted += new EventHandler(this.cmbFilterTemplate_SelectionChangeCommitted);
     this.cmbFilterTemplate.Leave += new EventHandler(this.cmbFilterTemplate_Enter);
     this.cmbFilterTemplate.Enter += new EventHandler(this.cmbFilterTemplate_Enter);
     this.cmbFilterTemplate.TextUpdate += new EventHandler(this.cmbFilterTemplate_TextUpdate);
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Bottom;
     this.bvlButtons.Style = Border3DStyle.Flat;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(panel);
     base.Controls.Add(this.bvlTemplate);
     base.Controls.Add(this.tlpTemplate);
     base.Controls.Add(this.tlpButtons);
     base.FixMouseWheel = Settings.Default.FixMouseWheel;
     base.KeyPreview = true;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "FilterDialog";
     base.ShowInTaskbar = false;
     base.Shown += new EventHandler(this.FilterDialog_Shown);
     panel.ResumeLayout(false);
     panel.PerformLayout();
     this.tlpButtons.ResumeLayout(false);
     this.tlpButtons.PerformLayout();
     this.tsView.ResumeLayout(false);
     this.tsView.PerformLayout();
     this.tlpTemplate.ResumeLayout(false);
     this.tlpTemplate.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(SearchDialog));
     this.tlpBack = new TableLayoutPanel();
     this.cmbLookFolder = new ComboBox();
     this.filterControlComplex = new ComplexFilterControl();
     this.btnDrives = new Button();
     this.chkProcessSubfolders = new CheckBox();
     this.chkSkipReparsePoints = new CheckBox();
     this.chkProcessArchives = new CheckBox();
     this.tlpButtons = new TableLayoutPanel();
     this.tsView = new ToolStrip();
     this.tssbChangeView = new ToolStripSplitButton();
     this.tsmiViewBasic = new ToolStripMenuItem();
     this.tsmiViewAdvanced = new ToolStripMenuItem();
     this.tsmiViewFull = new ToolStripMenuItem();
     this.btnOk = new Button();
     this.btnCancel = new Button();
     this.btnClear = new Button();
     this.imgView = new ImageList(this.components);
     this.toolTipLook = new ToolTip(this.components);
     this.tlpTemplate = new TableLayoutPanel();
     this.lblSearchTemplate = new Label();
     this.cmbSearchTemplate = new TemplateComboBox();
     this.btnDeleteTemplate = new Button();
     this.btnSaveTemplate = new Button();
     this.bvlButtons = new Bevel();
     this.bvlTemplate = new Bevel();
     this.Validator = new ValidatorProvider();
     Label label = new Label();
     this.tlpBack.SuspendLayout();
     this.tlpButtons.SuspendLayout();
     this.tsView.SuspendLayout();
     this.tlpTemplate.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(label, "lblLook");
     label.Name = "lblLook";
     manager.ApplyResources(this.tlpBack, "tlpBack");
     this.tlpBack.Controls.Add(label, 0, 0);
     this.tlpBack.Controls.Add(this.cmbLookFolder, 1, 0);
     this.tlpBack.Controls.Add(this.filterControlComplex, 0, 2);
     this.tlpBack.Controls.Add(this.btnDrives, 5, 0);
     this.tlpBack.Controls.Add(this.chkProcessSubfolders, 0, 1);
     this.tlpBack.Controls.Add(this.chkSkipReparsePoints, 3, 1);
     this.tlpBack.Controls.Add(this.chkProcessArchives, 2, 1);
     this.tlpBack.Name = "tlpBack";
     this.tlpBack.SetColumnSpan(this.cmbLookFolder, 4);
     manager.ApplyResources(this.cmbLookFolder, "cmbLookFolder");
     this.cmbLookFolder.Name = "cmbLookFolder";
     this.Validator.SetValidateOn(this.cmbLookFolder, ValidateOn.TextChangedTimer);
     this.cmbLookFolder.SelectionChangeCommitted += new EventHandler(this.cmbLookFolder_TextUpdate);
     this.cmbLookFolder.TextUpdate += new EventHandler(this.cmbLookFolder_TextUpdate);
     this.cmbLookFolder.Validating += new CancelEventHandler(this.cmbLookFolder_Validating);
     this.tlpBack.SetColumnSpan(this.filterControlComplex, 6);
     manager.ApplyResources(this.filterControlComplex, "filterControlComplex");
     this.filterControlComplex.HideViewFilters = ViewFilters.Folder;
     this.filterControlComplex.MinimumSize = new Size(0x1c4, 0);
     this.filterControlComplex.Name = "filterControlComplex";
     this.filterControlComplex.View = Settings.Default.SearchDialogView;
     this.filterControlComplex.FilterChanged += new EventHandler(this.FilterChanged);
     this.filterControlComplex.ViewChanged += new EventHandler(this.filterControlComplex_ViewChanged);
     manager.ApplyResources(this.btnDrives, "btnDrives");
     this.btnDrives.Name = "btnDrives";
     this.btnDrives.UseVisualStyleBackColor = true;
     this.btnDrives.Click += new EventHandler(this.btnDrives_Click);
     manager.ApplyResources(this.chkProcessSubfolders, "chkProcessSubfolders");
     this.chkProcessSubfolders.Checked = true;
     this.chkProcessSubfolders.CheckState = CheckState.Checked;
     this.tlpBack.SetColumnSpan(this.chkProcessSubfolders, 2);
     this.chkProcessSubfolders.Name = "chkProcessSubfolders";
     this.chkProcessSubfolders.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkSkipReparsePoints, "chkSkipReparsePoints");
     this.chkSkipReparsePoints.Checked = true;
     this.chkSkipReparsePoints.CheckState = CheckState.Checked;
     this.tlpBack.SetColumnSpan(this.chkSkipReparsePoints, 3);
     this.chkSkipReparsePoints.Name = "chkSkipReparsePoints";
     this.chkSkipReparsePoints.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkProcessArchives, "chkProcessArchives");
     this.chkProcessArchives.Name = "chkProcessArchives";
     this.chkProcessArchives.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.tlpButtons, "tlpButtons");
     this.tlpButtons.Controls.Add(this.tsView, 0, 0);
     this.tlpButtons.Controls.Add(this.btnOk, 1, 0);
     this.tlpButtons.Controls.Add(this.btnCancel, 3, 0);
     this.tlpButtons.Controls.Add(this.btnClear, 2, 0);
     this.tlpButtons.Name = "tlpButtons";
     this.tsView.BackColor = SystemColors.Control;
     manager.ApplyResources(this.tsView, "tsView");
     this.tsView.GripStyle = ToolStripGripStyle.Hidden;
     this.tsView.Items.AddRange(new ToolStripItem[] { this.tssbChangeView });
     this.tsView.LayoutStyle = ToolStripLayoutStyle.Table;
     this.tsView.Name = "tsView";
     this.tsView.TabStop = true;
     this.tssbChangeView.DropDownItems.AddRange(new ToolStripItem[] { this.tsmiViewBasic, this.tsmiViewAdvanced, this.tsmiViewFull });
     this.tssbChangeView.Image = Resources.HideDetail;
     manager.ApplyResources(this.tssbChangeView, "tssbChangeView");
     this.tssbChangeView.Name = "tssbChangeView";
     this.tssbChangeView.ButtonClick += new EventHandler(this.tssbChangeView_ButtonClick);
     this.tsmiViewBasic.Name = "tsmiViewBasic";
     manager.ApplyResources(this.tsmiViewBasic, "tsmiViewBasic");
     this.tsmiViewBasic.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint);
     this.tsmiViewBasic.Click += new EventHandler(this.tsmiShowBasic_Click);
     this.tsmiViewAdvanced.Name = "tsmiViewAdvanced";
     manager.ApplyResources(this.tsmiViewAdvanced, "tsmiViewAdvanced");
     this.tsmiViewAdvanced.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint);
     this.tsmiViewAdvanced.Click += new EventHandler(this.tsmiShowBasic_Click);
     this.tsmiViewFull.Name = "tsmiViewFull";
     manager.ApplyResources(this.tsmiViewFull, "tsmiViewFull");
     this.tsmiViewFull.Paint += new PaintEventHandler(this.tsmiViewBasic_Paint);
     this.tsmiViewFull.Click += new EventHandler(this.tsmiShowBasic_Click);
     manager.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.Name = "btnOk";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new EventHandler(this.btnOk_Click);
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = DialogResult.Cancel;
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnClear, "btnClear");
     this.btnClear.Name = "btnClear";
     this.btnClear.UseVisualStyleBackColor = true;
     this.btnClear.Click += new EventHandler(this.btnClear_Click);
     this.imgView.ColorDepth = ColorDepth.Depth8Bit;
     manager.ApplyResources(this.imgView, "imgView");
     this.imgView.TransparentColor = Color.Transparent;
     manager.ApplyResources(this.tlpTemplate, "tlpTemplate");
     this.tlpTemplate.Controls.Add(this.lblSearchTemplate, 0, 0);
     this.tlpTemplate.Controls.Add(this.cmbSearchTemplate, 1, 0);
     this.tlpTemplate.Controls.Add(this.btnSaveTemplate, 2, 0);
     this.tlpTemplate.Controls.Add(this.btnDeleteTemplate, 3, 0);
     this.tlpTemplate.Name = "tlpTemplate";
     manager.ApplyResources(this.lblSearchTemplate, "lblSearchTemplate");
     this.lblSearchTemplate.Name = "lblSearchTemplate";
     this.cmbSearchTemplate.DeleteButton = this.btnDeleteTemplate;
     manager.ApplyResources(this.cmbSearchTemplate, "cmbSearchTemplate");
     this.cmbSearchTemplate.FormattingEnabled = true;
     this.cmbSearchTemplate.Name = "cmbSearchTemplate";
     this.cmbSearchTemplate.SaveButton = this.btnSaveTemplate;
     this.cmbSearchTemplate.SelectionChangeCommitted += new EventHandler(this.cmbSearchTemplate_SelectionChangeCommitted);
     this.cmbSearchTemplate.Leave += new EventHandler(this.cmbSearchTemplate_Enter);
     this.cmbSearchTemplate.Enter += new EventHandler(this.cmbSearchTemplate_Enter);
     this.cmbSearchTemplate.TextUpdate += new EventHandler(this.cmbSearchTemplate_TextUpdate);
     manager.ApplyResources(this.btnDeleteTemplate, "btnDeleteTemplate");
     this.btnDeleteTemplate.Name = "btnDeleteTemplate";
     this.btnDeleteTemplate.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnSaveTemplate, "btnSaveTemplate");
     this.btnSaveTemplate.Name = "btnSaveTemplate";
     this.btnSaveTemplate.UseVisualStyleBackColor = true;
     this.btnSaveTemplate.Click += new EventHandler(this.btnSaveTemplate_Click);
     this.btnSaveTemplate.EnabledChanged += new EventHandler(this.btnSaveTemplate_EnabledChanged);
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Bottom;
     this.bvlButtons.Style = Border3DStyle.Flat;
     manager.ApplyResources(this.bvlTemplate, "bvlTemplate");
     this.bvlTemplate.ForeColor = SystemColors.ControlDarkDark;
     this.bvlTemplate.Name = "bvlTemplate";
     this.bvlTemplate.Sides = Border3DSide.Top;
     this.bvlTemplate.Style = Border3DStyle.Flat;
     this.Validator.Owner = this;
     this.Validator.OwnerFormValidate = FormValidate.DisableAcceptButton;
     base.AcceptButton = this.btnOk;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     this.AutoValidate = AutoValidate.EnableAllowFocusChange;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(this.tlpBack);
     base.Controls.Add(this.bvlTemplate);
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(this.tlpButtons);
     base.Controls.Add(this.tlpTemplate);
     base.FixMouseWheel = Settings.Default.FixMouseWheel;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "SearchDialog";
     base.ShowInTaskbar = false;
     this.tlpBack.ResumeLayout(false);
     this.tlpBack.PerformLayout();
     this.tlpButtons.ResumeLayout(false);
     this.tlpButtons.PerformLayout();
     this.tsView.ResumeLayout(false);
     this.tsView.PerformLayout();
     this.tlpTemplate.ResumeLayout(false);
     this.tlpTemplate.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }