ListViewEx clean-up.

This commit is contained in:
Milan Hanajik
2022-01-07 12:23:22 +01:00
parent 6150c5b808
commit 2710823931
90 changed files with 181 additions and 1823 deletions
@@ -6,6 +6,7 @@ using System.Collections.Generic;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using TBF.Rig.Generic;
using TBF.Resources;
@@ -95,8 +96,8 @@ namespace TBF.Rig.Configs.ParamsProvider
flags = CfgUpdateFlags.None;
paramsListViewEx.SubItemClicked += new Results.Forms.SubItemEventHandler(paramsListViewEx_SubItemClicked);
paramsListViewEx.SubItemEndEditing += new Results.Forms.SubItemEndEditingEventHandler(paramsListViewEx_SubItemEndEditing);
paramsListViewEx.SubItemClicked += new SubItemEventHandler(paramsListViewEx_SubItemClicked);
paramsListViewEx.SubItemEndEditing += new SubItemEndEditingEventHandler(paramsListViewEx_SubItemEndEditing);
}
void Localize()
@@ -178,14 +179,14 @@ namespace TBF.Rig.Configs.ParamsProvider
return f;
}
private void paramsListViewEx_SubItemClicked(object sender, Results.Forms.SubItemEventArgs e)
private void paramsListViewEx_SubItemClicked(object sender, SubItemEventArgs e)
{
if (e.SubItem != 1) return;
int itemNr = (int)e.Item.Tag;
paramsListViewEx.StartEditing(editors[itemNr], e.Item, e.SubItem);
}
private void paramsListViewEx_SubItemEndEditing(object sender, Results.Forms.SubItemEndEditingEventArgs e)
private void paramsListViewEx_SubItemEndEditing(object sender, SubItemEndEditingEventArgs e)
{
if (e.SubItem != 1) return;
int itemNr = (int)e.Item.Tag;
+4 -4
View File
@@ -38,7 +38,7 @@ namespace TBF.Rig.Configs.ParamsProvider
this.parentLabel = new System.Windows.Forms.Label();
this.componentClassLabel = new System.Windows.Forms.Label();
this.componentClassTextBox = new System.Windows.Forms.TextBox();
this.paramsListViewEx = new Results.Forms.ListViewEx();
this.paramsListViewEx = new Common.Forms.ListViewEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -137,8 +137,8 @@ namespace TBF.Rig.Configs.ParamsProvider
this.paramsListViewEx.TabIndex = 0;
this.paramsListViewEx.UseCompatibleStateImageBehavior = false;
this.paramsListViewEx.View = System.Windows.Forms.View.Details;
this.paramsListViewEx.SubItemClicked += new Results.Forms.SubItemEventHandler(this.paramsListViewEx_SubItemClicked);
this.paramsListViewEx.SubItemEndEditing += new Results.Forms.SubItemEndEditingEventHandler(this.paramsListViewEx_SubItemEndEditing);
this.paramsListViewEx.SubItemClicked += new Common.Forms.SubItemEventHandler(this.paramsListViewEx_SubItemClicked);
this.paramsListViewEx.SubItemEndEditing += new Common.Forms.SubItemEndEditingEventHandler(this.paramsListViewEx_SubItemEndEditing);
//
// ComponentCfgCtrl
//
@@ -166,6 +166,6 @@ namespace TBF.Rig.Configs.ParamsProvider
private System.Windows.Forms.Label parentLabel;
private System.Windows.Forms.Label componentClassLabel;
private System.Windows.Forms.TextBox componentClassTextBox;
private Results.Forms.ListViewEx paramsListViewEx;
private Common.Forms.ListViewEx paramsListViewEx;
}
}
+2 -2
View File
@@ -120,7 +120,7 @@ namespace TBF.Rig.TestMethods.Endurance
void RefreshAllTabs()
{
if (seqStepsCtrl != null) (seqStepsCtrl as Results.Forms.ListViewEx).Refresh();
if (seqStepsCtrl != null) (seqStepsCtrl as Common.Forms.ListViewEx).Refresh();
}
private void Unlocked(object sender, EventArgs e)
@@ -242,7 +242,7 @@ namespace TBF.Rig.TestMethods.Endurance
/// <param name="listViewEx"></param>
void SelectedIndexChanged(object sender, EventArgs e)
{
Results.Forms.ListViewEx listViewEx = sender as Results.Forms.ListViewEx;
Common.Forms.ListViewEx listViewEx = sender as Common.Forms.ListViewEx;
if (listViewEx.SelectedItems.Count != 1)
{
UpdateButtonStates(SharedButtons.SelectedItemPos.None);
@@ -1,10 +1,12 @@
///
/// Copyright (c) 2016 Sensus Metering Systems
///
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using log4net;
using Common.Forms;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Shared;
@@ -47,9 +49,9 @@ namespace TBF.Rig.TestMethods.Endurance
Name = "Dummy";
MyItems = sequence;
SubItemClicked += new Results.Forms.SubItemEventHandler(listViewEx_SubItemClicked);
SubItemRightClicked += new Results.Forms.SubItemEventHandler(listViewEx_SubItemRightClicked);
SubItemEndEditing += new Results.Forms.SubItemEndEditingEventHandler(listViewEx_SubItemEndEditing);
SubItemClicked += new SubItemEventHandler(listViewEx_SubItemClicked);
SubItemRightClicked += new SubItemEventHandler(listViewEx_SubItemRightClicked);
SubItemEndEditing += new SubItemEndEditingEventHandler(listViewEx_SubItemEndEditing);
///
@@ -97,14 +99,14 @@ namespace TBF.Rig.TestMethods.Endurance
}
void listViewEx_SubItemClicked(object sender, Results.Forms.SubItemEventArgs e)
void listViewEx_SubItemClicked(object sender, SubItemEventArgs e)
{
if (!Unlocked || e.SubItem >= editors.Length) return;
StartEditing(editors[e.SubItem], e.Item, e.SubItem);
StartEditing(editors[e.SubItem], e.Item, e.SubItem);
}
void listViewEx_SubItemRightClicked(object sender, Results.Forms.SubItemEventArgs e)
void listViewEx_SubItemRightClicked(object sender, SubItemEventArgs e)
{
if (!Unlocked || e.SubItem >= editors.Length) return;
@@ -131,7 +133,7 @@ namespace TBF.Rig.TestMethods.Endurance
}
void listViewEx_SubItemEndEditing(object sender, Results.Forms.SubItemEndEditingEventArgs e)
void listViewEx_SubItemEndEditing(object sender, Common.Forms.SubItemEndEditingEventArgs e)
{
if (e.SubItem == (int)Column.Duration)
{
+3 -3
View File
@@ -33,7 +33,7 @@ namespace TBF.UI.Bench.Components
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ComponentsManagerDlg));
this.splitContainer = new System.Windows.Forms.SplitContainer();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.sharedButtons = new TBF.UI.Shared.SharedButtons();
((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit();
this.splitContainer.Panel1.SuspendLayout();
@@ -68,7 +68,7 @@ namespace TBF.UI.Bench.Components
this.listViewEx.Name = "listViewEx";
this.listViewEx.UseCompatibleStateImageBehavior = false;
this.listViewEx.View = System.Windows.Forms.View.Details;
this.listViewEx.SubItemRightClicked += new Results.Forms.SubItemEventHandler(this.listViewEx_SubItemRightClicked);
this.listViewEx.SubItemRightClicked += new Common.Forms.SubItemEventHandler(this.listViewEx_SubItemRightClicked);
this.listViewEx.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listViewEx_ColumnClick);
this.listViewEx.SelectedIndexChanged += new System.EventHandler(this.componentsListView_SelectedIndexChanged);
this.listViewEx.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listViewEx_MouseDoubleClick);
@@ -96,7 +96,7 @@ namespace TBF.UI.Bench.Components
#endregion
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.SplitContainer splitContainer;
private TBF.UI.Shared.SharedButtons sharedButtons;
}
@@ -8,8 +8,8 @@ using System.Windows.Forms;
using log4net;
using NHibernate;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig;
using TBF.Rig.Generic;
using TBF.Resources;
@@ -145,7 +145,7 @@
<value>listViewEx</value>
</data>
<data name="&gt;&gt;listViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=2.18.990.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=2.18.990.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;listViewEx.Parent" xml:space="preserve">
<value>splitContainer.Panel1</value>
+2 -2
View File
@@ -57,7 +57,7 @@ namespace TBF.UI.Bench.Metrology
this.measuredTextBox = new System.Windows.Forms.TextBox();
this.correctedLabel = new System.Windows.Forms.Label();
this.measuredLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -373,7 +373,7 @@ namespace TBF.UI.Bench.Metrology
private System.Windows.Forms.Label cmpntNameLabel;
private System.Windows.Forms.SplitContainer splitContainer1;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.Label measuredLabel;
private System.Windows.Forms.GroupBox testGroupBox;
private System.Windows.Forms.TextBox correctedTextBox;
@@ -7,8 +7,8 @@ using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
+2 -2
View File
@@ -46,7 +46,7 @@ namespace TBF.UI.Bench.Metrology
this.measuredTextBox = new System.Windows.Forms.TextBox();
this.correctedLabel = new System.Windows.Forms.Label();
this.measuredLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.calibExpirationDateTimePicker = new System.Windows.Forms.DateTimePicker();
this.calibDateTimePicker = new System.Windows.Forms.DateTimePicker();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -274,7 +274,7 @@ namespace TBF.UI.Bench.Metrology
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.GroupBox testGroupBox;
private System.Windows.Forms.TextBox correctedTextBox;
private System.Windows.Forms.TextBox measuredTextBox;
@@ -6,9 +6,8 @@ using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
@@ -46,7 +46,7 @@ namespace TBF.UI.Bench.Metrology
this.measuredTextBox = new System.Windows.Forms.TextBox();
this.correctedLabel = new System.Windows.Forms.Label();
this.measuredLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.calibExpirationDateTimePicker = new System.Windows.Forms.DateTimePicker();
this.calibDateTimePicker = new System.Windows.Forms.DateTimePicker();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -274,7 +274,7 @@ namespace TBF.UI.Bench.Metrology
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.GroupBox testGroupBox;
private System.Windows.Forms.TextBox correctedTextBox;
private System.Windows.Forms.TextBox measuredTextBox;
@@ -6,9 +6,8 @@ using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
+2 -2
View File
@@ -46,7 +46,7 @@ namespace TBF.UI.Bench.Metrology
this.measuredTextBox = new System.Windows.Forms.TextBox();
this.correctedLabel = new System.Windows.Forms.Label();
this.measuredLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.calibExpirationDateTimePicker = new System.Windows.Forms.DateTimePicker();
this.calibDateTimePicker = new System.Windows.Forms.DateTimePicker();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -274,7 +274,7 @@ namespace TBF.UI.Bench.Metrology
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.GroupBox testGroupBox;
private System.Windows.Forms.TextBox correctedTextBox;
private System.Windows.Forms.TextBox measuredTextBox;
@@ -7,8 +7,8 @@ using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
@@ -46,7 +46,7 @@ namespace TBF.UI.Bench.Metrology
this.measuredTextBox = new System.Windows.Forms.TextBox();
this.correctedLabel = new System.Windows.Forms.Label();
this.measuredLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.calibExpirationDateTimePicker = new System.Windows.Forms.DateTimePicker();
this.calibDateTimePicker = new System.Windows.Forms.DateTimePicker();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -274,7 +274,7 @@ namespace TBF.UI.Bench.Metrology
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.GroupBox testGroupBox;
private System.Windows.Forms.TextBox correctedTextBox;
private System.Windows.Forms.TextBox measuredTextBox;
@@ -6,9 +6,8 @@ using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
@@ -44,7 +44,7 @@ namespace TBF.UI.Bench.Metrology
this.measuredLabel = new System.Windows.Forms.Label();
this.componentLabel = new System.Windows.Forms.Label();
this.cmpntNameLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.calibExpirationDateTimePicker = new System.Windows.Forms.DateTimePicker();
this.calibDateTimePicker = new System.Windows.Forms.DateTimePicker();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -253,7 +253,7 @@ namespace TBF.UI.Bench.Metrology
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label componentLabel;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.GroupBox testGroupBox;
private System.Windows.Forms.TextBox correctedTextBox;
private System.Windows.Forms.TextBox measuredTextBox;
@@ -7,8 +7,8 @@ using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
+2 -2
View File
@@ -44,7 +44,7 @@ namespace TBF.UI.Bench.Metrology
this.measuredLabel = new System.Windows.Forms.Label();
this.componentLabel = new System.Windows.Forms.Label();
this.cmpntNameLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.calibExpirationDateTimePicker = new System.Windows.Forms.DateTimePicker();
this.calibDateTimePicker = new System.Windows.Forms.DateTimePicker();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -253,7 +253,7 @@ namespace TBF.UI.Bench.Metrology
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label componentLabel;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.GroupBox testGroupBox;
private System.Windows.Forms.TextBox correctedTextBox;
private System.Windows.Forms.TextBox measuredTextBox;
@@ -7,8 +7,8 @@ using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
+1 -3
View File
@@ -4,11 +4,9 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using NHibernate;
using Results.Forms;
using Common.Forms;
using TBF.Rig;
using TBF.Rig.GenericDevices;
using TBF.Resources;
+1 -2
View File
@@ -3,13 +3,12 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using NHibernate;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Shared;
+1 -2
View File
@@ -4,11 +4,10 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Shared;
+1 -4
View File
@@ -3,14 +3,11 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Results.Forms;
using TBF.Rig;
using Common.Forms;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI;
using TBF.UI.Shared;
namespace TBF.UI.Bench.Paths
+1 -4
View File
@@ -3,14 +3,11 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Results.Forms;
using TBF.Rig;
using Common.Forms;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Bench.Paths;
using TBF.UI.Shared;
namespace TBF.UI.Bench.Paths
+1 -1
View File
@@ -6,8 +6,8 @@ using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using log4net;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig;
using TBF.Rig.GenericDevices;
using TBF.Resources;
+1 -7
View File
@@ -3,19 +3,13 @@
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig.Generic;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Shared;
using TBF.Rig.Output;
using TBF.Rig.TestMethods.iPerlCommunication.iPerlHead;
namespace TBF.UI.Bench.TestProfiles
{
+6 -6
View File
@@ -57,11 +57,11 @@ namespace TBF.UI.Bench.TestProfiles
this.procNameTextBox = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.metrologyTabPage = new System.Windows.Forms.TabPage();
this.metrologyListViewEx = new Results.Forms.ListViewEx();
this.metrologyListViewEx = new Common.Forms.ListViewEx();
this.errorFlagsTabPage = new System.Windows.Forms.TabPage();
this.errorFlagsListViewEx = new Results.Forms.ListViewEx();
this.errorFlagsListViewEx = new Common.Forms.ListViewEx();
this.errorFlags2TabPage = new System.Windows.Forms.TabPage();
this.errorFlags2ListViewEx = new Results.Forms.ListViewEx();
this.errorFlags2ListViewEx = new Common.Forms.ListViewEx();
this.sharedButtons = new TBF.UI.Shared.SharedButtons();
((System.ComponentModel.ISupportInitialize)(this.mainSplitContainer)).BeginInit();
this.mainSplitContainer.Panel1.SuspendLayout();
@@ -341,7 +341,7 @@ namespace TBF.UI.Bench.TestProfiles
private System.Windows.Forms.SplitContainer mainSplitContainer;
private System.Windows.Forms.TabControl tabControl;
private System.Windows.Forms.TabPage metrologyTabPage;
private Results.Forms.ListViewEx metrologyListViewEx;
private Common.Forms.ListViewEx metrologyListViewEx;
private TBF.UI.Shared.SharedButtons sharedButtons;
private System.Windows.Forms.TabPage generalTabPage;
private System.Windows.Forms.TextBox lastChangedOnTextBox;
@@ -359,7 +359,7 @@ namespace TBF.UI.Bench.TestProfiles
private System.Windows.Forms.RadioButton profileTypeRadioButton2;
private System.Windows.Forms.RadioButton profileTypeRadioButton1;
private System.Windows.Forms.TabPage errorFlagsTabPage;
private Results.Forms.ListViewEx errorFlagsListViewEx;
private Common.Forms.ListViewEx errorFlagsListViewEx;
private System.Windows.Forms.RadioButton profileTypeRadioButton3;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.RadioButton errorCalculationRadioButton2;
@@ -368,6 +368,6 @@ namespace TBF.UI.Bench.TestProfiles
private System.Windows.Forms.RadioButton profileTypeRadioButton5;
private System.Windows.Forms.RadioButton profileTypeRadioButton4;
private System.Windows.Forms.TabPage errorFlags2TabPage;
private Results.Forms.ListViewEx errorFlags2ListViewEx;
private Common.Forms.ListViewEx errorFlags2ListViewEx;
}
}
@@ -745,7 +745,7 @@
<value>metrologyListViewEx</value>
</data>
<data name="&gt;&gt;metrologyListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=2.24.1369.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=2.24.1369.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;metrologyListViewEx.Parent" xml:space="preserve">
<value>metrologyTabPage</value>
@@ -796,7 +796,7 @@
<value>errorFlagsListViewEx</value>
</data>
<data name="&gt;&gt;errorFlagsListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=2.24.1369.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=2.24.1369.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;errorFlagsListViewEx.Parent" xml:space="preserve">
<value>errorFlagsTabPage</value>
@@ -844,7 +844,7 @@
<value>errorFlags2ListViewEx</value>
</data>
<data name="&gt;&gt;errorFlags2ListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=2.24.1369.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=2.24.1369.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;errorFlags2ListViewEx.Parent" xml:space="preserve">
<value>errorFlags2TabPage</value>
@@ -3,17 +3,14 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Windows.Forms;
using NHibernate;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Shared;
+1 -1
View File
@@ -179,7 +179,7 @@ namespace TBF.UI.Bench.TestProfiles
/// <param name="listViewEx"></param>
void SelectedIndexChanged(object sender, EventArgs e)
{
Results.Forms.ListViewEx listViewEx = sender as Results.Forms.ListViewEx;
Common.Forms.ListViewEx listViewEx = sender as Common.Forms.ListViewEx;
if (listViewEx.SelectedItems.Count != 1)
{
/// No item selected
@@ -1,12 +1,13 @@
///
/// Copyright (c) 2013-2015 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using log4net;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig;
using TBF.Rig.GenericDevices;
using TBF.Resources;
+1 -3
View File
@@ -4,14 +4,12 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using log4net;
using NHibernate;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig.Generic;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Shared;
@@ -1,12 +1,13 @@
///
/// Copyright (c) 2013-2015 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using log4net;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
@@ -3,12 +3,11 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
@@ -34,7 +34,7 @@ namespace TBF.UI.Bench.Uncertainties
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.cmpntLabel = new System.Windows.Forms.Label();
this.cmpntNameLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -116,7 +116,7 @@ namespace TBF.UI.Bench.Uncertainties
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label cmpntLabel;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
}
}
@@ -3,12 +3,11 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
@@ -34,7 +34,7 @@ namespace TBF.UI.Bench.Uncertainties
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.cmpntLabel = new System.Windows.Forms.Label();
this.cmpntNameLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -116,7 +116,7 @@ namespace TBF.UI.Bench.Uncertainties
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label cmpntLabel;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
}
}
@@ -3,12 +3,11 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
+2 -2
View File
@@ -32,7 +32,7 @@ namespace TBF.UI.Bench.Uncertainties
private void InitializeComponent()
{
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.cmpntLabel = new System.Windows.Forms.Label();
this.cmpntNameLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
@@ -114,7 +114,7 @@ namespace TBF.UI.Bench.Uncertainties
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
private System.Windows.Forms.Label cmpntLabel;
private System.Windows.Forms.Label cmpntNameLabel;
}
@@ -3,12 +3,11 @@
///
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
using TBF.UI.Shared;
@@ -34,7 +34,7 @@ namespace TBF.UI.Bench.Uncertainties
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.cmpntLabel = new System.Windows.Forms.Label();
this.cmpntNameLabel = new System.Windows.Forms.Label();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -116,7 +116,7 @@ namespace TBF.UI.Bench.Uncertainties
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label cmpntLabel;
private System.Windows.Forms.Label cmpntNameLabel;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
}
}
+1 -3
View File
@@ -1,5 +1,5 @@
///
/// Copyright (c) 2020-2021 Sensus Slovensko a.s.
/// Copyright (c) 2020-2022 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
@@ -9,9 +9,7 @@ using NHibernate;
using Common;
using Config.Entities;
using Config.CalendarEvent;
using SharedDatabase.Entities;
using TBF.Resources;
using TBF.UiBridge;
namespace TBF.UI.Calendar
{
+2 -2
View File
@@ -37,7 +37,7 @@ namespace TBF.UI.Calendar
this.calendarCtrl1 = new TBF.UI.Calendar.CalendarCtrl();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.newEventButton = new System.Windows.Forms.Button();
this.calendarEventsListViewEx = new Common.UIControls.ListViewEx();
this.calendarEventsListViewEx = new Common.Forms.ListViewEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -152,6 +152,6 @@ namespace TBF.UI.Calendar
private CalendarCtrl calendarCtrl1;
private System.Windows.Forms.Button newEventButton;
private System.Windows.Forms.SplitContainer splitContainer2;
private Common.UIControls.ListViewEx calendarEventsListViewEx;
private Common.Forms.ListViewEx calendarEventsListViewEx;
}
}
+2 -5
View File
@@ -1,13 +1,10 @@
///
/// Copyright (c) 2020 Sensus Slovensko a.s.
/// Copyright (c) 2020-2022 Sensus Slovensko a.s.
///
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using NHibernate;
using Common;
using Common.UIControls;
using SharedDatabase.Entities;
using Common.Forms;
using TBF.Resources;
using TBF.UiBridge;
+2 -2
View File
@@ -32,7 +32,7 @@ namespace TBF.UI.EventLogs
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EventLogsTabPageCtrl));
this.eventsListView = new Common.UIControls.ListViewEx();
this.eventsListView = new Common.Forms.ListViewEx();
this.SuspendLayout();
//
// eventsListView
@@ -60,6 +60,6 @@ namespace TBF.UI.EventLogs
#endregion
private Common.UIControls.ListViewEx eventsListView;
private Common.Forms.ListViewEx eventsListView;
}
}
+10 -10
View File
@@ -98,15 +98,15 @@ namespace TBF.UI.Procedures
this.procNameTextBox = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.historyTabPage = new System.Windows.Forms.TabPage();
this.historyListViewEx = new Results.Forms.ListViewEx();
this.historyListViewEx = new Common.Forms.ListViewEx();
this.metrology1TabPage = new System.Windows.Forms.TabPage();
this.metrology1ListViewEx = new Results.Forms.ListViewEx();
this.metrology1ListViewEx = new Common.Forms.ListViewEx();
this.metrology2TabPage = new System.Windows.Forms.TabPage();
this.metrology2ListViewEx = new Results.Forms.ListViewEx();
this.metrology2ListViewEx = new Common.Forms.ListViewEx();
this.processTabPage = new System.Windows.Forms.TabPage();
this.processListViewEx = new Results.Forms.ListViewEx();
this.processListViewEx = new Common.Forms.ListViewEx();
this.parametersTabPage = new System.Windows.Forms.TabPage();
this.parametersListViewEx = new Results.Forms.ListViewEx();
this.parametersListViewEx = new Common.Forms.ListViewEx();
this.sharedButtons = new TBF.UI.Shared.SharedButtons();
((System.ComponentModel.ISupportInitialize)(this.mainSplitContainer)).BeginInit();
this.mainSplitContainer.Panel1.SuspendLayout();
@@ -717,13 +717,13 @@ namespace TBF.UI.Procedures
private System.Windows.Forms.SplitContainer mainSplitContainer;
private System.Windows.Forms.TabControl tabControl;
private System.Windows.Forms.TabPage historyTabPage;
private Results.Forms.ListViewEx historyListViewEx;
private Common.Forms.ListViewEx historyListViewEx;
private System.Windows.Forms.TabPage metrology1TabPage;
private Results.Forms.ListViewEx metrology1ListViewEx;
private Common.Forms.ListViewEx metrology1ListViewEx;
private System.Windows.Forms.TabPage metrology2TabPage;
private Results.Forms.ListViewEx metrology2ListViewEx;
private Common.Forms.ListViewEx metrology2ListViewEx;
private System.Windows.Forms.TabPage processTabPage;
private Results.Forms.ListViewEx processListViewEx;
private Common.Forms.ListViewEx processListViewEx;
private TBF.UI.Shared.SharedButtons sharedButtons;
private System.Windows.Forms.TabPage generalTabPage;
private System.Windows.Forms.ComboBox fileWriter1ComboBox;
@@ -755,7 +755,7 @@ namespace TBF.UI.Procedures
private System.Windows.Forms.RadioButton metersKindRadioButton2;
private System.Windows.Forms.RadioButton metersKindRadioButton1;
private System.Windows.Forms.TabPage parametersTabPage;
private Results.Forms.ListViewEx parametersListViewEx;
private Common.Forms.ListViewEx parametersListViewEx;
private System.Windows.Forms.ComboBox fileWriter2ComboBox;
private System.Windows.Forms.ComboBox fileWriter3ComboBox;
private System.Windows.Forms.ComboBox printer2ComboBox;
+1 -2
View File
@@ -8,13 +8,12 @@ using System.Text;
using System.Windows.Forms;
using log4net;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Rig.Generic;
using TBF.Rig.GenericDevices;
using TBF.Resources;
using TBF.UI.Shared;
using TBF.Rig.Output;
using TBF.Rig.TestMethods.iPerlCommunication.iPerlHead;
namespace TBF.UI.Procedures
+5 -5
View File
@@ -1915,7 +1915,7 @@
<value>historyListViewEx</value>
</data>
<data name="&gt;&gt;historyListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;historyListViewEx.Parent" xml:space="preserve">
<value>historyTabPage</value>
@@ -1966,7 +1966,7 @@
<value>metrology1ListViewEx</value>
</data>
<data name="&gt;&gt;metrology1ListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;metrology1ListViewEx.Parent" xml:space="preserve">
<value>metrology1TabPage</value>
@@ -2017,7 +2017,7 @@
<value>metrology2ListViewEx</value>
</data>
<data name="&gt;&gt;metrology2ListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;metrology2ListViewEx.Parent" xml:space="preserve">
<value>metrology2TabPage</value>
@@ -2068,7 +2068,7 @@
<value>processListViewEx</value>
</data>
<data name="&gt;&gt;processListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;processListViewEx.Parent" xml:space="preserve">
<value>processTabPage</value>
@@ -2119,7 +2119,7 @@
<value>parametersListViewEx</value>
</data>
<data name="&gt;&gt;parametersListViewEx.Type" xml:space="preserve">
<value>Results.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
<value>Common.Forms.ListViewEx, Results, Version=3.1.1464.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;parametersListViewEx.Parent" xml:space="preserve">
<value>parametersTabPage</value>
+2 -2
View File
@@ -31,7 +31,7 @@ namespace TBF.UI.Procedures
/// </summary>
private void InitializeComponent()
{
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.SuspendLayout();
//
// listViewEx
@@ -60,6 +60,6 @@ namespace TBF.UI.Procedures
#endregion
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
}
}
+1 -2
View File
@@ -5,8 +5,7 @@ using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Common;
using Config.Entities;
using Results.Forms;
using Common.Forms;
using TBF.Rig.Generic;
using TBF.Resources;
+2 -2
View File
@@ -31,7 +31,7 @@ namespace TBF.UI.Procedures
/// </summary>
private void InitializeComponent()
{
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.SuspendLayout();
//
// listViewEx
@@ -60,6 +60,6 @@ namespace TBF.UI.Procedures
#endregion
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
}
}
@@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Common;
using Results.Forms;
using Common.Forms;
using TBF.Rig.Generic;
using TBF.Resources;
+2 -2
View File
@@ -37,7 +37,7 @@
this.mclassComboBox = new System.Windows.Forms.ComboBox();
this.q3ComboBox = new System.Windows.Forms.ComboBox();
this.dnComboBox = new System.Windows.Forms.ComboBox();
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
((System.ComponentModel.ISupportInitialize)(this.filtersSplitContainer)).BeginInit();
this.filtersSplitContainer.Panel1.SuspendLayout();
this.filtersSplitContainer.Panel2.SuspendLayout();
@@ -190,6 +190,6 @@
private System.Windows.Forms.ComboBox mclassComboBox;
private System.Windows.Forms.ComboBox q3ComboBox;
private System.Windows.Forms.ComboBox dnComboBox;
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
}
}
+1 -1
View File
@@ -190,7 +190,7 @@ namespace TBF.UI.Procedures
/// <param name="listViewEx"></param>
public void SelectedIndexChanged(ListView sender, bool isFilterAny)
{
Results.Forms.ListViewEx listViewEx = sender as Results.Forms.ListViewEx;
Common.Forms.ListViewEx listViewEx = sender as Common.Forms.ListViewEx;
if (listViewEx.SelectedItems.Count != 1)
{
/// No item selected
+2 -2
View File
@@ -31,7 +31,7 @@ namespace TBF.UI.Procedures
/// </summary>
private void InitializeComponent()
{
this.listViewEx = new Results.Forms.ListViewEx();
this.listViewEx = new Common.Forms.ListViewEx();
this.SuspendLayout();
//
// listViewEx
@@ -60,6 +60,6 @@ namespace TBF.UI.Procedures
#endregion
private Results.Forms.ListViewEx listViewEx;
private Common.Forms.ListViewEx listViewEx;
}
}
+1 -1
View File
@@ -5,8 +5,8 @@ using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Common;
using Common.Forms;
using Config.Entities;
using Results.Forms;
using TBF.Resources;
namespace TBF.UI.Procedures
+1 -2
View File
@@ -5,11 +5,10 @@ using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Config.Entities;
using Results.Forms;
namespace TBF.UI.Shared
{
public class BaseWithListViewEx<MyItem> : ListViewEx
public class BaseWithListViewEx<MyItem> : Common.Forms.ListViewEx
{
/// <summary>
/// List of items to be edited