From 9ab4588dce80210717b294876305a8f272ddaf81 Mon Sep 17 00:00:00 2001 From: 2nik67 <2niknatan@gmail.com> Date: Mon, 6 Feb 2023 12:47:40 +0200 Subject: [PATCH] Adding TimeStamp feature to filter and highlight. --- RPCMon/ColumnFilter.Designer.cs | 15 ++++++++------- RPCMon/ColumnFilter.cs | 4 ---- RPCMon/FormHighlighting.Designer.cs | 15 ++++++++------- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/RPCMon/ColumnFilter.Designer.cs b/RPCMon/ColumnFilter.Designer.cs index 530bd37..af4af07 100644 --- a/RPCMon/ColumnFilter.Designer.cs +++ b/RPCMon/ColumnFilter.Designer.cs @@ -37,6 +37,7 @@ this.columnHeaderRelation = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderAction = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnMatchCase = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.comboBoxAction = new System.Windows.Forms.ComboBox(); this.buttonOK = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); @@ -46,7 +47,6 @@ this.buttonReset = new System.Windows.Forms.Button(); this.buttonApply = new System.Windows.Forms.Button(); this.CaseSensitiveCheckBox = new System.Windows.Forms.CheckBox(); - this.columnMatchCase = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.SuspendLayout(); // // label1 @@ -79,7 +79,8 @@ "Options", "AuthenticationLevel", "AuthenticationService", - "ImpersonationLevel"}); + "ImpersonationLevel", + "TimeStamp"}); this.comboBoxSearchByColumn.Location = new System.Drawing.Point(12, 25); this.comboBoxSearchByColumn.Name = "comboBoxSearchByColumn"; this.comboBoxSearchByColumn.Size = new System.Drawing.Size(121, 21); @@ -147,6 +148,11 @@ // this.columnHeaderAction.Text = "Action"; // + // columnMatchCase + // + this.columnMatchCase.Text = "Case Sensitive"; + this.columnMatchCase.Width = 87; + // // comboBoxAction // this.comboBoxAction.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -246,11 +252,6 @@ this.CaseSensitiveCheckBox.Text = "Match Case"; this.CaseSensitiveCheckBox.UseVisualStyleBackColor = true; // - // columnMatchCase - // - this.columnMatchCase.Text = "Case Sensitive"; - this.columnMatchCase.Width = 87; - // // ColumnFilter // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); diff --git a/RPCMon/ColumnFilter.cs b/RPCMon/ColumnFilter.cs index cc87144..a183437 100644 --- a/RPCMon/ColumnFilter.cs +++ b/RPCMon/ColumnFilter.cs @@ -140,10 +140,6 @@ namespace RPCMon listViewColumnFilters.Items.Clear(); } - private void button1_Click(object sender, EventArgs e) - { - - } private void buttonApply_Click(object sender, EventArgs e) { diff --git a/RPCMon/FormHighlighting.Designer.cs b/RPCMon/FormHighlighting.Designer.cs index fa95f5e..c65b487 100644 --- a/RPCMon/FormHighlighting.Designer.cs +++ b/RPCMon/FormHighlighting.Designer.cs @@ -39,6 +39,7 @@ this.columnHeaderRelation = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeaderAction = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.columnCaseSensitive = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.buttonOK = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); this.buttonAdd = new System.Windows.Forms.Button(); @@ -46,7 +47,6 @@ this.buttonReset = new System.Windows.Forms.Button(); this.buttonApply = new System.Windows.Forms.Button(); this.CaseSensitiveCheckBox = new System.Windows.Forms.CheckBox(); - this.columnCaseSensitive = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.SuspendLayout(); // // labelHighlight @@ -78,7 +78,8 @@ "Options", "AuthenticationLevel", "AuthenticationService", - "ImpersonationLevel"}); + "ImpersonationLevel", + "TimeStamp"}); this.comboBoxColumn.Location = new System.Drawing.Point(12, 25); this.comboBoxColumn.Name = "comboBoxColumn"; this.comboBoxColumn.Size = new System.Drawing.Size(121, 21); @@ -169,6 +170,11 @@ // this.columnHeaderAction.Text = "Action"; // + // columnCaseSensitive + // + this.columnCaseSensitive.Text = "Match Case"; + this.columnCaseSensitive.Width = 90; + // // buttonOK // this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); @@ -245,11 +251,6 @@ this.CaseSensitiveCheckBox.Text = "Match Case"; this.CaseSensitiveCheckBox.UseVisualStyleBackColor = true; // - // columnCaseSensitive - // - this.columnCaseSensitive.Text = "Match Case"; - this.columnCaseSensitive.Width = 90; - // // FormHighlighting // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);