From 50f14ab750325bc37ac202a52660ff5e72fd8749 Mon Sep 17 00:00:00 2001 From: Renato Lima Date: Wed, 24 Feb 2021 20:48:23 -0300 Subject: [PATCH] Allow resize and add autosize to the filter box (close #177) --- src/LogExpert/Controls/LogWindow/LogWindow.cs | 5 +- .../Controls/LogWindow/LogWindow.designer.cs | 2341 +++++++++-------- .../LogWindow/LogWindowEventHandlers.cs | 50 + .../Controls/LogWindow/LogWindowsPublic.cs | 5 + .../Extensions/ComboBoxExtensions.cs | 30 + src/LogExpert/LogExpert.csproj | 1 + 6 files changed, 1280 insertions(+), 1152 deletions(-) create mode 100644 src/LogExpert/Extensions/ComboBoxExtensions.cs diff --git a/src/LogExpert/Controls/LogWindow/LogWindow.cs b/src/LogExpert/Controls/LogWindow/LogWindow.cs index 25262447..fcd4b68f 100644 --- a/src/LogExpert/Controls/LogWindow/LogWindow.cs +++ b/src/LogExpert/Controls/LogWindow/LogWindow.cs @@ -173,8 +173,9 @@ public LogWindow(LogTabWindow parent, string fileName, bool isTempFile, filterComboBox.Items.Add(item); } - filterComboBox.DropDownHeight = filterComboBox.ItemHeight * ConfigManager.Settings.preferences.maximumFilterEntriesDisplayed; - + filterComboBox.DropDownHeight = filterComboBox.ItemHeight * ConfigManager.Settings.preferences.maximumFilterEntriesDisplayed; + AutoResizeFilterBox(); + filterRegexCheckBox.Checked = filterParams.isRegex; filterCaseSensitiveCheckBox.Checked = filterParams.isCaseSensitive; filterTailCheckBox.Checked = filterParams.isFilterTail; diff --git a/src/LogExpert/Controls/LogWindow/LogWindow.designer.cs b/src/LogExpert/Controls/LogWindow/LogWindow.designer.cs index d70b6841..1424a914 100644 --- a/src/LogExpert/Controls/LogWindow/LogWindow.designer.cs +++ b/src/LogExpert/Controls/LogWindow/LogWindow.designer.cs @@ -29,260 +29,210 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LogWindow)); - this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.columnFinderPanel = new System.Windows.Forms.Panel(); - this.columnComboBox = new System.Windows.Forms.ComboBox(); - this.label3 = new System.Windows.Forms.Label(); - this.dataGridView = new LogExpert.Dialogs.BufferedDataGridView(); - this.dataGridContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.copyToTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.scrollAllTabsToTimestampToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.syncTimestampsToToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.freeThisWindowFromTimeSyncToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.locateLineInOriginalFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.toggleBoomarkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.bookmarkCommentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.markEditModeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.tempHighlightsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.removeAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.makePermanentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.markCurrentFilterRangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.pluginSeparator = new System.Windows.Forms.ToolStripSeparator(); - this.timeSpreadingControl1 = new LogExpert.Dialogs.TimeSpreadingControl(); - this.advancedBackPanel = new System.Windows.Forms.Panel(); - this.advancedFilterSplitContainer = new System.Windows.Forms.SplitContainer(); - this.panel2 = new System.Windows.Forms.Panel(); - this.columnButton = new System.Windows.Forms.Button(); - this.columnRestrictCheckBox = new System.Windows.Forms.CheckBox(); - this.rangeCheckBox = new System.Windows.Forms.CheckBox(); - this.filterRangeComboBox = new System.Windows.Forms.ComboBox(); - this.columnNamesLabel = new System.Windows.Forms.Label(); - this.fuzzyLabel = new System.Windows.Forms.Label(); - this.fuzzyKnobControl = new LogExpert.KnobControl(); - this.invertFilterCheckBox = new System.Windows.Forms.CheckBox(); - this.panel4 = new System.Windows.Forms.Panel(); - this.label6 = new System.Windows.Forms.Label(); - this.filterKnobControl1 = new LogExpert.KnobControl(); - this.label2 = new System.Windows.Forms.Label(); - this.filterKnobControl2 = new LogExpert.KnobControl(); - this.filterToTabButton = new System.Windows.Forms.Button(); - this.toggleHighlightPanelButton = new System.Windows.Forms.Button(); - this.highlightSplitContainer = new System.Windows.Forms.SplitContainer(); - this.filterGridView = new LogExpert.Dialogs.BufferedDataGridView(); - this.filterContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.setBookmarksOnSelectedLinesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.filterToTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.markFilterHitsInLogViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.panel3 = new System.Windows.Forms.Panel(); - this.hideFilterListOnLoadCheckBox = new System.Windows.Forms.CheckBox(); - this.filterDownButton = new System.Windows.Forms.Button(); - this.filterUpButton = new System.Windows.Forms.Button(); - this.filterOnLoadCheckBox = new System.Windows.Forms.CheckBox(); - this.saveFilterButton = new System.Windows.Forms.Button(); - this.deleteFilterButton = new System.Windows.Forms.Button(); - this.filterListBox = new System.Windows.Forms.ListBox(); - this.filterListContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.colorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.filterInputPanel = new System.Windows.Forms.Panel(); - this.advancedButton = new System.Windows.Forms.Button(); - this.syncFilterCheckBox = new System.Windows.Forms.CheckBox(); - this.filterCountLabel = new System.Windows.Forms.Label(); - this.filterTailCheckBox = new System.Windows.Forms.CheckBox(); - this.filterRegexCheckBox = new System.Windows.Forms.CheckBox(); - this.filterCaseSensitiveCheckBox = new System.Windows.Forms.CheckBox(); - this.filterSearchButton = new System.Windows.Forms.Button(); - this.label1 = new System.Windows.Forms.Label(); - this.filterComboBox = new System.Windows.Forms.ComboBox(); - this.bookmarkContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.deleteBookmarksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.columnContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.freezeLeftColumnsUntilHereToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.moveToLastColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.moveLeftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.moveRightToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); - this.hideColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.restoreColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); - this.allColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.editModeContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); - this.copyToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.highlightSelectionInLogFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.highlightSelectionInLogFilewordModeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.filterForSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.setSelectedTextAsBookmarkCommentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.helpToolTip = new System.Windows.Forms.ToolTip(this.components); - this.splitContainer1.Panel1.SuspendLayout(); - this.splitContainer1.Panel2.SuspendLayout(); - this.splitContainer1.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); - this.columnFinderPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); - this.dataGridContextMenuStrip.SuspendLayout(); - this.advancedBackPanel.SuspendLayout(); - this.advancedFilterSplitContainer.Panel1.SuspendLayout(); - this.advancedFilterSplitContainer.Panel2.SuspendLayout(); - this.advancedFilterSplitContainer.SuspendLayout(); - this.panel2.SuspendLayout(); - this.highlightSplitContainer.Panel1.SuspendLayout(); - this.highlightSplitContainer.Panel2.SuspendLayout(); - this.highlightSplitContainer.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.filterGridView)).BeginInit(); - this.filterContextMenuStrip.SuspendLayout(); - this.panel3.SuspendLayout(); - this.filterListContextMenuStrip.SuspendLayout(); - this.filterInputPanel.SuspendLayout(); - this.bookmarkContextMenuStrip.SuspendLayout(); - this.columnContextMenuStrip.SuspendLayout(); - this.editModeContextMenuStrip.SuspendLayout(); - this.SuspendLayout(); - // - // splitContainer1 - // - this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; - this.splitContainer1.Location = new System.Drawing.Point(0, 0); - this.splitContainer1.Margin = new System.Windows.Forms.Padding(0); - this.splitContainer1.Name = "splitContainer1"; - this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // splitContainer1.Panel1 - // - this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1); - this.splitContainer1.Panel1MinSize = 50; - // - // splitContainer1.Panel2 - // - this.splitContainer1.Panel2.Controls.Add(this.advancedBackPanel); - this.splitContainer1.Panel2.Controls.Add(this.filterInputPanel); - this.splitContainer1.Panel2MinSize = 50; - this.splitContainer1.Size = new System.Drawing.Size(1014, 656); - this.splitContainer1.SplitterDistance = 364; - this.splitContainer1.TabIndex = 9; - this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; - this.tableLayoutPanel1.ColumnCount = 2; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 163F)); - this.tableLayoutPanel1.Controls.Add(this.columnFinderPanel, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.dataGridView, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.timeSpreadingControl1, 1, 1); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.ForeColor = System.Drawing.SystemColors.ControlText; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1012, 362); - this.tableLayoutPanel1.TabIndex = 2; - // - // columnFinderPanel - // - this.columnFinderPanel.Controls.Add(this.columnComboBox); - this.columnFinderPanel.Controls.Add(this.label3); - this.columnFinderPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.columnFinderPanel.Location = new System.Drawing.Point(4, 4); - this.columnFinderPanel.Name = "columnFinderPanel"; - this.columnFinderPanel.Size = new System.Drawing.Size(841, 22); - this.columnFinderPanel.TabIndex = 2; - // - // columnComboBox - // - this.columnComboBox.FormattingEnabled = true; - this.columnComboBox.Location = new System.Drawing.Point(88, 1); - this.columnComboBox.MaxDropDownItems = 15; - this.columnComboBox.Name = "columnComboBox"; - this.columnComboBox.Size = new System.Drawing.Size(181, 21); - this.columnComboBox.TabIndex = 1; - this.helpToolTip.SetToolTip(this.columnComboBox, "Select column to scroll to"); - this.columnComboBox.SelectionChangeCommitted += new System.EventHandler(this.columnComboBox_SelectionChangeCommitted); + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LogWindow)); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.columnFinderPanel = new System.Windows.Forms.Panel(); + this.columnComboBox = new System.Windows.Forms.ComboBox(); + this.label3 = new System.Windows.Forms.Label(); + this.dataGridContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.copyToTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.scrollAllTabsToTimestampToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.syncTimestampsToToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.freeThisWindowFromTimeSyncToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.locateLineInOriginalFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toggleBoomarkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.bookmarkCommentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.markEditModeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.tempHighlightsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.removeAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.makePermanentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.markCurrentFilterRangeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.pluginSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.advancedBackPanel = new System.Windows.Forms.Panel(); + this.advancedFilterSplitContainer = new System.Windows.Forms.SplitContainer(); + this.panel2 = new System.Windows.Forms.Panel(); + this.columnButton = new System.Windows.Forms.Button(); + this.columnRestrictCheckBox = new System.Windows.Forms.CheckBox(); + this.rangeCheckBox = new System.Windows.Forms.CheckBox(); + this.filterRangeComboBox = new System.Windows.Forms.ComboBox(); + this.columnNamesLabel = new System.Windows.Forms.Label(); + this.fuzzyLabel = new System.Windows.Forms.Label(); + this.invertFilterCheckBox = new System.Windows.Forms.CheckBox(); + this.panel4 = new System.Windows.Forms.Panel(); + this.label6 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.filterToTabButton = new System.Windows.Forms.Button(); + this.toggleHighlightPanelButton = new System.Windows.Forms.Button(); + this.highlightSplitContainer = new System.Windows.Forms.SplitContainer(); + this.filterContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.setBookmarksOnSelectedLinesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.filterToTabToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.markFilterHitsInLogViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.panel3 = new System.Windows.Forms.Panel(); + this.hideFilterListOnLoadCheckBox = new System.Windows.Forms.CheckBox(); + this.filterDownButton = new System.Windows.Forms.Button(); + this.filterUpButton = new System.Windows.Forms.Button(); + this.filterOnLoadCheckBox = new System.Windows.Forms.CheckBox(); + this.saveFilterButton = new System.Windows.Forms.Button(); + this.deleteFilterButton = new System.Windows.Forms.Button(); + this.filterListBox = new System.Windows.Forms.ListBox(); + this.filterListContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.colorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.filterInputPanel = new System.Windows.Forms.Panel(); + this.filterSplitContainer = new System.Windows.Forms.SplitContainer(); + this.label1 = new System.Windows.Forms.Label(); + this.filterComboBox = new System.Windows.Forms.ComboBox(); + this.advancedButton = new System.Windows.Forms.Button(); + this.syncFilterCheckBox = new System.Windows.Forms.CheckBox(); + this.filterCountLabel = new System.Windows.Forms.Label(); + this.filterTailCheckBox = new System.Windows.Forms.CheckBox(); + this.filterRegexCheckBox = new System.Windows.Forms.CheckBox(); + this.filterCaseSensitiveCheckBox = new System.Windows.Forms.CheckBox(); + this.filterSearchButton = new System.Windows.Forms.Button(); + this.bookmarkContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.deleteBookmarksToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.columnContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.freezeLeftColumnsUntilHereToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.moveToLastColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.moveLeftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.moveRightToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.hideColumnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.restoreColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.allColumnsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.editModeContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); + this.copyToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); + this.highlightSelectionInLogFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.highlightSelectionInLogFilewordModeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.filterForSelectionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.setSelectedTextAsBookmarkCommentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.helpToolTip = new System.Windows.Forms.ToolTip(this.components); + this.dataGridView = new LogExpert.Dialogs.BufferedDataGridView(); + this.timeSpreadingControl1 = new LogExpert.Dialogs.TimeSpreadingControl(); + this.fuzzyKnobControl = new LogExpert.KnobControl(); + this.filterKnobControl1 = new LogExpert.KnobControl(); + this.filterKnobControl2 = new LogExpert.KnobControl(); + this.filterGridView = new LogExpert.Dialogs.BufferedDataGridView(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.columnFinderPanel.SuspendLayout(); + this.dataGridContextMenuStrip.SuspendLayout(); + this.advancedBackPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.advancedFilterSplitContainer)).BeginInit(); + this.advancedFilterSplitContainer.Panel1.SuspendLayout(); + this.advancedFilterSplitContainer.Panel2.SuspendLayout(); + this.advancedFilterSplitContainer.SuspendLayout(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.highlightSplitContainer)).BeginInit(); + this.highlightSplitContainer.Panel1.SuspendLayout(); + this.highlightSplitContainer.Panel2.SuspendLayout(); + this.highlightSplitContainer.SuspendLayout(); + this.filterContextMenuStrip.SuspendLayout(); + this.panel3.SuspendLayout(); + this.filterListContextMenuStrip.SuspendLayout(); + this.filterInputPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.filterSplitContainer)).BeginInit(); + this.filterSplitContainer.Panel1.SuspendLayout(); + this.filterSplitContainer.Panel2.SuspendLayout(); + this.filterSplitContainer.SuspendLayout(); + this.bookmarkContextMenuStrip.SuspendLayout(); + this.columnContextMenuStrip.SuspendLayout(); + this.editModeContextMenuStrip.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.filterGridView)).BeginInit(); + this.SuspendLayout(); + // + // splitContainer1 + // + this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer1.Location = new System.Drawing.Point(0, 0); + this.splitContainer1.Margin = new System.Windows.Forms.Padding(0); + this.splitContainer1.Name = "splitContainer1"; + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1); + this.splitContainer1.Panel1MinSize = 50; + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.advancedBackPanel); + this.splitContainer1.Panel2.Controls.Add(this.filterInputPanel); + this.splitContainer1.Panel2MinSize = 50; + this.splitContainer1.Size = new System.Drawing.Size(1014, 656); + this.splitContainer1.SplitterDistance = 364; + this.splitContainer1.TabIndex = 9; + this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 179F)); + this.tableLayoutPanel1.Controls.Add(this.columnFinderPanel, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.dataGridView, 0, 1); + this.tableLayoutPanel1.Controls.Add(this.timeSpreadingControl1, 1, 1); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.ForeColor = System.Drawing.SystemColors.ControlText; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 2; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 28F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(1012, 362); + this.tableLayoutPanel1.TabIndex = 2; + // + // columnFinderPanel + // + this.columnFinderPanel.Controls.Add(this.columnComboBox); + this.columnFinderPanel.Controls.Add(this.label3); + this.columnFinderPanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.columnFinderPanel.Location = new System.Drawing.Point(4, 4); + this.columnFinderPanel.Name = "columnFinderPanel"; + this.columnFinderPanel.Size = new System.Drawing.Size(841, 22); + this.columnFinderPanel.TabIndex = 2; + // + // columnComboBox + // + this.columnComboBox.FormattingEnabled = true; + this.columnComboBox.Location = new System.Drawing.Point(88, 1); + this.columnComboBox.MaxDropDownItems = 15; + this.columnComboBox.Name = "columnComboBox"; + this.columnComboBox.Size = new System.Drawing.Size(181, 21); + this.columnComboBox.TabIndex = 1; + this.helpToolTip.SetToolTip(this.columnComboBox, "Select column to scroll to"); + this.columnComboBox.SelectionChangeCommitted += new System.EventHandler(this.columnComboBox_SelectionChangeCommitted); this.columnComboBox.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.columnComboBox_PreviewKeyDown); - this.columnComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.columnComboBox_KeyDown); - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(8, 4); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(74, 13); - this.label3.TabIndex = 0; - this.label3.Text = "Column name:"; - // - // dataGridView - // - this.dataGridView.AllowUserToAddRows = false; - this.dataGridView.AllowUserToDeleteRows = false; - this.dataGridView.AllowUserToOrderColumns = true; - this.dataGridView.AllowUserToResizeRows = false; - this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window; - this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.dataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; - this.dataGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; - this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dataGridView.ContextMenuStrip = this.dataGridContextMenuStrip; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView.DefaultCellStyle = dataGridViewCellStyle1; - this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; - this.dataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this.dataGridView.EditModeMenuStrip = null; - this.dataGridView.ImeMode = System.Windows.Forms.ImeMode.Disable; - this.dataGridView.Location = new System.Drawing.Point(1, 30); - this.dataGridView.Margin = new System.Windows.Forms.Padding(0); - this.dataGridView.Name = "dataGridView"; - this.dataGridView.PaintWithOverlays = false; - this.dataGridView.RowHeadersVisible = false; - this.dataGridView.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.BottomLeft; - this.dataGridView.RowTemplate.DefaultCellStyle.Padding = new System.Windows.Forms.Padding(2, 0, 0, 0); - this.dataGridView.RowTemplate.Height = 15; - this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView.ShowCellErrors = false; - this.dataGridView.ShowCellToolTips = false; - this.dataGridView.ShowEditingIcon = false; - this.dataGridView.ShowRowErrors = false; - this.dataGridView.Size = new System.Drawing.Size(847, 331); - this.dataGridView.TabIndex = 0; - this.dataGridView.VirtualMode = true; - this.dataGridView.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dataGridView_Scroll); - this.dataGridView.OverlayDoubleClicked += new LogExpert.Dialogs.BufferedDataGridView.OverlayDoubleClickedEventHandler(this.dataGridView_OverlayDoubleClicked); - this.dataGridView.Enter += new System.EventHandler(this.dataGridView_Enter); - this.dataGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellDoubleClick); - this.dataGridView.RowHeightInfoNeeded += new System.Windows.Forms.DataGridViewRowHeightInfoNeededEventHandler(this.dataGridView_RowHeightInfoNeeded); - this.dataGridView.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellContentDoubleClick); - this.dataGridView.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.dataGridView_PreviewKeyDown); - this.dataGridView.RowUnshared += new System.Windows.Forms.DataGridViewRowEventHandler(this.dataGridView_RowUnshared); - this.dataGridView.Leave += new System.EventHandler(this.dataGridView_Leave); - this.dataGridView.CellContextMenuStripNeeded += new System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventHandler(this.dataGridView_CellContextMenuStripNeeded); - this.dataGridView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellClick); - this.dataGridView.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dataGridView_CellValuePushed); - this.dataGridView.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView_Paint); - this.dataGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView_KeyDown); - this.dataGridView.Resize += new System.EventHandler(this.dataGridView_Resize); - this.dataGridView.SelectionChanged += new System.EventHandler(this.dataGridView_SelectionChanged); - // - // dataGridContextMenuStrip - // - this.dataGridContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.columnComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.columnComboBox_KeyDown); // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(8, 4); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(74, 13); + this.label3.TabIndex = 0; + this.label3.Text = "Column name:"; + // + // dataGridContextMenuStrip + // + this.dataGridContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyToolStripMenuItem, this.copyToTabToolStripMenuItem, this.toolStripSeparator1, @@ -298,735 +248,656 @@ private void InitializeComponent() this.tempHighlightsToolStripMenuItem, this.markCurrentFilterRangeToolStripMenuItem, this.pluginSeparator}); - this.dataGridContextMenuStrip.Name = "dataGridContextMenuStrip"; - this.dataGridContextMenuStrip.Size = new System.Drawing.Size(289, 270); - this.dataGridContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.dataGridContextMenuStrip_Opening); - // - // copyToolStripMenuItem - // - this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; - this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); - this.copyToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.copyToolStripMenuItem.Text = "Copy to clipboard"; - this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); - // - // copyToTabToolStripMenuItem - // - this.copyToTabToolStripMenuItem.Name = "copyToTabToolStripMenuItem"; - this.copyToTabToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); - this.copyToTabToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.copyToTabToolStripMenuItem.Text = "Copy to new tab"; - this.copyToTabToolStripMenuItem.ToolTipText = "Copy marked lines into a new tab window"; - this.copyToTabToolStripMenuItem.Click += new System.EventHandler(this.copyToTabToolStripMenuItem_Click); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(285, 6); - // - // scrollAllTabsToTimestampToolStripMenuItem - // - this.scrollAllTabsToTimestampToolStripMenuItem.Name = "scrollAllTabsToTimestampToolStripMenuItem"; - this.scrollAllTabsToTimestampToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.scrollAllTabsToTimestampToolStripMenuItem.Text = "Scroll all tabs to current timestamp"; - this.scrollAllTabsToTimestampToolStripMenuItem.ToolTipText = "Scolls all open tabs to the selected timestamp, if possible"; - this.scrollAllTabsToTimestampToolStripMenuItem.Click += new System.EventHandler(this.scrollAllTabsToTimestampToolStripMenuItem_Click); - // - // syncTimestampsToToolStripMenuItem - // - this.syncTimestampsToToolStripMenuItem.Name = "syncTimestampsToToolStripMenuItem"; - this.syncTimestampsToToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.syncTimestampsToToolStripMenuItem.Text = "Time synced files"; - // - // freeThisWindowFromTimeSyncToolStripMenuItem - // - this.freeThisWindowFromTimeSyncToolStripMenuItem.Name = "freeThisWindowFromTimeSyncToolStripMenuItem"; - this.freeThisWindowFromTimeSyncToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.freeThisWindowFromTimeSyncToolStripMenuItem.Text = "Free this window from time sync"; - this.freeThisWindowFromTimeSyncToolStripMenuItem.Click += new System.EventHandler(this.freeThisWindowFromTimeSyncToolStripMenuItem_Click); - // - // locateLineInOriginalFileToolStripMenuItem - // - this.locateLineInOriginalFileToolStripMenuItem.Name = "locateLineInOriginalFileToolStripMenuItem"; - this.locateLineInOriginalFileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L))); - this.locateLineInOriginalFileToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.locateLineInOriginalFileToolStripMenuItem.Text = "Locate filtered line in original file"; - this.locateLineInOriginalFileToolStripMenuItem.Click += new System.EventHandler(this.locateLineInOriginalFileToolStripMenuItem_Click); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(285, 6); - // - // toggleBoomarkToolStripMenuItem - // - this.toggleBoomarkToolStripMenuItem.Name = "toggleBoomarkToolStripMenuItem"; - this.toggleBoomarkToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F2))); - this.toggleBoomarkToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.toggleBoomarkToolStripMenuItem.Text = "Toggle Boomark"; - this.toggleBoomarkToolStripMenuItem.Click += new System.EventHandler(this.toggleBoomarkToolStripMenuItem_Click); - // - // bookmarkCommentToolStripMenuItem - // - this.bookmarkCommentToolStripMenuItem.Name = "bookmarkCommentToolStripMenuItem"; - this.bookmarkCommentToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F2))); - this.bookmarkCommentToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.bookmarkCommentToolStripMenuItem.Text = "Bookmark comment..."; - this.bookmarkCommentToolStripMenuItem.ToolTipText = "Edit the comment for a bookmark"; - this.bookmarkCommentToolStripMenuItem.Click += new System.EventHandler(this.bookmarkCommentToolStripMenuItem_Click); - // - // toolStripSeparator4 - // - this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(285, 6); - // - // markEditModeToolStripMenuItem - // - this.markEditModeToolStripMenuItem.Name = "markEditModeToolStripMenuItem"; - this.markEditModeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); - this.markEditModeToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.markEditModeToolStripMenuItem.Text = "Mark/Edit-Mode"; - this.markEditModeToolStripMenuItem.Click += new System.EventHandler(this.markEditModeToolStripMenuItem_Click); - // - // tempHighlightsToolStripMenuItem - // - this.tempHighlightsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.dataGridContextMenuStrip.Name = "dataGridContextMenuStrip"; + this.dataGridContextMenuStrip.Size = new System.Drawing.Size(287, 270); + this.dataGridContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.dataGridContextMenuStrip_Opening); + // + // copyToolStripMenuItem + // + this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; + this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); + this.copyToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.copyToolStripMenuItem.Text = "Copy to clipboard"; + this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); + // + // copyToTabToolStripMenuItem + // + this.copyToTabToolStripMenuItem.Name = "copyToTabToolStripMenuItem"; + this.copyToTabToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); + this.copyToTabToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.copyToTabToolStripMenuItem.Text = "Copy to new tab"; + this.copyToTabToolStripMenuItem.ToolTipText = "Copy marked lines into a new tab window"; + this.copyToTabToolStripMenuItem.Click += new System.EventHandler(this.copyToTabToolStripMenuItem_Click); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(283, 6); + // + // scrollAllTabsToTimestampToolStripMenuItem + // + this.scrollAllTabsToTimestampToolStripMenuItem.Name = "scrollAllTabsToTimestampToolStripMenuItem"; + this.scrollAllTabsToTimestampToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.scrollAllTabsToTimestampToolStripMenuItem.Text = "Scroll all tabs to current timestamp"; + this.scrollAllTabsToTimestampToolStripMenuItem.ToolTipText = "Scolls all open tabs to the selected timestamp, if possible"; + this.scrollAllTabsToTimestampToolStripMenuItem.Click += new System.EventHandler(this.scrollAllTabsToTimestampToolStripMenuItem_Click); + // + // syncTimestampsToToolStripMenuItem + // + this.syncTimestampsToToolStripMenuItem.Name = "syncTimestampsToToolStripMenuItem"; + this.syncTimestampsToToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.syncTimestampsToToolStripMenuItem.Text = "Time synced files"; + // + // freeThisWindowFromTimeSyncToolStripMenuItem + // + this.freeThisWindowFromTimeSyncToolStripMenuItem.Name = "freeThisWindowFromTimeSyncToolStripMenuItem"; + this.freeThisWindowFromTimeSyncToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.freeThisWindowFromTimeSyncToolStripMenuItem.Text = "Free this window from time sync"; + this.freeThisWindowFromTimeSyncToolStripMenuItem.Click += new System.EventHandler(this.freeThisWindowFromTimeSyncToolStripMenuItem_Click); + // + // locateLineInOriginalFileToolStripMenuItem + // + this.locateLineInOriginalFileToolStripMenuItem.Name = "locateLineInOriginalFileToolStripMenuItem"; + this.locateLineInOriginalFileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L))); + this.locateLineInOriginalFileToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.locateLineInOriginalFileToolStripMenuItem.Text = "Locate filtered line in original file"; + this.locateLineInOriginalFileToolStripMenuItem.Click += new System.EventHandler(this.locateLineInOriginalFileToolStripMenuItem_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(283, 6); + // + // toggleBoomarkToolStripMenuItem + // + this.toggleBoomarkToolStripMenuItem.Name = "toggleBoomarkToolStripMenuItem"; + this.toggleBoomarkToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F2))); + this.toggleBoomarkToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.toggleBoomarkToolStripMenuItem.Text = "Toggle Boomark"; + this.toggleBoomarkToolStripMenuItem.Click += new System.EventHandler(this.toggleBoomarkToolStripMenuItem_Click); + // + // bookmarkCommentToolStripMenuItem + // + this.bookmarkCommentToolStripMenuItem.Name = "bookmarkCommentToolStripMenuItem"; + this.bookmarkCommentToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F2))); + this.bookmarkCommentToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.bookmarkCommentToolStripMenuItem.Text = "Bookmark comment..."; + this.bookmarkCommentToolStripMenuItem.ToolTipText = "Edit the comment for a bookmark"; + this.bookmarkCommentToolStripMenuItem.Click += new System.EventHandler(this.bookmarkCommentToolStripMenuItem_Click); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(283, 6); + // + // markEditModeToolStripMenuItem + // + this.markEditModeToolStripMenuItem.Name = "markEditModeToolStripMenuItem"; + this.markEditModeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); + this.markEditModeToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.markEditModeToolStripMenuItem.Text = "Mark/Edit-Mode"; + this.markEditModeToolStripMenuItem.Click += new System.EventHandler(this.markEditModeToolStripMenuItem_Click); + // + // tempHighlightsToolStripMenuItem + // + this.tempHighlightsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.removeAllToolStripMenuItem, this.makePermanentToolStripMenuItem}); - this.tempHighlightsToolStripMenuItem.Name = "tempHighlightsToolStripMenuItem"; - this.tempHighlightsToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.tempHighlightsToolStripMenuItem.Text = "Temp Highlights"; - // - // removeAllToolStripMenuItem - // - this.removeAllToolStripMenuItem.Name = "removeAllToolStripMenuItem"; - this.removeAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) - | System.Windows.Forms.Keys.H))); - this.removeAllToolStripMenuItem.Size = new System.Drawing.Size(260, 22); - this.removeAllToolStripMenuItem.Text = "Remove all"; - this.removeAllToolStripMenuItem.Click += new System.EventHandler(this.removeAllToolStripMenuItem_Click); - // - // makePermanentToolStripMenuItem - // - this.makePermanentToolStripMenuItem.Name = "makePermanentToolStripMenuItem"; - this.makePermanentToolStripMenuItem.Size = new System.Drawing.Size(260, 22); - this.makePermanentToolStripMenuItem.Text = "Make all permanent"; - this.makePermanentToolStripMenuItem.Click += new System.EventHandler(this.makePermanentToolStripMenuItem_Click); - // - // markCurrentFilterRangeToolStripMenuItem - // - this.markCurrentFilterRangeToolStripMenuItem.Name = "markCurrentFilterRangeToolStripMenuItem"; - this.markCurrentFilterRangeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R))); - this.markCurrentFilterRangeToolStripMenuItem.Size = new System.Drawing.Size(288, 22); - this.markCurrentFilterRangeToolStripMenuItem.Text = "Mark current filter range"; - this.markCurrentFilterRangeToolStripMenuItem.Click += new System.EventHandler(this.markCurrentFilterRangeToolStripMenuItem_Click); - // - // pluginSeparator - // - this.pluginSeparator.Name = "pluginSeparator"; - this.pluginSeparator.Size = new System.Drawing.Size(285, 6); - // - // timeSpreadingControl1 - // - this.timeSpreadingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Right))); - this.timeSpreadingControl1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.timeSpreadingControl1.ForeColor = System.Drawing.Color.Teal; - this.timeSpreadingControl1.Location = new System.Drawing.Point(995, 30); - this.timeSpreadingControl1.Margin = new System.Windows.Forms.Padding(2, 0, 1, 0); - this.timeSpreadingControl1.Name = "timeSpreadingControl1"; - this.timeSpreadingControl1.ReverseAlpha = false; - this.timeSpreadingControl1.Size = new System.Drawing.Size(16, 331); - this.timeSpreadingControl1.TabIndex = 1; - // - // advancedBackPanel - // - this.advancedBackPanel.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.advancedBackPanel.Controls.Add(this.advancedFilterSplitContainer); - this.advancedBackPanel.Location = new System.Drawing.Point(3, 27); - this.advancedBackPanel.Name = "advancedBackPanel"; - this.advancedBackPanel.Size = new System.Drawing.Size(1007, 256); - this.advancedBackPanel.TabIndex = 3; - // - // advancedFilterSplitContainer - // - this.advancedFilterSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; - this.advancedFilterSplitContainer.IsSplitterFixed = true; - this.advancedFilterSplitContainer.Location = new System.Drawing.Point(0, 0); - this.advancedFilterSplitContainer.Margin = new System.Windows.Forms.Padding(0); - this.advancedFilterSplitContainer.Name = "advancedFilterSplitContainer"; - this.advancedFilterSplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // advancedFilterSplitContainer.Panel1 - // - this.advancedFilterSplitContainer.Panel1.Controls.Add(this.panel2); - this.advancedFilterSplitContainer.Panel1MinSize = 54; - // - // advancedFilterSplitContainer.Panel2 - // - this.advancedFilterSplitContainer.Panel2.Controls.Add(this.toggleHighlightPanelButton); - this.advancedFilterSplitContainer.Panel2.Controls.Add(this.highlightSplitContainer); - this.advancedFilterSplitContainer.Panel2MinSize = 50; - this.advancedFilterSplitContainer.Size = new System.Drawing.Size(1007, 256); - this.advancedFilterSplitContainer.SplitterDistance = 76; - this.advancedFilterSplitContainer.SplitterWidth = 2; - this.advancedFilterSplitContainer.TabIndex = 2; - // - // panel2 - // - this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(227)))), ((int)(((byte)(227))))); - this.panel2.Controls.Add(this.columnButton); - this.panel2.Controls.Add(this.columnRestrictCheckBox); - this.panel2.Controls.Add(this.rangeCheckBox); - this.panel2.Controls.Add(this.filterRangeComboBox); - this.panel2.Controls.Add(this.columnNamesLabel); - this.panel2.Controls.Add(this.fuzzyLabel); - this.panel2.Controls.Add(this.fuzzyKnobControl); - this.panel2.Controls.Add(this.invertFilterCheckBox); - this.panel2.Controls.Add(this.panel4); - this.panel2.Controls.Add(this.label6); - this.panel2.Controls.Add(this.filterKnobControl1); - this.panel2.Controls.Add(this.label2); - this.panel2.Controls.Add(this.filterKnobControl2); - this.panel2.Controls.Add(this.filterToTabButton); - this.panel2.Location = new System.Drawing.Point(0, 0); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1004, 72); - this.panel2.TabIndex = 0; - // - // columnButton - // - this.columnButton.Enabled = false; - this.columnButton.Location = new System.Drawing.Point(655, 30); - this.columnButton.Name = "columnButton"; - this.columnButton.Size = new System.Drawing.Size(71, 23); - this.columnButton.TabIndex = 15; - this.columnButton.Text = "Columns..."; - this.helpToolTip.SetToolTip(this.columnButton, "Choose columns for \'Column restrict\'"); - this.columnButton.UseVisualStyleBackColor = true; - this.columnButton.Click += new System.EventHandler(this.columnButton_Click); - // - // columnRestrictCheckBox - // - this.columnRestrictCheckBox.AutoSize = true; - this.columnRestrictCheckBox.Location = new System.Drawing.Point(527, 37); - this.columnRestrictCheckBox.Name = "columnRestrictCheckBox"; - this.columnRestrictCheckBox.Size = new System.Drawing.Size(95, 17); - this.columnRestrictCheckBox.TabIndex = 14; - this.columnRestrictCheckBox.Text = "Column restrict"; - this.helpToolTip.SetToolTip(this.columnRestrictCheckBox, "Restrict search to columns"); - this.columnRestrictCheckBox.UseVisualStyleBackColor = true; - this.columnRestrictCheckBox.CheckedChanged += new System.EventHandler(this.columnRestrictCheckBox_CheckedChanged); - // - // rangeCheckBox - // - this.rangeCheckBox.AutoSize = true; - this.rangeCheckBox.Location = new System.Drawing.Point(75, 36); - this.rangeCheckBox.Name = "rangeCheckBox"; - this.rangeCheckBox.Size = new System.Drawing.Size(93, 17); - this.rangeCheckBox.TabIndex = 13; - this.rangeCheckBox.Text = "Range search"; - this.helpToolTip.SetToolTip(this.rangeCheckBox, "Enable a special search mode which filters all content between the 2 given search" + - " terms."); - this.rangeCheckBox.UseVisualStyleBackColor = true; - this.rangeCheckBox.CheckedChanged += new System.EventHandler(this.rangeCheckBox_CheckedChanged); - // - // filterRangeComboBox - // - this.filterRangeComboBox.Enabled = false; - this.filterRangeComboBox.FormattingEnabled = true; - this.filterRangeComboBox.Location = new System.Drawing.Point(73, 11); - this.filterRangeComboBox.Name = "filterRangeComboBox"; - this.filterRangeComboBox.Size = new System.Drawing.Size(207, 21); - this.filterRangeComboBox.TabIndex = 12; - this.helpToolTip.SetToolTip(this.filterRangeComboBox, "2nd search string (\'end string\') when using the range search"); - this.filterRangeComboBox.TextChanged += new System.EventHandler(this.filterRangeComboBox_TextChanged); - // - // columnNamesLabel - // - this.columnNamesLabel.AutoSize = true; - this.columnNamesLabel.Location = new System.Drawing.Point(732, 35); - this.columnNamesLabel.Name = "columnNamesLabel"; - this.columnNamesLabel.Size = new System.Drawing.Size(75, 13); - this.columnNamesLabel.TabIndex = 11; - this.columnNamesLabel.Text = "column names"; - // - // fuzzyLabel - // - this.fuzzyLabel.AutoSize = true; - this.fuzzyLabel.Location = new System.Drawing.Point(435, 38); - this.fuzzyLabel.Name = "fuzzyLabel"; - this.fuzzyLabel.Size = new System.Drawing.Size(56, 13); - this.fuzzyLabel.TabIndex = 11; - this.fuzzyLabel.Text = "Fuzzyness"; - // - // fuzzyKnobControl - // - this.fuzzyKnobControl.DragSensitivity = 6; - this.fuzzyKnobControl.Font = new System.Drawing.Font("Verdana", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.fuzzyKnobControl.Location = new System.Drawing.Point(454, 7); - this.fuzzyKnobControl.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.fuzzyKnobControl.MaxValue = 0; - this.fuzzyKnobControl.MinValue = 0; - this.fuzzyKnobControl.Name = "fuzzyKnobControl"; - this.fuzzyKnobControl.Size = new System.Drawing.Size(17, 29); - this.fuzzyKnobControl.TabIndex = 10; - this.helpToolTip.SetToolTip(this.fuzzyKnobControl, "Fuzzy search level (0 = fuzzy off)"); - this.fuzzyKnobControl.Value = 0; - this.fuzzyKnobControl.ValueChanged += new LogExpert.KnobControl.ValueChangedEventHandler(this.fuzzyKnobControl_ValueChanged); - // - // invertFilterCheckBox - // - this.invertFilterCheckBox.AutoSize = true; - this.invertFilterCheckBox.Location = new System.Drawing.Point(527, 13); - this.invertFilterCheckBox.Name = "invertFilterCheckBox"; - this.invertFilterCheckBox.Size = new System.Drawing.Size(86, 17); - this.invertFilterCheckBox.TabIndex = 8; - this.invertFilterCheckBox.Text = "Invert Match"; - this.helpToolTip.SetToolTip(this.invertFilterCheckBox, "Invert the search result"); - this.invertFilterCheckBox.UseVisualStyleBackColor = true; - this.invertFilterCheckBox.CheckedChanged += new System.EventHandler(this.invertFilterCheckBox_CheckedChanged); - // - // panel4 - // - this.panel4.BackgroundImage = global::LogExpert.Properties.Resources.Pro_Filter; - this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.panel4.Location = new System.Drawing.Point(5, 7); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(60, 44); - this.panel4.TabIndex = 7; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(273, 38); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(72, 13); - this.label6.TabIndex = 6; - this.label6.Text = "Back Spread "; - // - // filterKnobControl1 - // - this.filterKnobControl1.DragSensitivity = 3; - this.filterKnobControl1.Font = new System.Drawing.Font("Verdana", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.filterKnobControl1.Location = new System.Drawing.Point(299, 7); - this.filterKnobControl1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.filterKnobControl1.MaxValue = 0; - this.filterKnobControl1.MinValue = 0; - this.filterKnobControl1.Name = "filterKnobControl1"; - this.filterKnobControl1.Size = new System.Drawing.Size(17, 29); - this.filterKnobControl1.TabIndex = 5; - this.helpToolTip.SetToolTip(this.filterKnobControl1, "Add preceding lines to search result (Drag up/down, press Shift for finer pitch)"); - this.filterKnobControl1.Value = 0; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(342, 38); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(65, 13); - this.label2.TabIndex = 2; - this.label2.Text = "Fore Spread"; - // - // filterKnobControl2 - // - this.filterKnobControl2.DragSensitivity = 3; - this.filterKnobControl2.Font = new System.Drawing.Font("Verdana", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.filterKnobControl2.Location = new System.Drawing.Point(365, 7); - this.filterKnobControl2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.filterKnobControl2.MaxValue = 0; - this.filterKnobControl2.MinValue = 0; - this.filterKnobControl2.Name = "filterKnobControl2"; - this.filterKnobControl2.Size = new System.Drawing.Size(17, 29); - this.filterKnobControl2.TabIndex = 1; - this.helpToolTip.SetToolTip(this.filterKnobControl2, "Add following lines to search result (Drag up/down, press Shift for finer pitch)"); - this.filterKnobControl2.Value = 0; - // - // filterToTabButton - // - this.filterToTabButton.Location = new System.Drawing.Point(655, 3); - this.filterToTabButton.Name = "filterToTabButton"; - this.filterToTabButton.Size = new System.Drawing.Size(71, 23); - this.filterToTabButton.TabIndex = 0; - this.filterToTabButton.Text = "Filter to Tab"; - this.helpToolTip.SetToolTip(this.filterToTabButton, "Launch a new tab with filtered content"); - this.filterToTabButton.UseVisualStyleBackColor = true; - this.filterToTabButton.Click += new System.EventHandler(this.filterToTabButton_Click); - // - // toggleHighlightPanelButton - // - this.toggleHighlightPanelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toggleHighlightPanelButton.Image = global::LogExpert.Properties.Resources.PanelOpen1; - this.toggleHighlightPanelButton.Location = new System.Drawing.Point(984, 1); - this.toggleHighlightPanelButton.Name = "toggleHighlightPanelButton"; - this.toggleHighlightPanelButton.Size = new System.Drawing.Size(20, 21); - this.toggleHighlightPanelButton.TabIndex = 6; - this.helpToolTip.SetToolTip(this.toggleHighlightPanelButton, "Open or close a list with saved filters"); - this.toggleHighlightPanelButton.UseVisualStyleBackColor = true; - this.toggleHighlightPanelButton.Click += new System.EventHandler(this.toggleHighlightPanelButton_Click); - // - // highlightSplitContainer - // - this.highlightSplitContainer.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.highlightSplitContainer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.highlightSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; - this.highlightSplitContainer.IsSplitterFixed = true; - this.highlightSplitContainer.Location = new System.Drawing.Point(0, 0); - this.highlightSplitContainer.Name = "highlightSplitContainer"; - // - // highlightSplitContainer.Panel1 - // - this.highlightSplitContainer.Panel1.Controls.Add(this.filterGridView); - // - // highlightSplitContainer.Panel2 - // - this.highlightSplitContainer.Panel2.Controls.Add(this.panel3); - this.highlightSplitContainer.Panel2MinSize = 30; - this.highlightSplitContainer.Size = new System.Drawing.Size(981, 178); - this.highlightSplitContainer.SplitterDistance = 612; - this.highlightSplitContainer.TabIndex = 2; - // - // filterGridView - // - this.filterGridView.AllowUserToAddRows = false; - this.filterGridView.AllowUserToDeleteRows = false; - this.filterGridView.AllowUserToOrderColumns = true; - this.filterGridView.AllowUserToResizeRows = false; - this.filterGridView.BackgroundColor = System.Drawing.SystemColors.Window; - this.filterGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.filterGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; - this.filterGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; - this.filterGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.filterGridView.ContextMenuStrip = this.filterContextMenuStrip; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.filterGridView.DefaultCellStyle = dataGridViewCellStyle2; - this.filterGridView.Dock = System.Windows.Forms.DockStyle.Fill; - this.filterGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this.filterGridView.EditModeMenuStrip = null; - this.filterGridView.ImeMode = System.Windows.Forms.ImeMode.Disable; - this.filterGridView.Location = new System.Drawing.Point(0, 0); - this.filterGridView.Margin = new System.Windows.Forms.Padding(0); - this.filterGridView.Name = "filterGridView"; - this.filterGridView.PaintWithOverlays = false; - this.filterGridView.ReadOnly = true; - this.filterGridView.RowHeadersVisible = false; - this.filterGridView.RowTemplate.Height = 15; - this.filterGridView.RowTemplate.ReadOnly = true; - this.filterGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.filterGridView.ShowCellErrors = false; - this.filterGridView.ShowCellToolTips = false; - this.filterGridView.ShowEditingIcon = false; - this.filterGridView.ShowRowErrors = false; - this.filterGridView.Size = new System.Drawing.Size(610, 176); - this.filterGridView.TabIndex = 1; - this.filterGridView.VirtualMode = true; - this.filterGridView.Enter += new System.EventHandler(this.filterGridView_Enter); - this.filterGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.filterGridView_CellDoubleClick); - this.filterGridView.RowHeightInfoNeeded += new System.Windows.Forms.DataGridViewRowHeightInfoNeededEventHandler(this.filterGridView_RowHeightInfoNeeded); - this.filterGridView.Leave += new System.EventHandler(this.filterGridView_Leave); - this.filterGridView.CellContextMenuStripNeeded += new System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventHandler(this.filterGridView_CellContextMenuStripNeeded); - this.filterGridView.ColumnDividerDoubleClick += new System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventHandler(this.filterGridView_ColumnDividerDoubleClick); - this.filterGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.filterGridView_KeyDown); - // - // filterContextMenuStrip - // - this.filterContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tempHighlightsToolStripMenuItem.Name = "tempHighlightsToolStripMenuItem"; + this.tempHighlightsToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.tempHighlightsToolStripMenuItem.Text = "Temp Highlights"; + // + // removeAllToolStripMenuItem + // + this.removeAllToolStripMenuItem.Name = "removeAllToolStripMenuItem"; + this.removeAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) + | System.Windows.Forms.Keys.H))); + this.removeAllToolStripMenuItem.Size = new System.Drawing.Size(207, 22); + this.removeAllToolStripMenuItem.Text = "Remove all"; + this.removeAllToolStripMenuItem.Click += new System.EventHandler(this.removeAllToolStripMenuItem_Click); + // + // makePermanentToolStripMenuItem + // + this.makePermanentToolStripMenuItem.Name = "makePermanentToolStripMenuItem"; + this.makePermanentToolStripMenuItem.Size = new System.Drawing.Size(207, 22); + this.makePermanentToolStripMenuItem.Text = "Make all permanent"; + this.makePermanentToolStripMenuItem.Click += new System.EventHandler(this.makePermanentToolStripMenuItem_Click); + // + // markCurrentFilterRangeToolStripMenuItem + // + this.markCurrentFilterRangeToolStripMenuItem.Name = "markCurrentFilterRangeToolStripMenuItem"; + this.markCurrentFilterRangeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R))); + this.markCurrentFilterRangeToolStripMenuItem.Size = new System.Drawing.Size(286, 22); + this.markCurrentFilterRangeToolStripMenuItem.Text = "Mark current filter range"; + this.markCurrentFilterRangeToolStripMenuItem.Click += new System.EventHandler(this.markCurrentFilterRangeToolStripMenuItem_Click); + // + // pluginSeparator + // + this.pluginSeparator.Name = "pluginSeparator"; + this.pluginSeparator.Size = new System.Drawing.Size(283, 6); + // + // advancedBackPanel + // + this.advancedBackPanel.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.advancedBackPanel.Controls.Add(this.advancedFilterSplitContainer); + this.advancedBackPanel.Location = new System.Drawing.Point(3, 35); + this.advancedBackPanel.Name = "advancedBackPanel"; + this.advancedBackPanel.Size = new System.Drawing.Size(1007, 248); + this.advancedBackPanel.TabIndex = 3; + // + // advancedFilterSplitContainer + // + this.advancedFilterSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.advancedFilterSplitContainer.IsSplitterFixed = true; + this.advancedFilterSplitContainer.Location = new System.Drawing.Point(0, 0); + this.advancedFilterSplitContainer.Margin = new System.Windows.Forms.Padding(0); + this.advancedFilterSplitContainer.Name = "advancedFilterSplitContainer"; + this.advancedFilterSplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // advancedFilterSplitContainer.Panel1 + // + this.advancedFilterSplitContainer.Panel1.Controls.Add(this.panel2); + this.advancedFilterSplitContainer.Panel1MinSize = 54; + // + // advancedFilterSplitContainer.Panel2 + // + this.advancedFilterSplitContainer.Panel2.Controls.Add(this.toggleHighlightPanelButton); + this.advancedFilterSplitContainer.Panel2.Controls.Add(this.highlightSplitContainer); + this.advancedFilterSplitContainer.Panel2MinSize = 50; + this.advancedFilterSplitContainer.Size = new System.Drawing.Size(1007, 248); + this.advancedFilterSplitContainer.SplitterDistance = 73; + this.advancedFilterSplitContainer.SplitterWidth = 2; + this.advancedFilterSplitContainer.TabIndex = 2; + // + // panel2 + // + this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(227)))), ((int)(((byte)(227)))), ((int)(((byte)(227))))); + this.panel2.Controls.Add(this.columnButton); + this.panel2.Controls.Add(this.columnRestrictCheckBox); + this.panel2.Controls.Add(this.rangeCheckBox); + this.panel2.Controls.Add(this.filterRangeComboBox); + this.panel2.Controls.Add(this.columnNamesLabel); + this.panel2.Controls.Add(this.fuzzyLabel); + this.panel2.Controls.Add(this.fuzzyKnobControl); + this.panel2.Controls.Add(this.invertFilterCheckBox); + this.panel2.Controls.Add(this.panel4); + this.panel2.Controls.Add(this.label6); + this.panel2.Controls.Add(this.filterKnobControl1); + this.panel2.Controls.Add(this.label2); + this.panel2.Controls.Add(this.filterKnobControl2); + this.panel2.Controls.Add(this.filterToTabButton); + this.panel2.Location = new System.Drawing.Point(0, 3); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1004, 69); + this.panel2.TabIndex = 0; + // + // columnButton + // + this.columnButton.Enabled = false; + this.columnButton.Location = new System.Drawing.Point(655, 30); + this.columnButton.Name = "columnButton"; + this.columnButton.Size = new System.Drawing.Size(71, 23); + this.columnButton.TabIndex = 15; + this.columnButton.Text = "Columns..."; + this.helpToolTip.SetToolTip(this.columnButton, "Choose columns for \'Column restrict\'"); + this.columnButton.UseVisualStyleBackColor = true; + this.columnButton.Click += new System.EventHandler(this.columnButton_Click); + // + // columnRestrictCheckBox + // + this.columnRestrictCheckBox.AutoSize = true; + this.columnRestrictCheckBox.Location = new System.Drawing.Point(527, 37); + this.columnRestrictCheckBox.Name = "columnRestrictCheckBox"; + this.columnRestrictCheckBox.Size = new System.Drawing.Size(95, 17); + this.columnRestrictCheckBox.TabIndex = 14; + this.columnRestrictCheckBox.Text = "Column restrict"; + this.helpToolTip.SetToolTip(this.columnRestrictCheckBox, "Restrict search to columns"); + this.columnRestrictCheckBox.UseVisualStyleBackColor = true; + this.columnRestrictCheckBox.CheckedChanged += new System.EventHandler(this.columnRestrictCheckBox_CheckedChanged); + // + // rangeCheckBox + // + this.rangeCheckBox.AutoSize = true; + this.rangeCheckBox.Location = new System.Drawing.Point(75, 36); + this.rangeCheckBox.Name = "rangeCheckBox"; + this.rangeCheckBox.Size = new System.Drawing.Size(93, 17); + this.rangeCheckBox.TabIndex = 13; + this.rangeCheckBox.Text = "Range search"; + this.helpToolTip.SetToolTip(this.rangeCheckBox, "Enable a special search mode which filters all content between the 2 given search" + + " terms."); + this.rangeCheckBox.UseVisualStyleBackColor = true; + this.rangeCheckBox.CheckedChanged += new System.EventHandler(this.rangeCheckBox_CheckedChanged); + // + // filterRangeComboBox + // + this.filterRangeComboBox.Enabled = false; + this.filterRangeComboBox.FormattingEnabled = true; + this.filterRangeComboBox.Location = new System.Drawing.Point(73, 11); + this.filterRangeComboBox.Name = "filterRangeComboBox"; + this.filterRangeComboBox.Size = new System.Drawing.Size(207, 21); + this.filterRangeComboBox.TabIndex = 12; + this.helpToolTip.SetToolTip(this.filterRangeComboBox, "2nd search string (\'end string\') when using the range search"); + this.filterRangeComboBox.TextChanged += new System.EventHandler(this.filterRangeComboBox_TextChanged); + // + // columnNamesLabel + // + this.columnNamesLabel.AutoSize = true; + this.columnNamesLabel.Location = new System.Drawing.Point(732, 35); + this.columnNamesLabel.Name = "columnNamesLabel"; + this.columnNamesLabel.Size = new System.Drawing.Size(75, 13); + this.columnNamesLabel.TabIndex = 11; + this.columnNamesLabel.Text = "column names"; + // + // fuzzyLabel + // + this.fuzzyLabel.AutoSize = true; + this.fuzzyLabel.Location = new System.Drawing.Point(435, 38); + this.fuzzyLabel.Name = "fuzzyLabel"; + this.fuzzyLabel.Size = new System.Drawing.Size(56, 13); + this.fuzzyLabel.TabIndex = 11; + this.fuzzyLabel.Text = "Fuzzyness"; + // + // invertFilterCheckBox + // + this.invertFilterCheckBox.AutoSize = true; + this.invertFilterCheckBox.Location = new System.Drawing.Point(527, 13); + this.invertFilterCheckBox.Name = "invertFilterCheckBox"; + this.invertFilterCheckBox.Size = new System.Drawing.Size(86, 17); + this.invertFilterCheckBox.TabIndex = 8; + this.invertFilterCheckBox.Text = "Invert Match"; + this.helpToolTip.SetToolTip(this.invertFilterCheckBox, "Invert the search result"); + this.invertFilterCheckBox.UseVisualStyleBackColor = true; + this.invertFilterCheckBox.CheckedChanged += new System.EventHandler(this.invertFilterCheckBox_CheckedChanged); + // + // panel4 + // + this.panel4.BackgroundImage = global::LogExpert.Properties.Resources.Pro_Filter; + this.panel4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.panel4.Location = new System.Drawing.Point(5, 7); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(60, 44); + this.panel4.TabIndex = 7; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(273, 38); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(72, 13); + this.label6.TabIndex = 6; + this.label6.Text = "Back Spread "; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(342, 38); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(65, 13); + this.label2.TabIndex = 2; + this.label2.Text = "Fore Spread"; + // + // filterToTabButton + // + this.filterToTabButton.Location = new System.Drawing.Point(655, 3); + this.filterToTabButton.Name = "filterToTabButton"; + this.filterToTabButton.Size = new System.Drawing.Size(71, 23); + this.filterToTabButton.TabIndex = 0; + this.filterToTabButton.Text = "Filter to Tab"; + this.helpToolTip.SetToolTip(this.filterToTabButton, "Launch a new tab with filtered content"); + this.filterToTabButton.UseVisualStyleBackColor = true; + this.filterToTabButton.Click += new System.EventHandler(this.filterToTabButton_Click); + // + // toggleHighlightPanelButton + // + this.toggleHighlightPanelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.toggleHighlightPanelButton.Image = global::LogExpert.Properties.Resources.PanelOpen1; + this.toggleHighlightPanelButton.Location = new System.Drawing.Point(984, 1); + this.toggleHighlightPanelButton.Name = "toggleHighlightPanelButton"; + this.toggleHighlightPanelButton.Size = new System.Drawing.Size(20, 21); + this.toggleHighlightPanelButton.TabIndex = 6; + this.helpToolTip.SetToolTip(this.toggleHighlightPanelButton, "Open or close a list with saved filters"); + this.toggleHighlightPanelButton.UseVisualStyleBackColor = true; + this.toggleHighlightPanelButton.Click += new System.EventHandler(this.toggleHighlightPanelButton_Click); + // + // highlightSplitContainer + // + this.highlightSplitContainer.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.highlightSplitContainer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.highlightSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; + this.highlightSplitContainer.IsSplitterFixed = true; + this.highlightSplitContainer.Location = new System.Drawing.Point(0, 0); + this.highlightSplitContainer.Name = "highlightSplitContainer"; + // + // highlightSplitContainer.Panel1 + // + this.highlightSplitContainer.Panel1.Controls.Add(this.filterGridView); + // + // highlightSplitContainer.Panel2 + // + this.highlightSplitContainer.Panel2.Controls.Add(this.panel3); + this.highlightSplitContainer.Panel2MinSize = 30; + this.highlightSplitContainer.Size = new System.Drawing.Size(981, 197); + this.highlightSplitContainer.SplitterDistance = 612; + this.highlightSplitContainer.TabIndex = 2; + // + // filterContextMenuStrip + // + this.filterContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.setBookmarksOnSelectedLinesToolStripMenuItem, this.filterToTabToolStripMenuItem, this.markFilterHitsInLogViewToolStripMenuItem}); - this.filterContextMenuStrip.Name = "filterContextMenuStrip"; - this.filterContextMenuStrip.Size = new System.Drawing.Size(286, 70); - // - // setBookmarksOnSelectedLinesToolStripMenuItem - // - this.setBookmarksOnSelectedLinesToolStripMenuItem.Name = "setBookmarksOnSelectedLinesToolStripMenuItem"; - this.setBookmarksOnSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(285, 22); - this.setBookmarksOnSelectedLinesToolStripMenuItem.Text = "Set bookmarks on selected lines"; - this.setBookmarksOnSelectedLinesToolStripMenuItem.Click += new System.EventHandler(this.setBookmarksOnSelectedLinesToolStripMenuItem_Click); - // - // filterToTabToolStripMenuItem - // - this.filterToTabToolStripMenuItem.Name = "filterToTabToolStripMenuItem"; - this.filterToTabToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) - | System.Windows.Forms.Keys.T))); - this.filterToTabToolStripMenuItem.Size = new System.Drawing.Size(285, 22); - this.filterToTabToolStripMenuItem.Text = "Filter to new tab"; - this.filterToTabToolStripMenuItem.Click += new System.EventHandler(this.filterToTabToolStripMenuItem_Click); - // - // markFilterHitsInLogViewToolStripMenuItem - // - this.markFilterHitsInLogViewToolStripMenuItem.Name = "markFilterHitsInLogViewToolStripMenuItem"; - this.markFilterHitsInLogViewToolStripMenuItem.Size = new System.Drawing.Size(285, 22); - this.markFilterHitsInLogViewToolStripMenuItem.Text = "Mark filter hits in log view"; - this.markFilterHitsInLogViewToolStripMenuItem.Click += new System.EventHandler(this.markFilterHitsInLogViewToolStripMenuItem_Click); - // - // panel3 - // - this.panel3.Controls.Add(this.hideFilterListOnLoadCheckBox); - this.panel3.Controls.Add(this.filterDownButton); - this.panel3.Controls.Add(this.filterUpButton); - this.panel3.Controls.Add(this.filterOnLoadCheckBox); - this.panel3.Controls.Add(this.saveFilterButton); - this.panel3.Controls.Add(this.deleteFilterButton); - this.panel3.Controls.Add(this.filterListBox); - this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel3.Location = new System.Drawing.Point(0, 0); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(363, 176); - this.panel3.TabIndex = 1; - // - // hideFilterListOnLoadCheckBox - // - this.hideFilterListOnLoadCheckBox.AutoSize = true; - this.hideFilterListOnLoadCheckBox.Location = new System.Drawing.Point(287, 134); - this.hideFilterListOnLoadCheckBox.Name = "hideFilterListOnLoadCheckBox"; - this.hideFilterListOnLoadCheckBox.Size = new System.Drawing.Size(71, 17); - this.hideFilterListOnLoadCheckBox.TabIndex = 20; - this.hideFilterListOnLoadCheckBox.Text = "Auto hide"; - this.helpToolTip.SetToolTip(this.hideFilterListOnLoadCheckBox, "Hides the filter list after loading a filter"); - this.hideFilterListOnLoadCheckBox.UseVisualStyleBackColor = true; - this.hideFilterListOnLoadCheckBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.hideFilterListOnLoadCheckBox_MouseClick); - // - // filterDownButton - // - this.filterDownButton.Image = global::LogExpert.Properties.Resources.ArrowDown; - this.filterDownButton.Location = new System.Drawing.Point(325, 70); - this.filterDownButton.Name = "filterDownButton"; - this.filterDownButton.Size = new System.Drawing.Size(35, 23); - this.filterDownButton.TabIndex = 19; - this.helpToolTip.SetToolTip(this.filterDownButton, "Move the selected entry down in the list"); - this.filterDownButton.UseVisualStyleBackColor = true; - this.filterDownButton.Click += new System.EventHandler(this.filterDownButton_Click); - // - // filterUpButton - // - this.filterUpButton.Image = global::LogExpert.Properties.Resources.ArrowUp; - this.filterUpButton.Location = new System.Drawing.Point(287, 70); - this.filterUpButton.Name = "filterUpButton"; - this.filterUpButton.Size = new System.Drawing.Size(35, 23); - this.filterUpButton.TabIndex = 18; - this.helpToolTip.SetToolTip(this.filterUpButton, "Move the selected entry up in the list"); - this.filterUpButton.UseVisualStyleBackColor = true; - this.filterUpButton.Click += new System.EventHandler(this.filterUpButton_Click); - // - // filterOnLoadCheckBox - // - this.filterOnLoadCheckBox.AutoSize = true; - this.filterOnLoadCheckBox.Location = new System.Drawing.Point(287, 110); - this.filterOnLoadCheckBox.Name = "filterOnLoadCheckBox"; - this.filterOnLoadCheckBox.Size = new System.Drawing.Size(71, 17); - this.filterOnLoadCheckBox.TabIndex = 17; - this.filterOnLoadCheckBox.Text = "Auto start"; - this.helpToolTip.SetToolTip(this.filterOnLoadCheckBox, "Start immediate filtering after loading a saved filter"); - this.filterOnLoadCheckBox.UseVisualStyleBackColor = true; - this.filterOnLoadCheckBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.filterOnLoadCheckBox_MouseClick); - this.filterOnLoadCheckBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.filterOnLoadCheckBox_KeyPress); - // - // saveFilterButton - // - this.saveFilterButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.saveFilterButton.Location = new System.Drawing.Point(287, 11); - this.saveFilterButton.Name = "saveFilterButton"; - this.saveFilterButton.Size = new System.Drawing.Size(73, 23); - this.saveFilterButton.TabIndex = 16; - this.saveFilterButton.Text = "Save filter"; - this.saveFilterButton.UseVisualStyleBackColor = true; - this.saveFilterButton.Click += new System.EventHandler(this.saveFilterButton_Click); - // - // deleteFilterButton - // - this.deleteFilterButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.deleteFilterButton.Location = new System.Drawing.Point(287, 40); - this.deleteFilterButton.Name = "deleteFilterButton"; - this.deleteFilterButton.Size = new System.Drawing.Size(73, 23); - this.deleteFilterButton.TabIndex = 3; - this.deleteFilterButton.Text = "Delete"; - this.deleteFilterButton.UseVisualStyleBackColor = true; - this.deleteFilterButton.Click += new System.EventHandler(this.deleteFilterButton_Click); - // - // filterListBox - // - this.filterListBox.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.filterListBox.ContextMenuStrip = this.filterListContextMenuStrip; - this.filterListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.filterListBox.FormattingEnabled = true; - this.filterListBox.IntegralHeight = false; - this.filterListBox.Location = new System.Drawing.Point(3, 3); - this.filterListBox.Name = "filterListBox"; - this.filterListBox.Size = new System.Drawing.Size(278, 171); - this.filterListBox.TabIndex = 0; - this.helpToolTip.SetToolTip(this.filterListBox, "Doubleclick to load a saved filter"); - this.filterListBox.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.filterListBox_MouseDoubleClick); - this.filterListBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.filterListBox_DrawItem); - // - // filterListContextMenuStrip - // - this.filterListContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.filterContextMenuStrip.Name = "filterContextMenuStrip"; + this.filterContextMenuStrip.Size = new System.Drawing.Size(243, 70); + // + // setBookmarksOnSelectedLinesToolStripMenuItem + // + this.setBookmarksOnSelectedLinesToolStripMenuItem.Name = "setBookmarksOnSelectedLinesToolStripMenuItem"; + this.setBookmarksOnSelectedLinesToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.setBookmarksOnSelectedLinesToolStripMenuItem.Text = "Set bookmarks on selected lines"; + this.setBookmarksOnSelectedLinesToolStripMenuItem.Click += new System.EventHandler(this.setBookmarksOnSelectedLinesToolStripMenuItem_Click); + // + // filterToTabToolStripMenuItem + // + this.filterToTabToolStripMenuItem.Name = "filterToTabToolStripMenuItem"; + this.filterToTabToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) + | System.Windows.Forms.Keys.T))); + this.filterToTabToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.filterToTabToolStripMenuItem.Text = "Filter to new tab"; + this.filterToTabToolStripMenuItem.Click += new System.EventHandler(this.filterToTabToolStripMenuItem_Click); + // + // markFilterHitsInLogViewToolStripMenuItem + // + this.markFilterHitsInLogViewToolStripMenuItem.Name = "markFilterHitsInLogViewToolStripMenuItem"; + this.markFilterHitsInLogViewToolStripMenuItem.Size = new System.Drawing.Size(242, 22); + this.markFilterHitsInLogViewToolStripMenuItem.Text = "Mark filter hits in log view"; + this.markFilterHitsInLogViewToolStripMenuItem.Click += new System.EventHandler(this.markFilterHitsInLogViewToolStripMenuItem_Click); + // + // panel3 + // + this.panel3.Controls.Add(this.hideFilterListOnLoadCheckBox); + this.panel3.Controls.Add(this.filterDownButton); + this.panel3.Controls.Add(this.filterUpButton); + this.panel3.Controls.Add(this.filterOnLoadCheckBox); + this.panel3.Controls.Add(this.saveFilterButton); + this.panel3.Controls.Add(this.deleteFilterButton); + this.panel3.Controls.Add(this.filterListBox); + this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel3.Location = new System.Drawing.Point(0, 0); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(363, 195); + this.panel3.TabIndex = 1; + // + // hideFilterListOnLoadCheckBox + // + this.hideFilterListOnLoadCheckBox.AutoSize = true; + this.hideFilterListOnLoadCheckBox.Location = new System.Drawing.Point(287, 134); + this.hideFilterListOnLoadCheckBox.Name = "hideFilterListOnLoadCheckBox"; + this.hideFilterListOnLoadCheckBox.Size = new System.Drawing.Size(71, 17); + this.hideFilterListOnLoadCheckBox.TabIndex = 20; + this.hideFilterListOnLoadCheckBox.Text = "Auto hide"; + this.helpToolTip.SetToolTip(this.hideFilterListOnLoadCheckBox, "Hides the filter list after loading a filter"); + this.hideFilterListOnLoadCheckBox.UseVisualStyleBackColor = true; + this.hideFilterListOnLoadCheckBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.hideFilterListOnLoadCheckBox_MouseClick); + // + // filterDownButton + // + this.filterDownButton.Image = global::LogExpert.Properties.Resources.ArrowDown; + this.filterDownButton.Location = new System.Drawing.Point(325, 70); + this.filterDownButton.Name = "filterDownButton"; + this.filterDownButton.Size = new System.Drawing.Size(35, 23); + this.filterDownButton.TabIndex = 19; + this.helpToolTip.SetToolTip(this.filterDownButton, "Move the selected entry down in the list"); + this.filterDownButton.UseVisualStyleBackColor = true; + this.filterDownButton.Click += new System.EventHandler(this.filterDownButton_Click); + // + // filterUpButton + // + this.filterUpButton.Image = global::LogExpert.Properties.Resources.ArrowUp; + this.filterUpButton.Location = new System.Drawing.Point(287, 70); + this.filterUpButton.Name = "filterUpButton"; + this.filterUpButton.Size = new System.Drawing.Size(35, 23); + this.filterUpButton.TabIndex = 18; + this.helpToolTip.SetToolTip(this.filterUpButton, "Move the selected entry up in the list"); + this.filterUpButton.UseVisualStyleBackColor = true; + this.filterUpButton.Click += new System.EventHandler(this.filterUpButton_Click); + // + // filterOnLoadCheckBox + // + this.filterOnLoadCheckBox.AutoSize = true; + this.filterOnLoadCheckBox.Location = new System.Drawing.Point(287, 110); + this.filterOnLoadCheckBox.Name = "filterOnLoadCheckBox"; + this.filterOnLoadCheckBox.Size = new System.Drawing.Size(71, 17); + this.filterOnLoadCheckBox.TabIndex = 17; + this.filterOnLoadCheckBox.Text = "Auto start"; + this.helpToolTip.SetToolTip(this.filterOnLoadCheckBox, "Start immediate filtering after loading a saved filter"); + this.filterOnLoadCheckBox.UseVisualStyleBackColor = true; + this.filterOnLoadCheckBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.filterOnLoadCheckBox_KeyPress); + this.filterOnLoadCheckBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.filterOnLoadCheckBox_MouseClick); + // + // saveFilterButton + // + this.saveFilterButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.saveFilterButton.Location = new System.Drawing.Point(287, 11); + this.saveFilterButton.Name = "saveFilterButton"; + this.saveFilterButton.Size = new System.Drawing.Size(73, 23); + this.saveFilterButton.TabIndex = 16; + this.saveFilterButton.Text = "Save filter"; + this.saveFilterButton.UseVisualStyleBackColor = true; + this.saveFilterButton.Click += new System.EventHandler(this.saveFilterButton_Click); + // + // deleteFilterButton + // + this.deleteFilterButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.deleteFilterButton.Location = new System.Drawing.Point(287, 40); + this.deleteFilterButton.Name = "deleteFilterButton"; + this.deleteFilterButton.Size = new System.Drawing.Size(73, 23); + this.deleteFilterButton.TabIndex = 3; + this.deleteFilterButton.Text = "Delete"; + this.deleteFilterButton.UseVisualStyleBackColor = true; + this.deleteFilterButton.Click += new System.EventHandler(this.deleteFilterButton_Click); + // + // filterListBox + // + this.filterListBox.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.filterListBox.ContextMenuStrip = this.filterListContextMenuStrip; + this.filterListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.filterListBox.FormattingEnabled = true; + this.filterListBox.IntegralHeight = false; + this.filterListBox.Location = new System.Drawing.Point(3, 3); + this.filterListBox.Name = "filterListBox"; + this.filterListBox.Size = new System.Drawing.Size(278, 190); + this.filterListBox.TabIndex = 0; + this.helpToolTip.SetToolTip(this.filterListBox, "Doubleclick to load a saved filter"); + this.filterListBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.filterListBox_DrawItem); + this.filterListBox.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.filterListBox_MouseDoubleClick); + // + // filterListContextMenuStrip + // + this.filterListContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.colorToolStripMenuItem}); - this.filterListContextMenuStrip.Name = "filterListContextMenuStrip"; - this.filterListContextMenuStrip.Size = new System.Drawing.Size(113, 26); - // - // colorToolStripMenuItem - // - this.colorToolStripMenuItem.Name = "colorToolStripMenuItem"; - this.colorToolStripMenuItem.Size = new System.Drawing.Size(112, 22); - this.colorToolStripMenuItem.Text = "Color..."; - this.colorToolStripMenuItem.Click += new System.EventHandler(this.colorToolStripMenuItem_Click); - // - // filterInputPanel - // - this.filterInputPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.filterInputPanel.Controls.Add(this.advancedButton); - this.filterInputPanel.Controls.Add(this.syncFilterCheckBox); - this.filterInputPanel.Controls.Add(this.filterCountLabel); - this.filterInputPanel.Controls.Add(this.filterTailCheckBox); - this.filterInputPanel.Controls.Add(this.filterRegexCheckBox); - this.filterInputPanel.Controls.Add(this.filterCaseSensitiveCheckBox); - this.filterInputPanel.Controls.Add(this.filterSearchButton); - this.filterInputPanel.Controls.Add(this.label1); - this.filterInputPanel.Controls.Add(this.filterComboBox); - this.filterInputPanel.Location = new System.Drawing.Point(3, 2); - this.filterInputPanel.Name = "filterInputPanel"; - this.filterInputPanel.Size = new System.Drawing.Size(1007, 24); - this.filterInputPanel.TabIndex = 0; - // - // advancedButton - // - this.advancedButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.advancedButton.Image = global::LogExpert.Properties.Resources.AdvancedIcon2; - this.advancedButton.ImageAlign = System.Drawing.ContentAlignment.BottomRight; - this.advancedButton.Location = new System.Drawing.Point(655, 1); - this.advancedButton.Name = "advancedButton"; - this.advancedButton.Size = new System.Drawing.Size(110, 21); - this.advancedButton.TabIndex = 10; - this.advancedButton.Text = "Show advanced..."; - this.helpToolTip.SetToolTip(this.advancedButton, "Togge the advanced filter options panel"); - this.advancedButton.UseVisualStyleBackColor = true; - this.advancedButton.Click += new System.EventHandler(this.advancedButton_Click); - // - // syncFilterCheckBox - // - this.syncFilterCheckBox.AutoSize = true; - this.syncFilterCheckBox.Location = new System.Drawing.Point(598, 4); - this.syncFilterCheckBox.Name = "syncFilterCheckBox"; - this.syncFilterCheckBox.Size = new System.Drawing.Size(50, 17); - this.syncFilterCheckBox.TabIndex = 8; - this.syncFilterCheckBox.Text = "Sync"; - this.helpToolTip.SetToolTip(this.syncFilterCheckBox, "Sync the current selected line in the filter view to the selection in the log fil" + - "e view"); - this.syncFilterCheckBox.UseVisualStyleBackColor = true; - this.syncFilterCheckBox.CheckedChanged += new System.EventHandler(this.syncFilterCheckBox_CheckedChanged); - // - // filterCountLabel - // - this.filterCountLabel.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.filterCountLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.filterCountLabel.Location = new System.Drawing.Point(933, 1); - this.filterCountLabel.Name = "filterCountLabel"; - this.filterCountLabel.Size = new System.Drawing.Size(71, 21); - this.filterCountLabel.TabIndex = 7; - this.filterCountLabel.Text = "0"; - this.filterCountLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - // - // filterTailCheckBox - // - this.filterTailCheckBox.AutoSize = true; - this.filterTailCheckBox.Location = new System.Drawing.Point(527, 4); - this.filterTailCheckBox.Name = "filterTailCheckBox"; - this.filterTailCheckBox.Size = new System.Drawing.Size(64, 17); - this.filterTailCheckBox.TabIndex = 6; - this.filterTailCheckBox.Text = "Filter tail"; - this.helpToolTip.SetToolTip(this.filterTailCheckBox, "Filter tailed file content (keeps filter view up to date on file changes)"); - this.filterTailCheckBox.UseVisualStyleBackColor = true; - // - // filterRegexCheckBox - // - this.filterRegexCheckBox.AutoSize = true; - this.filterRegexCheckBox.Location = new System.Drawing.Point(464, 4); - this.filterRegexCheckBox.Name = "filterRegexCheckBox"; - this.filterRegexCheckBox.Size = new System.Drawing.Size(57, 17); - this.filterRegexCheckBox.TabIndex = 5; - this.filterRegexCheckBox.Text = "Regex"; - this.helpToolTip.SetToolTip(this.filterRegexCheckBox, "Use regular expressions. (right-click for RegEx helper window)"); - this.filterRegexCheckBox.UseVisualStyleBackColor = true; - this.filterRegexCheckBox.CheckedChanged += new System.EventHandler(this.filterRegexCheckBox_CheckedChanged); - this.filterRegexCheckBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.filterRegexCheckBox_MouseUp); - // - // filterCaseSensitiveCheckBox - // - this.filterCaseSensitiveCheckBox.AutoSize = true; - this.filterCaseSensitiveCheckBox.Location = new System.Drawing.Point(364, 4); - this.filterCaseSensitiveCheckBox.Name = "filterCaseSensitiveCheckBox"; - this.filterCaseSensitiveCheckBox.Size = new System.Drawing.Size(94, 17); - this.filterCaseSensitiveCheckBox.TabIndex = 4; - this.filterCaseSensitiveCheckBox.Text = "Case sensitive"; - this.helpToolTip.SetToolTip(this.filterCaseSensitiveCheckBox, "Makes the filter case sensitive"); - this.filterCaseSensitiveCheckBox.UseVisualStyleBackColor = true; - this.filterCaseSensitiveCheckBox.CheckedChanged += new System.EventHandler(this.filterCaseSensitiveCheckBox_CheckedChanged); - // - // filterSearchButton - // - this.filterSearchButton.Image = global::LogExpert.Properties.Resources.AdvancedIcon2; - this.filterSearchButton.ImageAlign = System.Drawing.ContentAlignment.BottomRight; - this.filterSearchButton.Location = new System.Drawing.Point(295, 1); - this.filterSearchButton.Name = "filterSearchButton"; - this.filterSearchButton.Size = new System.Drawing.Size(50, 21); - this.filterSearchButton.TabIndex = 3; - this.filterSearchButton.Text = "Search"; - this.helpToolTip.SetToolTip(this.filterSearchButton, "Start the filter search"); - this.filterSearchButton.UseVisualStyleBackColor = true; - this.filterSearchButton.Click += new System.EventHandler(this.filterSearchButton_Click); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(3, 4); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(53, 13); - this.label1.TabIndex = 1; - this.label1.Text = "Text &filter:"; - // - // filterComboBox - // - this.filterComboBox.FormattingEnabled = true; - this.filterComboBox.Location = new System.Drawing.Point(73, 0); - this.filterComboBox.Name = "filterComboBox"; - this.filterComboBox.Size = new System.Drawing.Size(207, 21); - this.filterComboBox.TabIndex = 2; - this.helpToolTip.SetToolTip(this.filterComboBox, "Search string for the filter"); - this.filterComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.filterComboBox_KeyDown); - this.filterComboBox.TextChanged += new System.EventHandler(this.filterComboBox_TextChanged); - // - // bookmarkContextMenuStrip - // - this.bookmarkContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.filterListContextMenuStrip.Name = "filterListContextMenuStrip"; + this.filterListContextMenuStrip.Size = new System.Drawing.Size(113, 26); + // + // colorToolStripMenuItem + // + this.colorToolStripMenuItem.Name = "colorToolStripMenuItem"; + this.colorToolStripMenuItem.Size = new System.Drawing.Size(112, 22); + this.colorToolStripMenuItem.Text = "Color..."; + this.colorToolStripMenuItem.Click += new System.EventHandler(this.colorToolStripMenuItem_Click); + // + // filterInputPanel + // + this.filterInputPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.filterInputPanel.Controls.Add(this.filterSplitContainer); + this.filterInputPanel.Location = new System.Drawing.Point(3, 2); + this.filterInputPanel.Name = "filterInputPanel"; + this.filterInputPanel.Size = new System.Drawing.Size(1007, 32); + this.filterInputPanel.TabIndex = 0; + // + // filterSplitContainer + // + this.filterSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.filterSplitContainer.Location = new System.Drawing.Point(0, 0); + this.filterSplitContainer.Name = "filterSplitContainer"; + // + // filterSplitContainer.Panel1 + // + this.filterSplitContainer.Panel1.Controls.Add(this.label1); + this.filterSplitContainer.Panel1.Controls.Add(this.filterComboBox); + this.filterSplitContainer.Panel1MinSize = 200; + // + // filterSplitContainer.Panel2 + // + this.filterSplitContainer.Panel2.Controls.Add(this.advancedButton); + this.filterSplitContainer.Panel2.Controls.Add(this.syncFilterCheckBox); + this.filterSplitContainer.Panel2.Controls.Add(this.filterCountLabel); + this.filterSplitContainer.Panel2.Controls.Add(this.filterTailCheckBox); + this.filterSplitContainer.Panel2.Controls.Add(this.filterRegexCheckBox); + this.filterSplitContainer.Panel2.Controls.Add(this.filterCaseSensitiveCheckBox); + this.filterSplitContainer.Panel2.Controls.Add(this.filterSearchButton); + this.filterSplitContainer.Panel2MinSize = 550; + this.filterSplitContainer.Size = new System.Drawing.Size(1007, 32); + this.filterSplitContainer.SplitterDistance = 282; + this.filterSplitContainer.TabIndex = 11; + this.filterSplitContainer.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.filterSplitContainer_MouseDoubleClick); + this.filterSplitContainer.MouseDown += new System.Windows.Forms.MouseEventHandler(this.filterSplitContainer_MouseDown); + this.filterSplitContainer.MouseMove += new System.Windows.Forms.MouseEventHandler(this.filterSplitContainer_MouseMove); + this.filterSplitContainer.MouseUp += new System.Windows.Forms.MouseEventHandler(this.filterSplitContainer_MouseUp); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(5, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(53, 13); + this.label1.TabIndex = 3; + this.label1.Text = "Text &filter:"; + // + // filterComboBox + // + this.filterComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.filterComboBox.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.filterComboBox.FormattingEnabled = true; + this.filterComboBox.Location = new System.Drawing.Point(73, 5); + this.filterComboBox.Name = "filterComboBox"; + this.filterComboBox.Size = new System.Drawing.Size(206, 22); + this.filterComboBox.TabIndex = 4; + this.helpToolTip.SetToolTip(this.filterComboBox, "Search string for the filter"); + this.filterComboBox.TextChanged += new System.EventHandler(this.filterComboBox_TextChanged); + this.filterComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.filterComboBox_KeyDown); + // + // advancedButton + // + this.advancedButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.advancedButton.Image = global::LogExpert.Properties.Resources.AdvancedIcon2; + this.advancedButton.ImageAlign = System.Drawing.ContentAlignment.BottomRight; + this.advancedButton.Location = new System.Drawing.Point(363, 5); + this.advancedButton.Name = "advancedButton"; + this.advancedButton.Size = new System.Drawing.Size(110, 21); + this.advancedButton.TabIndex = 17; + this.advancedButton.Text = "Show advanced..."; + this.helpToolTip.SetToolTip(this.advancedButton, "Togge the advanced filter options panel"); + this.advancedButton.UseVisualStyleBackColor = true; + this.advancedButton.Click += new System.EventHandler(this.advancedButton_Click); + // + // syncFilterCheckBox + // + this.syncFilterCheckBox.AutoSize = true; + this.syncFilterCheckBox.Location = new System.Drawing.Point(306, 7); + this.syncFilterCheckBox.Name = "syncFilterCheckBox"; + this.syncFilterCheckBox.Size = new System.Drawing.Size(50, 17); + this.syncFilterCheckBox.TabIndex = 16; + this.syncFilterCheckBox.Text = "Sync"; + this.helpToolTip.SetToolTip(this.syncFilterCheckBox, "Sync the current selected line in the filter view to the selection in the log fil" + + "e view"); + this.syncFilterCheckBox.UseVisualStyleBackColor = true; + this.syncFilterCheckBox.CheckedChanged += new System.EventHandler(this.syncFilterCheckBox_CheckedChanged); + // + // filterCountLabel + // + this.filterCountLabel.Anchor = System.Windows.Forms.AnchorStyles.Right; + this.filterCountLabel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.filterCountLabel.Location = new System.Drawing.Point(647, 5); + this.filterCountLabel.Name = "filterCountLabel"; + this.filterCountLabel.Size = new System.Drawing.Size(71, 21); + this.filterCountLabel.TabIndex = 15; + this.filterCountLabel.Text = "0"; + this.filterCountLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // filterTailCheckBox + // + this.filterTailCheckBox.AutoSize = true; + this.filterTailCheckBox.Location = new System.Drawing.Point(235, 7); + this.filterTailCheckBox.Name = "filterTailCheckBox"; + this.filterTailCheckBox.Size = new System.Drawing.Size(64, 17); + this.filterTailCheckBox.TabIndex = 14; + this.filterTailCheckBox.Text = "Filter tail"; + this.helpToolTip.SetToolTip(this.filterTailCheckBox, "Filter tailed file content (keeps filter view up to date on file changes)"); + this.filterTailCheckBox.UseVisualStyleBackColor = true; + // + // filterRegexCheckBox + // + this.filterRegexCheckBox.AutoSize = true; + this.filterRegexCheckBox.Location = new System.Drawing.Point(172, 7); + this.filterRegexCheckBox.Name = "filterRegexCheckBox"; + this.filterRegexCheckBox.Size = new System.Drawing.Size(57, 17); + this.filterRegexCheckBox.TabIndex = 13; + this.filterRegexCheckBox.Text = "Regex"; + this.helpToolTip.SetToolTip(this.filterRegexCheckBox, "Use regular expressions. (right-click for RegEx helper window)"); + this.filterRegexCheckBox.UseVisualStyleBackColor = true; + this.filterRegexCheckBox.CheckedChanged += new System.EventHandler(this.filterRegexCheckBox_CheckedChanged); + this.filterRegexCheckBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.filterRegexCheckBox_MouseUp); + // + // filterCaseSensitiveCheckBox + // + this.filterCaseSensitiveCheckBox.AutoSize = true; + this.filterCaseSensitiveCheckBox.Location = new System.Drawing.Point(72, 7); + this.filterCaseSensitiveCheckBox.Name = "filterCaseSensitiveCheckBox"; + this.filterCaseSensitiveCheckBox.Size = new System.Drawing.Size(94, 17); + this.filterCaseSensitiveCheckBox.TabIndex = 12; + this.filterCaseSensitiveCheckBox.Text = "Case sensitive"; + this.helpToolTip.SetToolTip(this.filterCaseSensitiveCheckBox, "Makes the filter case sensitive"); + this.filterCaseSensitiveCheckBox.UseVisualStyleBackColor = true; + this.filterCaseSensitiveCheckBox.CheckedChanged += new System.EventHandler(this.filterCaseSensitiveCheckBox_CheckedChanged); + // + // filterSearchButton + // + this.filterSearchButton.Image = global::LogExpert.Properties.Resources.AdvancedIcon2; + this.filterSearchButton.ImageAlign = System.Drawing.ContentAlignment.BottomRight; + this.filterSearchButton.Location = new System.Drawing.Point(3, 5); + this.filterSearchButton.Name = "filterSearchButton"; + this.filterSearchButton.Size = new System.Drawing.Size(50, 21); + this.filterSearchButton.TabIndex = 11; + this.filterSearchButton.Text = "Search"; + this.helpToolTip.SetToolTip(this.filterSearchButton, "Start the filter search"); + this.filterSearchButton.UseVisualStyleBackColor = true; + this.filterSearchButton.Click += new System.EventHandler(this.filterSearchButton_Click); + // + // bookmarkContextMenuStrip + // + this.bookmarkContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.deleteBookmarksToolStripMenuItem}); - this.bookmarkContextMenuStrip.Name = "bookmarkContextMenuStrip"; - this.bookmarkContextMenuStrip.Size = new System.Drawing.Size(68, 26); - // - // deleteBookmarksToolStripMenuItem - // - this.deleteBookmarksToolStripMenuItem.Name = "deleteBookmarksToolStripMenuItem"; - this.deleteBookmarksToolStripMenuItem.Size = new System.Drawing.Size(67, 22); - // - // columnContextMenuStrip - // - this.columnContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bookmarkContextMenuStrip.Name = "bookmarkContextMenuStrip"; + this.bookmarkContextMenuStrip.Size = new System.Drawing.Size(68, 26); + // + // deleteBookmarksToolStripMenuItem + // + this.deleteBookmarksToolStripMenuItem.Name = "deleteBookmarksToolStripMenuItem"; + this.deleteBookmarksToolStripMenuItem.Size = new System.Drawing.Size(67, 22); + // + // columnContextMenuStrip + // + this.columnContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.freezeLeftColumnsUntilHereToolStripMenuItem, this.toolStripSeparator3, this.moveToLastColumnToolStripMenuItem, @@ -1037,176 +908,345 @@ private void InitializeComponent() this.restoreColumnsToolStripMenuItem, this.toolStripSeparator6, this.allColumnsToolStripMenuItem}); - this.columnContextMenuStrip.Name = "columnContextMenuStrip"; - this.columnContextMenuStrip.Size = new System.Drawing.Size(230, 176); - this.columnContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.columnContextMenuStrip_Opening); - // - // freezeLeftColumnsUntilHereToolStripMenuItem - // - this.freezeLeftColumnsUntilHereToolStripMenuItem.Name = "freezeLeftColumnsUntilHereToolStripMenuItem"; - this.freezeLeftColumnsUntilHereToolStripMenuItem.Size = new System.Drawing.Size(229, 22); - this.freezeLeftColumnsUntilHereToolStripMenuItem.Text = "Freeze left columns until here"; - this.freezeLeftColumnsUntilHereToolStripMenuItem.Click += new System.EventHandler(this.freezeLeftColumnsUntilHereToolStripMenuItem_Click); - // - // toolStripSeparator3 - // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(226, 6); - // - // moveToLastColumnToolStripMenuItem - // - this.moveToLastColumnToolStripMenuItem.Name = "moveToLastColumnToolStripMenuItem"; - this.moveToLastColumnToolStripMenuItem.Size = new System.Drawing.Size(229, 22); - this.moveToLastColumnToolStripMenuItem.Text = "Move to last column"; - this.moveToLastColumnToolStripMenuItem.ToolTipText = "Move this column to the last position"; - this.moveToLastColumnToolStripMenuItem.Click += new System.EventHandler(this.moveToLastColumnToolStripMenuItem_Click); - // - // moveLeftToolStripMenuItem - // - this.moveLeftToolStripMenuItem.Name = "moveLeftToolStripMenuItem"; - this.moveLeftToolStripMenuItem.Size = new System.Drawing.Size(229, 22); - this.moveLeftToolStripMenuItem.Text = "Move left"; - this.moveLeftToolStripMenuItem.Click += new System.EventHandler(this.moveLeftToolStripMenuItem_Click); - // - // moveRightToolStripMenuItem - // - this.moveRightToolStripMenuItem.Name = "moveRightToolStripMenuItem"; - this.moveRightToolStripMenuItem.Size = new System.Drawing.Size(229, 22); - this.moveRightToolStripMenuItem.Text = "Move right"; - this.moveRightToolStripMenuItem.Click += new System.EventHandler(this.moveRightToolStripMenuItem_Click); - // - // toolStripSeparator5 - // - this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(226, 6); - // - // hideColumnToolStripMenuItem - // - this.hideColumnToolStripMenuItem.Name = "hideColumnToolStripMenuItem"; - this.hideColumnToolStripMenuItem.Size = new System.Drawing.Size(229, 22); - this.hideColumnToolStripMenuItem.Text = "Hide column"; - this.hideColumnToolStripMenuItem.ToolTipText = "Hide this column"; - this.hideColumnToolStripMenuItem.Click += new System.EventHandler(this.hideColumnToolStripMenuItem_Click); - // - // restoreColumnsToolStripMenuItem - // - this.restoreColumnsToolStripMenuItem.Name = "restoreColumnsToolStripMenuItem"; - this.restoreColumnsToolStripMenuItem.Size = new System.Drawing.Size(229, 22); - this.restoreColumnsToolStripMenuItem.Text = "Restore columns"; - this.restoreColumnsToolStripMenuItem.Click += new System.EventHandler(this.restoreColumnsToolStripMenuItem_Click); - // - // toolStripSeparator6 - // - this.toolStripSeparator6.Name = "toolStripSeparator6"; - this.toolStripSeparator6.Size = new System.Drawing.Size(226, 6); - // - // allColumnsToolStripMenuItem - // - this.allColumnsToolStripMenuItem.Name = "allColumnsToolStripMenuItem"; - this.allColumnsToolStripMenuItem.Size = new System.Drawing.Size(229, 22); - this.allColumnsToolStripMenuItem.Text = "Scroll to column..."; - // - // editModeContextMenuStrip - // - this.editModeContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.columnContextMenuStrip.Name = "columnContextMenuStrip"; + this.columnContextMenuStrip.Size = new System.Drawing.Size(230, 176); + this.columnContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.columnContextMenuStrip_Opening); + // + // freezeLeftColumnsUntilHereToolStripMenuItem + // + this.freezeLeftColumnsUntilHereToolStripMenuItem.Name = "freezeLeftColumnsUntilHereToolStripMenuItem"; + this.freezeLeftColumnsUntilHereToolStripMenuItem.Size = new System.Drawing.Size(229, 22); + this.freezeLeftColumnsUntilHereToolStripMenuItem.Text = "Freeze left columns until here"; + this.freezeLeftColumnsUntilHereToolStripMenuItem.Click += new System.EventHandler(this.freezeLeftColumnsUntilHereToolStripMenuItem_Click); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(226, 6); + // + // moveToLastColumnToolStripMenuItem + // + this.moveToLastColumnToolStripMenuItem.Name = "moveToLastColumnToolStripMenuItem"; + this.moveToLastColumnToolStripMenuItem.Size = new System.Drawing.Size(229, 22); + this.moveToLastColumnToolStripMenuItem.Text = "Move to last column"; + this.moveToLastColumnToolStripMenuItem.ToolTipText = "Move this column to the last position"; + this.moveToLastColumnToolStripMenuItem.Click += new System.EventHandler(this.moveToLastColumnToolStripMenuItem_Click); + // + // moveLeftToolStripMenuItem + // + this.moveLeftToolStripMenuItem.Name = "moveLeftToolStripMenuItem"; + this.moveLeftToolStripMenuItem.Size = new System.Drawing.Size(229, 22); + this.moveLeftToolStripMenuItem.Text = "Move left"; + this.moveLeftToolStripMenuItem.Click += new System.EventHandler(this.moveLeftToolStripMenuItem_Click); + // + // moveRightToolStripMenuItem + // + this.moveRightToolStripMenuItem.Name = "moveRightToolStripMenuItem"; + this.moveRightToolStripMenuItem.Size = new System.Drawing.Size(229, 22); + this.moveRightToolStripMenuItem.Text = "Move right"; + this.moveRightToolStripMenuItem.Click += new System.EventHandler(this.moveRightToolStripMenuItem_Click); + // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(226, 6); + // + // hideColumnToolStripMenuItem + // + this.hideColumnToolStripMenuItem.Name = "hideColumnToolStripMenuItem"; + this.hideColumnToolStripMenuItem.Size = new System.Drawing.Size(229, 22); + this.hideColumnToolStripMenuItem.Text = "Hide column"; + this.hideColumnToolStripMenuItem.ToolTipText = "Hide this column"; + this.hideColumnToolStripMenuItem.Click += new System.EventHandler(this.hideColumnToolStripMenuItem_Click); + // + // restoreColumnsToolStripMenuItem + // + this.restoreColumnsToolStripMenuItem.Name = "restoreColumnsToolStripMenuItem"; + this.restoreColumnsToolStripMenuItem.Size = new System.Drawing.Size(229, 22); + this.restoreColumnsToolStripMenuItem.Text = "Restore columns"; + this.restoreColumnsToolStripMenuItem.Click += new System.EventHandler(this.restoreColumnsToolStripMenuItem_Click); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(226, 6); + // + // allColumnsToolStripMenuItem + // + this.allColumnsToolStripMenuItem.Name = "allColumnsToolStripMenuItem"; + this.allColumnsToolStripMenuItem.Size = new System.Drawing.Size(229, 22); + this.allColumnsToolStripMenuItem.Text = "Scroll to column..."; + // + // editModeContextMenuStrip + // + this.editModeContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyToolStripMenuItem1, this.highlightSelectionInLogFileToolStripMenuItem, this.highlightSelectionInLogFilewordModeToolStripMenuItem, this.filterForSelectionToolStripMenuItem, this.setSelectedTextAsBookmarkCommentToolStripMenuItem}); - this.editModeContextMenuStrip.Name = "editModeContextMenuStrip"; - this.editModeContextMenuStrip.Size = new System.Drawing.Size(346, 114); - // - // copyToolStripMenuItem1 - // - this.copyToolStripMenuItem1.Name = "copyToolStripMenuItem1"; - this.copyToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); - this.copyToolStripMenuItem1.Size = new System.Drawing.Size(345, 22); - this.copyToolStripMenuItem1.Text = "Copy"; - this.copyToolStripMenuItem1.Click += new System.EventHandler(this.copyToolStripMenuItem1_Click); - // - // highlightSelectionInLogFileToolStripMenuItem - // - this.highlightSelectionInLogFileToolStripMenuItem.Name = "highlightSelectionInLogFileToolStripMenuItem"; - this.highlightSelectionInLogFileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H))); - this.highlightSelectionInLogFileToolStripMenuItem.Size = new System.Drawing.Size(345, 22); - this.highlightSelectionInLogFileToolStripMenuItem.Text = "Highlight selection in log file (full line)"; - this.highlightSelectionInLogFileToolStripMenuItem.Click += new System.EventHandler(this.highlightSelectionInLogFileToolStripMenuItem_Click); - // - // highlightSelectionInLogFilewordModeToolStripMenuItem - // - this.highlightSelectionInLogFilewordModeToolStripMenuItem.Name = "highlightSelectionInLogFilewordModeToolStripMenuItem"; - this.highlightSelectionInLogFilewordModeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); - this.highlightSelectionInLogFilewordModeToolStripMenuItem.Size = new System.Drawing.Size(345, 22); - this.highlightSelectionInLogFilewordModeToolStripMenuItem.Text = "Highlight selection in log file (word mode)"; - this.highlightSelectionInLogFilewordModeToolStripMenuItem.Click += new System.EventHandler(this.highlightSelectionInLogFilewordModeToolStripMenuItem_Click); - // - // filterForSelectionToolStripMenuItem - // - this.filterForSelectionToolStripMenuItem.Name = "filterForSelectionToolStripMenuItem"; - this.filterForSelectionToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); - this.filterForSelectionToolStripMenuItem.Size = new System.Drawing.Size(345, 22); - this.filterForSelectionToolStripMenuItem.Text = "Filter for selection"; - this.filterForSelectionToolStripMenuItem.Click += new System.EventHandler(this.filterForSelectionToolStripMenuItem_Click); - // - // setSelectedTextAsBookmarkCommentToolStripMenuItem - // - this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Name = "setSelectedTextAsBookmarkCommentToolStripMenuItem"; - this.setSelectedTextAsBookmarkCommentToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B))); - this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Size = new System.Drawing.Size(345, 22); - this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Text = "Set selected text as bookmark comment"; - this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Click += new System.EventHandler(this.setSelectedTextAsBookmarkCommentToolStripMenuItem_Click); - // - // LogWindow - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(1014, 656); - this.ControlBox = false; - this.Controls.Add(this.splitContainer1); - this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(0); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "LogWindow"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; - this.SizeChanged += new System.EventHandler(this.LogWindow_SizeChanged); - this.Enter += new System.EventHandler(this.LogWindow_Enter); - this.Leave += new System.EventHandler(this.LogWindow_Leave); - this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LogWindow_KeyDown); - this.splitContainer1.Panel1.ResumeLayout(false); - this.splitContainer1.Panel2.ResumeLayout(false); - this.splitContainer1.ResumeLayout(false); - this.tableLayoutPanel1.ResumeLayout(false); - this.columnFinderPanel.ResumeLayout(false); - this.columnFinderPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); - this.dataGridContextMenuStrip.ResumeLayout(false); - this.advancedBackPanel.ResumeLayout(false); - this.advancedFilterSplitContainer.Panel1.ResumeLayout(false); - this.advancedFilterSplitContainer.Panel2.ResumeLayout(false); - this.advancedFilterSplitContainer.ResumeLayout(false); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - this.highlightSplitContainer.Panel1.ResumeLayout(false); - this.highlightSplitContainer.Panel2.ResumeLayout(false); - this.highlightSplitContainer.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.filterGridView)).EndInit(); - this.filterContextMenuStrip.ResumeLayout(false); - this.panel3.ResumeLayout(false); - this.panel3.PerformLayout(); - this.filterListContextMenuStrip.ResumeLayout(false); - this.filterInputPanel.ResumeLayout(false); - this.filterInputPanel.PerformLayout(); - this.bookmarkContextMenuStrip.ResumeLayout(false); - this.columnContextMenuStrip.ResumeLayout(false); - this.editModeContextMenuStrip.ResumeLayout(false); - this.ResumeLayout(false); + this.editModeContextMenuStrip.Name = "editModeContextMenuStrip"; + this.editModeContextMenuStrip.Size = new System.Drawing.Size(344, 114); + // + // copyToolStripMenuItem1 + // + this.copyToolStripMenuItem1.Name = "copyToolStripMenuItem1"; + this.copyToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); + this.copyToolStripMenuItem1.Size = new System.Drawing.Size(343, 22); + this.copyToolStripMenuItem1.Text = "Copy"; + this.copyToolStripMenuItem1.Click += new System.EventHandler(this.copyToolStripMenuItem1_Click); + // + // highlightSelectionInLogFileToolStripMenuItem + // + this.highlightSelectionInLogFileToolStripMenuItem.Name = "highlightSelectionInLogFileToolStripMenuItem"; + this.highlightSelectionInLogFileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H))); + this.highlightSelectionInLogFileToolStripMenuItem.Size = new System.Drawing.Size(343, 22); + this.highlightSelectionInLogFileToolStripMenuItem.Text = "Highlight selection in log file (full line)"; + this.highlightSelectionInLogFileToolStripMenuItem.Click += new System.EventHandler(this.highlightSelectionInLogFileToolStripMenuItem_Click); + // + // highlightSelectionInLogFilewordModeToolStripMenuItem + // + this.highlightSelectionInLogFilewordModeToolStripMenuItem.Name = "highlightSelectionInLogFilewordModeToolStripMenuItem"; + this.highlightSelectionInLogFilewordModeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W))); + this.highlightSelectionInLogFilewordModeToolStripMenuItem.Size = new System.Drawing.Size(343, 22); + this.highlightSelectionInLogFilewordModeToolStripMenuItem.Text = "Highlight selection in log file (word mode)"; + this.highlightSelectionInLogFilewordModeToolStripMenuItem.Click += new System.EventHandler(this.highlightSelectionInLogFilewordModeToolStripMenuItem_Click); + // + // filterForSelectionToolStripMenuItem + // + this.filterForSelectionToolStripMenuItem.Name = "filterForSelectionToolStripMenuItem"; + this.filterForSelectionToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); + this.filterForSelectionToolStripMenuItem.Size = new System.Drawing.Size(343, 22); + this.filterForSelectionToolStripMenuItem.Text = "Filter for selection"; + this.filterForSelectionToolStripMenuItem.Click += new System.EventHandler(this.filterForSelectionToolStripMenuItem_Click); + // + // setSelectedTextAsBookmarkCommentToolStripMenuItem + // + this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Name = "setSelectedTextAsBookmarkCommentToolStripMenuItem"; + this.setSelectedTextAsBookmarkCommentToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.B))); + this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Size = new System.Drawing.Size(343, 22); + this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Text = "Set selected text as bookmark comment"; + this.setSelectedTextAsBookmarkCommentToolStripMenuItem.Click += new System.EventHandler(this.setSelectedTextAsBookmarkCommentToolStripMenuItem_Click); + // + // dataGridView + // + this.dataGridView.AllowUserToAddRows = false; + this.dataGridView.AllowUserToDeleteRows = false; + this.dataGridView.AllowUserToOrderColumns = true; + this.dataGridView.AllowUserToResizeRows = false; + this.dataGridView.BackgroundColor = System.Drawing.SystemColors.Window; + this.dataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.dataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; + this.dataGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; + this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView.ContextMenuStrip = this.dataGridContextMenuStrip; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView.DefaultCellStyle = dataGridViewCellStyle1; + this.dataGridView.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this.dataGridView.EditModeMenuStrip = null; + this.dataGridView.ImeMode = System.Windows.Forms.ImeMode.Disable; + this.dataGridView.Location = new System.Drawing.Point(1, 30); + this.dataGridView.Margin = new System.Windows.Forms.Padding(0); + this.dataGridView.Name = "dataGridView"; + this.dataGridView.PaintWithOverlays = false; + this.dataGridView.RowHeadersVisible = false; + this.dataGridView.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.BottomLeft; + this.dataGridView.RowTemplate.DefaultCellStyle.Padding = new System.Windows.Forms.Padding(2, 0, 0, 0); + this.dataGridView.RowTemplate.Height = 15; + this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.dataGridView.ShowCellErrors = false; + this.dataGridView.ShowCellToolTips = false; + this.dataGridView.ShowEditingIcon = false; + this.dataGridView.ShowRowErrors = false; + this.dataGridView.Size = new System.Drawing.Size(847, 331); + this.dataGridView.TabIndex = 0; + this.dataGridView.VirtualMode = true; + this.dataGridView.OverlayDoubleClicked += new LogExpert.Dialogs.BufferedDataGridView.OverlayDoubleClickedEventHandler(this.dataGridView_OverlayDoubleClicked); + this.dataGridView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellClick); + this.dataGridView.CellContentDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellContentDoubleClick); + this.dataGridView.CellContextMenuStripNeeded += new System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventHandler(this.dataGridView_CellContextMenuStripNeeded); + this.dataGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView_CellDoubleClick); + this.dataGridView.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dataGridView_CellValuePushed); + this.dataGridView.RowHeightInfoNeeded += new System.Windows.Forms.DataGridViewRowHeightInfoNeededEventHandler(this.dataGridView_RowHeightInfoNeeded); + this.dataGridView.RowUnshared += new System.Windows.Forms.DataGridViewRowEventHandler(this.dataGridView_RowUnshared); + this.dataGridView.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dataGridView_Scroll); + this.dataGridView.SelectionChanged += new System.EventHandler(this.dataGridView_SelectionChanged); + this.dataGridView.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView_Paint); + this.dataGridView.Enter += new System.EventHandler(this.dataGridView_Enter); + this.dataGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView_KeyDown); + this.dataGridView.Leave += new System.EventHandler(this.dataGridView_Leave); + this.dataGridView.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.dataGridView_PreviewKeyDown); + this.dataGridView.Resize += new System.EventHandler(this.dataGridView_Resize); + // + // timeSpreadingControl1 + // + this.timeSpreadingControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Right))); + this.timeSpreadingControl1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.timeSpreadingControl1.ForeColor = System.Drawing.Color.Teal; + this.timeSpreadingControl1.Location = new System.Drawing.Point(1011, 30); + this.timeSpreadingControl1.Margin = new System.Windows.Forms.Padding(2, 0, 1, 0); + this.timeSpreadingControl1.Name = "timeSpreadingControl1"; + this.timeSpreadingControl1.ReverseAlpha = false; + this.timeSpreadingControl1.Size = new System.Drawing.Size(16, 331); + this.timeSpreadingControl1.TabIndex = 1; + // + // fuzzyKnobControl + // + this.fuzzyKnobControl.DragSensitivity = 6; + this.fuzzyKnobControl.Font = new System.Drawing.Font("Verdana", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.fuzzyKnobControl.Location = new System.Drawing.Point(454, 7); + this.fuzzyKnobControl.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.fuzzyKnobControl.MaxValue = 0; + this.fuzzyKnobControl.MinValue = 0; + this.fuzzyKnobControl.Name = "fuzzyKnobControl"; + this.fuzzyKnobControl.Size = new System.Drawing.Size(17, 29); + this.fuzzyKnobControl.TabIndex = 10; + this.helpToolTip.SetToolTip(this.fuzzyKnobControl, "Fuzzy search level (0 = fuzzy off)"); + this.fuzzyKnobControl.Value = 0; + this.fuzzyKnobControl.ValueChanged += new LogExpert.KnobControl.ValueChangedEventHandler(this.fuzzyKnobControl_ValueChanged); + // + // filterKnobControl1 + // + this.filterKnobControl1.DragSensitivity = 3; + this.filterKnobControl1.Font = new System.Drawing.Font("Verdana", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.filterKnobControl1.Location = new System.Drawing.Point(299, 7); + this.filterKnobControl1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.filterKnobControl1.MaxValue = 0; + this.filterKnobControl1.MinValue = 0; + this.filterKnobControl1.Name = "filterKnobControl1"; + this.filterKnobControl1.Size = new System.Drawing.Size(17, 29); + this.filterKnobControl1.TabIndex = 5; + this.helpToolTip.SetToolTip(this.filterKnobControl1, "Add preceding lines to search result (Drag up/down, press Shift for finer pitch)"); + this.filterKnobControl1.Value = 0; + // + // filterKnobControl2 + // + this.filterKnobControl2.DragSensitivity = 3; + this.filterKnobControl2.Font = new System.Drawing.Font("Verdana", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.filterKnobControl2.Location = new System.Drawing.Point(365, 7); + this.filterKnobControl2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.filterKnobControl2.MaxValue = 0; + this.filterKnobControl2.MinValue = 0; + this.filterKnobControl2.Name = "filterKnobControl2"; + this.filterKnobControl2.Size = new System.Drawing.Size(17, 29); + this.filterKnobControl2.TabIndex = 1; + this.helpToolTip.SetToolTip(this.filterKnobControl2, "Add following lines to search result (Drag up/down, press Shift for finer pitch)"); + this.filterKnobControl2.Value = 0; + // + // filterGridView + // + this.filterGridView.AllowUserToAddRows = false; + this.filterGridView.AllowUserToDeleteRows = false; + this.filterGridView.AllowUserToOrderColumns = true; + this.filterGridView.AllowUserToResizeRows = false; + this.filterGridView.BackgroundColor = System.Drawing.SystemColors.Window; + this.filterGridView.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.filterGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; + this.filterGridView.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.EnableWithoutHeaderText; + this.filterGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.filterGridView.ContextMenuStrip = this.filterContextMenuStrip; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle2.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.filterGridView.DefaultCellStyle = dataGridViewCellStyle2; + this.filterGridView.Dock = System.Windows.Forms.DockStyle.Fill; + this.filterGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; + this.filterGridView.EditModeMenuStrip = null; + this.filterGridView.ImeMode = System.Windows.Forms.ImeMode.Disable; + this.filterGridView.Location = new System.Drawing.Point(0, 0); + this.filterGridView.Margin = new System.Windows.Forms.Padding(0); + this.filterGridView.Name = "filterGridView"; + this.filterGridView.PaintWithOverlays = false; + this.filterGridView.ReadOnly = true; + this.filterGridView.RowHeadersVisible = false; + this.filterGridView.RowTemplate.Height = 15; + this.filterGridView.RowTemplate.ReadOnly = true; + this.filterGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.filterGridView.ShowCellErrors = false; + this.filterGridView.ShowCellToolTips = false; + this.filterGridView.ShowEditingIcon = false; + this.filterGridView.ShowRowErrors = false; + this.filterGridView.Size = new System.Drawing.Size(610, 195); + this.filterGridView.TabIndex = 1; + this.filterGridView.VirtualMode = true; + this.filterGridView.CellContextMenuStripNeeded += new System.Windows.Forms.DataGridViewCellContextMenuStripNeededEventHandler(this.filterGridView_CellContextMenuStripNeeded); + this.filterGridView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.filterGridView_CellDoubleClick); + this.filterGridView.ColumnDividerDoubleClick += new System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventHandler(this.filterGridView_ColumnDividerDoubleClick); + this.filterGridView.RowHeightInfoNeeded += new System.Windows.Forms.DataGridViewRowHeightInfoNeededEventHandler(this.filterGridView_RowHeightInfoNeeded); + this.filterGridView.Enter += new System.EventHandler(this.filterGridView_Enter); + this.filterGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.filterGridView_KeyDown); + this.filterGridView.Leave += new System.EventHandler(this.filterGridView_Leave); + // + // LogWindow + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.SystemColors.Control; + this.ClientSize = new System.Drawing.Size(1014, 656); + this.ControlBox = false; + this.Controls.Add(this.splitContainer1); + this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(0); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "LogWindow"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; + this.SizeChanged += new System.EventHandler(this.LogWindow_SizeChanged); + this.Enter += new System.EventHandler(this.LogWindow_Enter); + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LogWindow_KeyDown); + this.Leave += new System.EventHandler(this.LogWindow_Leave); + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + this.tableLayoutPanel1.ResumeLayout(false); + this.columnFinderPanel.ResumeLayout(false); + this.columnFinderPanel.PerformLayout(); + this.dataGridContextMenuStrip.ResumeLayout(false); + this.advancedBackPanel.ResumeLayout(false); + this.advancedFilterSplitContainer.Panel1.ResumeLayout(false); + this.advancedFilterSplitContainer.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.advancedFilterSplitContainer)).EndInit(); + this.advancedFilterSplitContainer.ResumeLayout(false); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.highlightSplitContainer.Panel1.ResumeLayout(false); + this.highlightSplitContainer.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.highlightSplitContainer)).EndInit(); + this.highlightSplitContainer.ResumeLayout(false); + this.filterContextMenuStrip.ResumeLayout(false); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.filterListContextMenuStrip.ResumeLayout(false); + this.filterInputPanel.ResumeLayout(false); + this.filterSplitContainer.Panel1.ResumeLayout(false); + this.filterSplitContainer.Panel1.PerformLayout(); + this.filterSplitContainer.Panel2.ResumeLayout(false); + this.filterSplitContainer.Panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.filterSplitContainer)).EndInit(); + this.filterSplitContainer.ResumeLayout(false); + this.bookmarkContextMenuStrip.ResumeLayout(false); + this.columnContextMenuStrip.ResumeLayout(false); + this.editModeContextMenuStrip.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.filterGridView)).EndInit(); + this.ResumeLayout(false); } @@ -1214,16 +1254,8 @@ private void InitializeComponent() private System.Windows.Forms.SplitContainer splitContainer1; private System.Windows.Forms.Panel filterInputPanel; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.ComboBox filterComboBox; - private System.Windows.Forms.Button filterSearchButton; - private System.Windows.Forms.CheckBox filterRegexCheckBox; - private System.Windows.Forms.CheckBox filterCaseSensitiveCheckBox; - private System.Windows.Forms.CheckBox filterTailCheckBox; private BufferedDataGridView dataGridView; private BufferedDataGridView filterGridView; - private System.Windows.Forms.Label filterCountLabel; - private System.Windows.Forms.CheckBox syncFilterCheckBox; private System.Windows.Forms.SplitContainer advancedFilterSplitContainer; private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Button filterToTabButton; @@ -1235,7 +1267,6 @@ private void InitializeComponent() private System.Windows.Forms.CheckBox invertFilterCheckBox; private System.Windows.Forms.Label fuzzyLabel; private KnobControl fuzzyKnobControl; - private System.Windows.Forms.Button advancedButton; private System.Windows.Forms.CheckBox rangeCheckBox; private System.Windows.Forms.ComboBox filterRangeComboBox; private System.Windows.Forms.ContextMenuStrip dataGridContextMenuStrip; @@ -1302,5 +1333,15 @@ private void InitializeComponent() private System.Windows.Forms.Panel columnFinderPanel; private System.Windows.Forms.ComboBox columnComboBox; private System.Windows.Forms.Label label3; - } + private System.Windows.Forms.SplitContainer filterSplitContainer; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox filterComboBox; + private System.Windows.Forms.Button advancedButton; + private System.Windows.Forms.CheckBox syncFilterCheckBox; + private System.Windows.Forms.Label filterCountLabel; + private System.Windows.Forms.CheckBox filterTailCheckBox; + private System.Windows.Forms.CheckBox filterRegexCheckBox; + private System.Windows.Forms.CheckBox filterCaseSensitiveCheckBox; + private System.Windows.Forms.Button filterSearchButton; + } } diff --git a/src/LogExpert/Controls/LogWindow/LogWindowEventHandlers.cs b/src/LogExpert/Controls/LogWindow/LogWindowEventHandlers.cs index cc70d428..587ddd3d 100644 --- a/src/LogExpert/Controls/LogWindow/LogWindowEventHandlers.cs +++ b/src/LogExpert/Controls/LogWindow/LogWindowEventHandlers.cs @@ -627,6 +627,56 @@ private void advancedButton_Click(object sender, EventArgs e) ShowAdvancedFilterPanel(showAdvanced); } + private void filterSplitContainer_MouseDown(object sender, MouseEventArgs e) + { + ((SplitContainer)sender).IsSplitterFixed = true; + } + + private void filterSplitContainer_MouseUp(object sender, MouseEventArgs e) + { + ((SplitContainer)sender).IsSplitterFixed = false; + } + + private void filterSplitContainer_MouseMove(object sender, MouseEventArgs e) + { + if (((SplitContainer)sender).IsSplitterFixed) + { + if (e.Button.Equals(MouseButtons.Left)) + { + if (((SplitContainer)sender).Orientation.Equals(Orientation.Vertical)) + { + if (e.X > 0 && e.X < ((SplitContainer)sender).Width) + { + ((SplitContainer)sender).SplitterDistance = e.X; + ((SplitContainer)sender).Refresh(); + } + } + else + { + if (e.Y > 0 && e.Y < ((SplitContainer)sender).Height) + { + ((SplitContainer)sender).SplitterDistance = e.Y; + ((SplitContainer)sender).Refresh(); + } + } + } + else + { + ((SplitContainer)sender).IsSplitterFixed = false; + } + } + } + + private void filterSplitContainer_MouseDoubleClick(object sender, MouseEventArgs e) + { + AutoResizeFilterBox(); + } + + private void AutoResizeFilterBox() + { + filterSplitContainer.SplitterDistance = filterComboBox.Left + filterComboBox.GetMaxTextWidth(); + } + /*======================================================================== * Context menu stuff *========================================================================*/ diff --git a/src/LogExpert/Controls/LogWindow/LogWindowsPublic.cs b/src/LogExpert/Controls/LogWindow/LogWindowsPublic.cs index d53eab68..7a89bcc4 100644 --- a/src/LogExpert/Controls/LogWindow/LogWindowsPublic.cs +++ b/src/LogExpert/Controls/LogWindow/LogWindowsPublic.cs @@ -1283,6 +1283,11 @@ public void PreferencesChanged(Preferences newPreferences, bool isLoadTime, Sett if ((flags & SettingsFlags.FilterHistory) == SettingsFlags.FilterHistory) { UpdateFilterHistoryFromSettings(); + + if(isLoadTime) + { + AutoResizeFilterBox(); + } } } diff --git a/src/LogExpert/Extensions/ComboBoxExtensions.cs b/src/LogExpert/Extensions/ComboBoxExtensions.cs new file mode 100644 index 00000000..76d38f5f --- /dev/null +++ b/src/LogExpert/Extensions/ComboBoxExtensions.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace System.Windows.Forms +{ + public static class ComboBoxExtensions + { + /// + public static int GetMaxTextWidth(this ComboBox comboBox) + { + var maxTextWidth = comboBox.Width; + + foreach (var item in comboBox.Items) + { + var textWidthInPixels = TextRenderer.MeasureText(item.ToString(), comboBox.Font).Width; + + if (textWidthInPixels > maxTextWidth) + { + maxTextWidth = textWidthInPixels; + } + } + + return maxTextWidth; + } + } +} diff --git a/src/LogExpert/LogExpert.csproj b/src/LogExpert/LogExpert.csproj index 1be356ef..5efb1394 100644 --- a/src/LogExpert/LogExpert.csproj +++ b/src/LogExpert/LogExpert.csproj @@ -107,6 +107,7 @@ Form +