diff --git a/Application/Properties/SharedAssemblyInfo.cs b/Application/Properties/SharedAssemblyInfo.cs
index ce34b556..311a2b05 100644
--- a/Application/Properties/SharedAssemblyInfo.cs
+++ b/Application/Properties/SharedAssemblyInfo.cs
@@ -14,6 +14,6 @@
// Version information for an assembly consists of the following four values: Major Version Minor
// Version Build Number Revision You can specify all the values or you can default the Build and.Json
// Revision Numbers by using the '*' as shown below: [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.7.13.614")]
-[assembly: AssemblyFileVersion("1.7.13.614")]
-[assembly: AssemblyInformationalVersion("1.7.13.614")] // a.k.a. "Product version"
\ No newline at end of file
+[assembly: AssemblyVersion("1.7.13.615")]
+[assembly: AssemblyFileVersion("1.7.13.615")]
+[assembly: AssemblyInformationalVersion("1.7.13.615")] // a.k.a. "Product version"
\ No newline at end of file
diff --git a/Library/WinFormControls/FormColumnUIRead.Designer.cs b/Library/WinFormControls/FormColumnUIRead.Designer.cs
index 90c5f847..eead7d2f 100644
--- a/Library/WinFormControls/FormColumnUIRead.Designer.cs
+++ b/Library/WinFormControls/FormColumnUIRead.Designer.cs
@@ -21,7 +21,7 @@ protected override void Dispose(bool disposing)
base.Dispose(disposing);
}
-
+
#region Windows Form Designer generated code
///
@@ -30,7 +30,7 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
+ components = new System.ComponentModel.Container();
System.Windows.Forms.Label labelGroup;
System.Windows.Forms.Label labelPoint;
System.Windows.Forms.Label labelTrue;
@@ -53,67 +53,68 @@ private void InitializeComponent()
System.Windows.Forms.Label labelValue;
System.Windows.Forms.Label labelSample;
System.Windows.Forms.Label labelTCFormat;
- this.textBoxDateSeparator = new System.Windows.Forms.TextBox();
- this.bindingSourceValueFormat = new System.Windows.Forms.BindingSource(this.components);
- this.buttonAddFormat = new System.Windows.Forms.Button();
- this.labelAllowedDateFormats = new System.Windows.Forms.Label();
- this.checkedListBoxDateFormats = new System.Windows.Forms.CheckedListBox();
- this.comboBoxTimePart = new System.Windows.Forms.ComboBox();
- this.columnBindingSource = new System.Windows.Forms.BindingSource(this.components);
- this.textBoxTimeSeparator = new System.Windows.Forms.TextBox();
- this.comboBoxTimeZone = new System.Windows.Forms.ComboBox();
- this.labelInput = new System.Windows.Forms.Label();
- this.labelSampleDisplay = new System.Windows.Forms.Label();
- this.labelDateOutputDisplay = new System.Windows.Forms.Label();
- this.labelNote = new System.Windows.Forms.Label();
- this.labelInputTZ = new System.Windows.Forms.Label();
- this.labelOutPutTZ = new System.Windows.Forms.Label();
- this.comboBoxTPFormat = new System.Windows.Forms.ComboBox();
- this.textBoxDateFormat = new System.Windows.Forms.TextBox();
- this.comboBoxDataType = new System.Windows.Forms.ComboBox();
- this.buttonCancel = new System.Windows.Forms.Button();
- this.labelColName = new System.Windows.Forms.Label();
- this.comboBoxColumnName = new System.Windows.Forms.ComboBox();
- this.buttonGuess = new System.Windows.Forms.Button();
- this.checkBoxIgnore = new System.Windows.Forms.CheckBox();
- this.textBoxColumnName = new System.Windows.Forms.TextBox();
- this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
- this.toolTip = new System.Windows.Forms.ToolTip(this.components);
- this.buttonDisplayValues = new System.Windows.Forms.Button();
- this.textBoxReadFolder = new System.Windows.Forms.TextBox();
- this.textBoxWriteFolder = new System.Windows.Forms.TextBox();
- this.textBoxPattern = new System.Windows.Forms.TextBox();
- this.textBoxRegexSearchPattern = new System.Windows.Forms.TextBox();
- this.textBoxDisplayNullAs = new System.Windows.Forms.TextBox();
- this.buttonOK = new System.Windows.Forms.Button();
- this.panelTop = new System.Windows.Forms.Panel();
- this.labelDisplayNullAs = new System.Windows.Forms.Label();
- this.panelBottom = new System.Windows.Forms.Panel();
- this.flowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
- this.groupBoxDate = new System.Windows.Forms.GroupBox();
- this.groupBoxNumber = new System.Windows.Forms.GroupBox();
- this.linkLabelRegionLanguage = new System.Windows.Forms.LinkLabel();
- this.comboBoxNumberFormat = new System.Windows.Forms.ComboBox();
- this.labelNumValue = new System.Windows.Forms.Label();
- this.labelNumberOutput = new System.Windows.Forms.Label();
- this.labelNumberFormat = new System.Windows.Forms.Label();
- this.textBoxDecimalSeparator = new System.Windows.Forms.TextBox();
- this.textBoxGroupSeparator = new System.Windows.Forms.TextBox();
- this.labelNumber = new System.Windows.Forms.Label();
- this.groupBoxBoolean = new System.Windows.Forms.GroupBox();
- this.textBoxTrue = new System.Windows.Forms.TextBox();
- this.textBoxFalse = new System.Windows.Forms.TextBox();
- this.groupBoxSplit = new System.Windows.Forms.GroupBox();
- this.numericUpDownPart = new System.Windows.Forms.NumericUpDown();
- this.labelSamplePart = new System.Windows.Forms.Label();
- this.checkBoxPartToEnd = new System.Windows.Forms.CheckBox();
- this.textBoxSplit = new System.Windows.Forms.TextBox();
- this.labelResultPart = new System.Windows.Forms.Label();
- this.groupBoxBinary = new System.Windows.Forms.GroupBox();
- this.checkBoxOverwrite = new System.Windows.Forms.CheckBox();
- this.groupBoxRegExReplace = new System.Windows.Forms.GroupBox();
- this.labelRegEx = new System.Windows.Forms.Label();
- this.textBoxRegexReplacement = new System.Windows.Forms.TextBox();
+ textBoxDateSeparator = new System.Windows.Forms.TextBox();
+ bindingSourceValueFormat = new System.Windows.Forms.BindingSource(components);
+ buttonAddFormat = new System.Windows.Forms.Button();
+ labelAllowedDateFormats = new System.Windows.Forms.Label();
+ checkedListBoxDateFormats = new System.Windows.Forms.CheckedListBox();
+ comboBoxTimePart = new System.Windows.Forms.ComboBox();
+ columnBindingSource = new System.Windows.Forms.BindingSource(components);
+ textBoxTimeSeparator = new System.Windows.Forms.TextBox();
+ comboBoxTimeZone = new System.Windows.Forms.ComboBox();
+ labelInput = new System.Windows.Forms.Label();
+ labelSampleDisplay = new System.Windows.Forms.Label();
+ labelDateOutputDisplay = new System.Windows.Forms.Label();
+ labelNote = new System.Windows.Forms.Label();
+ labelInputTZ = new System.Windows.Forms.Label();
+ labelOutPutTZ = new System.Windows.Forms.Label();
+ comboBoxTPFormat = new System.Windows.Forms.ComboBox();
+ textBoxDateFormat = new System.Windows.Forms.TextBox();
+ labelNoteConversion = new System.Windows.Forms.Label();
+ comboBoxDataType = new System.Windows.Forms.ComboBox();
+ buttonCancel = new System.Windows.Forms.Button();
+ labelColName = new System.Windows.Forms.Label();
+ comboBoxColumnName = new System.Windows.Forms.ComboBox();
+ buttonGuess = new System.Windows.Forms.Button();
+ checkBoxIgnore = new System.Windows.Forms.CheckBox();
+ textBoxColumnName = new System.Windows.Forms.TextBox();
+ errorProvider = new System.Windows.Forms.ErrorProvider(components);
+ toolTip = new System.Windows.Forms.ToolTip(components);
+ buttonDisplayValues = new System.Windows.Forms.Button();
+ textBoxReadFolder = new System.Windows.Forms.TextBox();
+ textBoxWriteFolder = new System.Windows.Forms.TextBox();
+ textBoxPattern = new System.Windows.Forms.TextBox();
+ textBoxRegexSearchPattern = new System.Windows.Forms.TextBox();
+ textBoxDisplayNullAs = new System.Windows.Forms.TextBox();
+ buttonOK = new System.Windows.Forms.Button();
+ panelTop = new System.Windows.Forms.Panel();
+ labelDisplayNullAs = new System.Windows.Forms.Label();
+ panelBottom = new System.Windows.Forms.Panel();
+ flowLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
+ groupBoxDate = new System.Windows.Forms.GroupBox();
+ groupBoxNumber = new System.Windows.Forms.GroupBox();
+ linkLabelRegionLanguage = new System.Windows.Forms.LinkLabel();
+ comboBoxNumberFormat = new System.Windows.Forms.ComboBox();
+ labelNumValue = new System.Windows.Forms.Label();
+ labelNumberOutput = new System.Windows.Forms.Label();
+ labelNumberFormat = new System.Windows.Forms.Label();
+ textBoxDecimalSeparator = new System.Windows.Forms.TextBox();
+ textBoxGroupSeparator = new System.Windows.Forms.TextBox();
+ labelNumber = new System.Windows.Forms.Label();
+ groupBoxBoolean = new System.Windows.Forms.GroupBox();
+ textBoxTrue = new System.Windows.Forms.TextBox();
+ textBoxFalse = new System.Windows.Forms.TextBox();
+ groupBoxSplit = new System.Windows.Forms.GroupBox();
+ numericUpDownPart = new System.Windows.Forms.NumericUpDown();
+ labelSamplePart = new System.Windows.Forms.Label();
+ checkBoxPartToEnd = new System.Windows.Forms.CheckBox();
+ textBoxSplit = new System.Windows.Forms.TextBox();
+ labelResultPart = new System.Windows.Forms.Label();
+ groupBoxBinary = new System.Windows.Forms.GroupBox();
+ checkBoxOverwrite = new System.Windows.Forms.CheckBox();
+ groupBoxRegExReplace = new System.Windows.Forms.GroupBox();
+ labelRegEx = new System.Windows.Forms.Label();
+ textBoxRegexReplacement = new System.Windows.Forms.TextBox();
labelGroup = new System.Windows.Forms.Label();
labelPoint = new System.Windows.Forms.Label();
labelTrue = new System.Windows.Forms.Label();
@@ -137,20 +138,20 @@ private void InitializeComponent()
labelSample = new System.Windows.Forms.Label();
labelTCFormat = new System.Windows.Forms.Label();
tableLayoutPanel2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bindingSourceValueFormat)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.columnBindingSource)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
- this.panelTop.SuspendLayout();
- this.panelBottom.SuspendLayout();
- this.flowLayoutPanel.SuspendLayout();
- this.groupBoxDate.SuspendLayout();
- this.groupBoxNumber.SuspendLayout();
- this.groupBoxBoolean.SuspendLayout();
- this.groupBoxSplit.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPart)).BeginInit();
- this.groupBoxBinary.SuspendLayout();
- this.groupBoxRegExReplace.SuspendLayout();
- this.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize) bindingSourceValueFormat).BeginInit();
+ ((System.ComponentModel.ISupportInitialize) columnBindingSource).BeginInit();
+ ((System.ComponentModel.ISupportInitialize) errorProvider).BeginInit();
+ panelTop.SuspendLayout();
+ panelBottom.SuspendLayout();
+ flowLayoutPanel.SuspendLayout();
+ groupBoxDate.SuspendLayout();
+ groupBoxNumber.SuspendLayout();
+ groupBoxBoolean.SuspendLayout();
+ groupBoxSplit.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize) numericUpDownPart).BeginInit();
+ groupBoxBinary.SuspendLayout();
+ groupBoxRegExReplace.SuspendLayout();
+ SuspendLayout();
//
// labelGroup
//
@@ -196,8 +197,7 @@ private void InitializeComponent()
//
// labelSepBy
//
- labelSepBy.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ labelSepBy.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
labelSepBy.AutoSize = true;
labelSepBy.Location = new System.Drawing.Point(38, 19);
labelSepBy.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
@@ -209,8 +209,7 @@ private void InitializeComponent()
//
// labelPart
//
- labelPart.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ labelPart.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
labelPart.AutoSize = true;
labelPart.Location = new System.Drawing.Point(77, 44);
labelPart.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
@@ -252,8 +251,7 @@ private void InitializeComponent()
//
// labelReplace
//
- labelReplace.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ labelReplace.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
labelReplace.AutoSize = true;
labelReplace.Location = new System.Drawing.Point(59, 47);
labelReplace.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
@@ -265,8 +263,7 @@ private void InitializeComponent()
//
// labelSPattern
//
- labelSPattern.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
+ labelSPattern.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
labelSPattern.AutoSize = true;
labelSPattern.Location = new System.Drawing.Point(25, 22);
labelSPattern.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
@@ -278,43 +275,43 @@ private void InitializeComponent()
//
// tableLayoutPanel2
//
- tableLayoutPanel2.AutoSize = true;
tableLayoutPanel2.ColumnCount = 7;
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
- tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 38F));
- tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 95F));
- tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 38F));
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
- tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
- tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
tableLayoutPanel2.Controls.Add(labelDateSep, 0, 0);
- tableLayoutPanel2.Controls.Add(this.textBoxDateSeparator, 1, 0);
- tableLayoutPanel2.Controls.Add(this.buttonAddFormat, 4, 7);
- tableLayoutPanel2.Controls.Add(this.labelAllowedDateFormats, 0, 3);
- tableLayoutPanel2.Controls.Add(this.checkedListBoxDateFormats, 1, 3);
+ tableLayoutPanel2.Controls.Add(textBoxDateSeparator, 1, 0);
+ tableLayoutPanel2.Controls.Add(buttonAddFormat, 4, 8);
+ tableLayoutPanel2.Controls.Add(labelAllowedDateFormats, 0, 3);
+ tableLayoutPanel2.Controls.Add(checkedListBoxDateFormats, 1, 3);
tableLayoutPanel2.Controls.Add(labelTimeCol, 0, 2);
- tableLayoutPanel2.Controls.Add(this.comboBoxTimePart, 1, 2);
+ tableLayoutPanel2.Controls.Add(comboBoxTimePart, 1, 2);
tableLayoutPanel2.Controls.Add(labelTimeSep, 2, 0);
- tableLayoutPanel2.Controls.Add(this.textBoxTimeSeparator, 3, 0);
+ tableLayoutPanel2.Controls.Add(textBoxTimeSeparator, 3, 0);
tableLayoutPanel2.Controls.Add(labelTimeZone, 0, 1);
- tableLayoutPanel2.Controls.Add(this.comboBoxTimeZone, 1, 1);
- tableLayoutPanel2.Controls.Add(labelLessCommon, 0, 7);
- tableLayoutPanel2.Controls.Add(linkLabelRegion, 4, 6);
+ tableLayoutPanel2.Controls.Add(comboBoxTimeZone, 1, 1);
+ tableLayoutPanel2.Controls.Add(labelLessCommon, 0, 8);
+ tableLayoutPanel2.Controls.Add(linkLabelRegion, 4, 7);
tableLayoutPanel2.Controls.Add(labelDateOutput, 4, 5);
- tableLayoutPanel2.Controls.Add(this.labelInput, 4, 4);
+ tableLayoutPanel2.Controls.Add(labelInput, 4, 4);
tableLayoutPanel2.Controls.Add(labelValue, 4, 3);
tableLayoutPanel2.Controls.Add(labelSample, 5, 3);
- tableLayoutPanel2.Controls.Add(this.labelSampleDisplay, 5, 4);
- tableLayoutPanel2.Controls.Add(this.labelDateOutputDisplay, 5, 5);
- tableLayoutPanel2.Controls.Add(this.labelNote, 4, 1);
- tableLayoutPanel2.Controls.Add(this.labelInputTZ, 6, 4);
- tableLayoutPanel2.Controls.Add(this.labelOutPutTZ, 6, 5);
+ tableLayoutPanel2.Controls.Add(labelSampleDisplay, 5, 4);
+ tableLayoutPanel2.Controls.Add(labelDateOutputDisplay, 5, 5);
+ tableLayoutPanel2.Controls.Add(labelNote, 4, 1);
+ tableLayoutPanel2.Controls.Add(labelInputTZ, 6, 4);
+ tableLayoutPanel2.Controls.Add(labelOutPutTZ, 6, 5);
tableLayoutPanel2.Controls.Add(labelTCFormat, 4, 2);
- tableLayoutPanel2.Controls.Add(this.comboBoxTPFormat, 5, 2);
- tableLayoutPanel2.Controls.Add(this.textBoxDateFormat, 1, 7);
+ tableLayoutPanel2.Controls.Add(comboBoxTPFormat, 5, 2);
+ tableLayoutPanel2.Controls.Add(textBoxDateFormat, 1, 8);
+ tableLayoutPanel2.Controls.Add(labelNoteConversion, 4, 6);
tableLayoutPanel2.Location = new System.Drawing.Point(0, 14);
tableLayoutPanel2.Name = "tableLayoutPanel2";
- tableLayoutPanel2.RowCount = 8;
+ tableLayoutPanel2.RowCount = 9;
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
@@ -323,7 +320,8 @@ private void InitializeComponent()
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- tableLayoutPanel2.Size = new System.Drawing.Size(616, 274);
+ tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F));
+ tableLayoutPanel2.Size = new System.Drawing.Size(616, 255);
tableLayoutPanel2.TabIndex = 17;
//
// labelDateSep
@@ -339,55 +337,55 @@ private void InitializeComponent()
//
// textBoxDateSeparator
//
- this.textBoxDateSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "DateSeparator", true));
- this.textBoxDateSeparator.Location = new System.Drawing.Point(113, 3);
- this.textBoxDateSeparator.Name = "textBoxDateSeparator";
- this.textBoxDateSeparator.Size = new System.Drawing.Size(28, 20);
- this.textBoxDateSeparator.TabIndex = 0;
- this.toolTip.SetToolTip(this.textBoxDateSeparator, "Separates the components of a date, that is, the year, month, and day");
- this.textBoxDateSeparator.TextChanged += new System.EventHandler(this.DateFormatChanged);
+ textBoxDateSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "DateSeparator", true));
+ textBoxDateSeparator.Location = new System.Drawing.Point(113, 3);
+ textBoxDateSeparator.Name = "textBoxDateSeparator";
+ textBoxDateSeparator.Size = new System.Drawing.Size(35, 20);
+ textBoxDateSeparator.TabIndex = 0;
+ toolTip.SetToolTip(textBoxDateSeparator, "Separates the components of a date, that is, the year, month, and day");
+ textBoxDateSeparator.TextChanged += DateFormatChanged;
//
// bindingSourceValueFormat
//
- this.bindingSourceValueFormat.AllowNew = false;
- this.bindingSourceValueFormat.DataSource = typeof(CsvTools.ValueFormatMut);
+ bindingSourceValueFormat.AllowNew = false;
+ bindingSourceValueFormat.DataSource = typeof(ValueFormatMut);
//
// buttonAddFormat
//
- tableLayoutPanel2.SetColumnSpan(this.buttonAddFormat, 2);
- this.buttonAddFormat.Location = new System.Drawing.Point(284, 246);
- this.buttonAddFormat.Name = "buttonAddFormat";
- this.buttonAddFormat.Size = new System.Drawing.Size(103, 25);
- this.buttonAddFormat.TabIndex = 7;
- this.buttonAddFormat.Text = "Add to List";
- this.toolTip.SetToolTip(this.buttonAddFormat, "Add the selected uncommon date/time format to the checked list box");
- this.buttonAddFormat.UseVisualStyleBackColor = true;
- this.buttonAddFormat.Click += new System.EventHandler(this.ButtonAddFormat_Click);
+ tableLayoutPanel2.SetColumnSpan(buttonAddFormat, 2);
+ buttonAddFormat.Location = new System.Drawing.Point(284, 231);
+ buttonAddFormat.Name = "buttonAddFormat";
+ buttonAddFormat.Size = new System.Drawing.Size(103, 21);
+ buttonAddFormat.TabIndex = 7;
+ buttonAddFormat.Text = "Add to List";
+ toolTip.SetToolTip(buttonAddFormat, "Add the selected uncommon date/time format to the checked list box");
+ buttonAddFormat.UseVisualStyleBackColor = true;
+ buttonAddFormat.Click += ButtonAddFormat_Click;
//
// labelAllowedDateFormats
//
- this.labelAllowedDateFormats.Anchor = System.Windows.Forms.AnchorStyles.Right;
- this.labelAllowedDateFormats.AutoSize = true;
- this.labelAllowedDateFormats.Location = new System.Drawing.Point(28, 83);
- this.labelAllowedDateFormats.Margin = new System.Windows.Forms.Padding(3);
- this.labelAllowedDateFormats.Name = "labelAllowedDateFormats";
- this.labelAllowedDateFormats.Size = new System.Drawing.Size(79, 13);
- this.labelAllowedDateFormats.TabIndex = 9;
- this.labelAllowedDateFormats.Text = "Date Format(s):";
+ labelAllowedDateFormats.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ labelAllowedDateFormats.AutoSize = true;
+ labelAllowedDateFormats.Location = new System.Drawing.Point(28, 83);
+ labelAllowedDateFormats.Margin = new System.Windows.Forms.Padding(3);
+ labelAllowedDateFormats.Name = "labelAllowedDateFormats";
+ labelAllowedDateFormats.Size = new System.Drawing.Size(79, 13);
+ labelAllowedDateFormats.TabIndex = 9;
+ labelAllowedDateFormats.Text = "Date Format(s):";
//
// checkedListBoxDateFormats
//
- tableLayoutPanel2.SetColumnSpan(this.checkedListBoxDateFormats, 3);
- this.checkedListBoxDateFormats.Dock = System.Windows.Forms.DockStyle.Fill;
- this.checkedListBoxDateFormats.FormattingEnabled = true;
- this.checkedListBoxDateFormats.Location = new System.Drawing.Point(113, 83);
- this.checkedListBoxDateFormats.Name = "checkedListBoxDateFormats";
- tableLayoutPanel2.SetRowSpan(this.checkedListBoxDateFormats, 4);
- this.checkedListBoxDateFormats.Size = new System.Drawing.Size(165, 157);
- this.checkedListBoxDateFormats.TabIndex = 5;
- this.toolTip.SetToolTip(this.checkedListBoxDateFormats, "Common Date/Time formats, you can choose multiple");
- this.checkedListBoxDateFormats.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.CheckedListBoxDateFormats_ItemCheck);
- this.checkedListBoxDateFormats.SelectedIndexChanged += new System.EventHandler(this.CheckedListBoxDateFormats_SelectedIndexChanged);
+ tableLayoutPanel2.SetColumnSpan(checkedListBoxDateFormats, 3);
+ checkedListBoxDateFormats.Dock = System.Windows.Forms.DockStyle.Fill;
+ checkedListBoxDateFormats.FormattingEnabled = true;
+ checkedListBoxDateFormats.Location = new System.Drawing.Point(113, 83);
+ checkedListBoxDateFormats.Name = "checkedListBoxDateFormats";
+ tableLayoutPanel2.SetRowSpan(checkedListBoxDateFormats, 5);
+ checkedListBoxDateFormats.Size = new System.Drawing.Size(165, 142);
+ checkedListBoxDateFormats.TabIndex = 5;
+ toolTip.SetToolTip(checkedListBoxDateFormats, "Common Date/Time formats, you can choose multiple");
+ checkedListBoxDateFormats.ItemCheck += CheckedListBoxDateFormats_ItemCheck;
+ checkedListBoxDateFormats.SelectedIndexChanged += CheckedListBoxDateFormats_SelectedIndexChanged;
//
// labelTimeCol
//
@@ -402,29 +400,28 @@ private void InitializeComponent()
//
// comboBoxTimePart
//
- this.comboBoxTimePart.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
- tableLayoutPanel2.SetColumnSpan(this.comboBoxTimePart, 3);
- this.comboBoxTimePart.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.columnBindingSource, "TimePart", true));
- this.comboBoxTimePart.Dock = System.Windows.Forms.DockStyle.Top;
- this.comboBoxTimePart.FormattingEnabled = true;
- this.comboBoxTimePart.Location = new System.Drawing.Point(113, 56);
- this.comboBoxTimePart.Name = "comboBoxTimePart";
- this.comboBoxTimePart.Size = new System.Drawing.Size(165, 21);
- this.comboBoxTimePart.TabIndex = 1;
- this.toolTip.SetToolTip(this.comboBoxTimePart, "Combining a time column will result in a combination of the column and the select" +
- "ed time column\r\ne.G “17/Aug/2019” & “17:54” will become “17/Aug/2019 17:54”\r\n");
- this.comboBoxTimePart.TextChanged += new System.EventHandler(this.DateFormatChanged);
+ comboBoxTimePart.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
+ tableLayoutPanel2.SetColumnSpan(comboBoxTimePart, 3);
+ comboBoxTimePart.DataBindings.Add(new System.Windows.Forms.Binding("Text", columnBindingSource, "TimePart", true));
+ comboBoxTimePart.Dock = System.Windows.Forms.DockStyle.Top;
+ comboBoxTimePart.FormattingEnabled = true;
+ comboBoxTimePart.Location = new System.Drawing.Point(113, 56);
+ comboBoxTimePart.Name = "comboBoxTimePart";
+ comboBoxTimePart.Size = new System.Drawing.Size(165, 21);
+ comboBoxTimePart.TabIndex = 1;
+ toolTip.SetToolTip(comboBoxTimePart, "Combining a time column will result in a combination of the column and the selected time column\r\ne.G “17/Aug/2019” & “17:54” will become “17/Aug/2019 17:54”\r\n");
+ comboBoxTimePart.TextChanged += DateFormatChanged;
//
// columnBindingSource
//
- this.columnBindingSource.AllowNew = false;
- this.columnBindingSource.DataSource = typeof(CsvTools.ColumnMut);
+ columnBindingSource.AllowNew = false;
+ columnBindingSource.DataSource = typeof(ColumnMut);
//
// labelTimeSep
//
labelTimeSep.Anchor = System.Windows.Forms.AnchorStyles.Right;
labelTimeSep.AutoSize = true;
- labelTimeSep.Location = new System.Drawing.Point(159, 6);
+ labelTimeSep.Location = new System.Drawing.Point(153, 6);
labelTimeSep.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
labelTimeSep.Name = "labelTimeSep";
labelTimeSep.Size = new System.Drawing.Size(82, 13);
@@ -433,13 +430,13 @@ private void InitializeComponent()
//
// textBoxTimeSeparator
//
- this.textBoxTimeSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "TimeSeparator", true));
- this.textBoxTimeSeparator.Location = new System.Drawing.Point(246, 3);
- this.textBoxTimeSeparator.Name = "textBoxTimeSeparator";
- this.textBoxTimeSeparator.Size = new System.Drawing.Size(28, 20);
- this.textBoxTimeSeparator.TabIndex = 3;
- this.toolTip.SetToolTip(this.textBoxTimeSeparator, "Separates the components of time, that is, the hour, minutes, and seconds.");
- this.textBoxTimeSeparator.TextChanged += new System.EventHandler(this.DateFormatChanged);
+ textBoxTimeSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "TimeSeparator", true));
+ textBoxTimeSeparator.Location = new System.Drawing.Point(240, 3);
+ textBoxTimeSeparator.Name = "textBoxTimeSeparator";
+ textBoxTimeSeparator.Size = new System.Drawing.Size(35, 20);
+ textBoxTimeSeparator.TabIndex = 3;
+ toolTip.SetToolTip(textBoxTimeSeparator, "Separates the components of time, that is, the hour, minutes, and seconds.");
+ textBoxTimeSeparator.TextChanged += DateFormatChanged;
//
// labelTimeZone
//
@@ -454,21 +451,21 @@ private void InitializeComponent()
//
// comboBoxTimeZone
//
- tableLayoutPanel2.SetColumnSpan(this.comboBoxTimeZone, 3);
- this.comboBoxTimeZone.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.columnBindingSource, "TimeZonePart", true));
- this.comboBoxTimeZone.Dock = System.Windows.Forms.DockStyle.Top;
- this.comboBoxTimeZone.FormattingEnabled = true;
- this.comboBoxTimeZone.Location = new System.Drawing.Point(113, 29);
- this.comboBoxTimeZone.Name = "comboBoxTimeZone";
- this.comboBoxTimeZone.Size = new System.Drawing.Size(165, 21);
- this.comboBoxTimeZone.TabIndex = 4;
- this.comboBoxTimeZone.TextChanged += new System.EventHandler(this.DateFormatChanged);
+ tableLayoutPanel2.SetColumnSpan(comboBoxTimeZone, 3);
+ comboBoxTimeZone.DataBindings.Add(new System.Windows.Forms.Binding("Text", columnBindingSource, "TimeZonePart", true));
+ comboBoxTimeZone.Dock = System.Windows.Forms.DockStyle.Top;
+ comboBoxTimeZone.FormattingEnabled = true;
+ comboBoxTimeZone.Location = new System.Drawing.Point(113, 29);
+ comboBoxTimeZone.Name = "comboBoxTimeZone";
+ comboBoxTimeZone.Size = new System.Drawing.Size(165, 21);
+ comboBoxTimeZone.TabIndex = 4;
+ comboBoxTimeZone.TextChanged += DateFormatChanged;
//
// labelLessCommon
//
labelLessCommon.Anchor = System.Windows.Forms.AnchorStyles.Right;
labelLessCommon.AutoSize = true;
- labelLessCommon.Location = new System.Drawing.Point(3, 252);
+ labelLessCommon.Location = new System.Drawing.Point(3, 235);
labelLessCommon.Margin = new System.Windows.Forms.Padding(3);
labelLessCommon.Name = "labelLessCommon";
labelLessCommon.Size = new System.Drawing.Size(104, 13);
@@ -480,18 +477,18 @@ private void InitializeComponent()
linkLabelRegion.Anchor = System.Windows.Forms.AnchorStyles.Left;
linkLabelRegion.AutoSize = true;
tableLayoutPanel2.SetColumnSpan(linkLabelRegion, 3);
- linkLabelRegion.Location = new System.Drawing.Point(284, 180);
+ linkLabelRegion.Location = new System.Drawing.Point(284, 186);
linkLabelRegion.Margin = new System.Windows.Forms.Padding(3);
linkLabelRegion.Name = "linkLabelRegion";
linkLabelRegion.Size = new System.Drawing.Size(130, 13);
linkLabelRegion.TabIndex = 14;
linkLabelRegion.TabStop = true;
linkLabelRegion.Text = "Open Region && Language";
- linkLabelRegion.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.RegionAndLanguageLinkClicked);
+ linkLabelRegion.LinkClicked += RegionAndLanguageLinkClicked;
//
// labelDateOutput
//
- labelDateOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ labelDateOutput.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
labelDateOutput.AutoSize = true;
labelDateOutput.ForeColor = System.Drawing.SystemColors.ControlText;
labelDateOutput.Location = new System.Drawing.Point(284, 115);
@@ -503,18 +500,18 @@ private void InitializeComponent()
//
// labelInput
//
- this.labelInput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.labelInput.AutoSize = true;
- this.labelInput.ForeColor = System.Drawing.SystemColors.ControlText;
- this.labelInput.Location = new System.Drawing.Point(292, 99);
- this.labelInput.Name = "labelInput";
- this.labelInput.Size = new System.Drawing.Size(34, 13);
- this.labelInput.TabIndex = 12;
- this.labelInput.Text = "Input:";
+ labelInput.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ labelInput.AutoSize = true;
+ labelInput.ForeColor = System.Drawing.SystemColors.ControlText;
+ labelInput.Location = new System.Drawing.Point(292, 99);
+ labelInput.Name = "labelInput";
+ labelInput.Size = new System.Drawing.Size(34, 13);
+ labelInput.TabIndex = 12;
+ labelInput.Text = "Input:";
//
// labelValue
//
- labelValue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ labelValue.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
labelValue.AutoSize = true;
labelValue.ForeColor = System.Drawing.SystemColors.ControlText;
labelValue.Location = new System.Drawing.Point(289, 83);
@@ -538,58 +535,58 @@ private void InitializeComponent()
//
// labelSampleDisplay
//
- this.labelSampleDisplay.AutoSize = true;
- this.labelSampleDisplay.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelSampleDisplay.Location = new System.Drawing.Point(332, 99);
- this.labelSampleDisplay.Name = "labelSampleDisplay";
- this.labelSampleDisplay.Size = new System.Drawing.Size(17, 13);
- this.labelSampleDisplay.TabIndex = 12;
- this.labelSampleDisplay.Text = "\"\"";
+ labelSampleDisplay.AutoSize = true;
+ labelSampleDisplay.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelSampleDisplay.Location = new System.Drawing.Point(332, 99);
+ labelSampleDisplay.Name = "labelSampleDisplay";
+ labelSampleDisplay.Size = new System.Drawing.Size(17, 13);
+ labelSampleDisplay.TabIndex = 12;
+ labelSampleDisplay.Text = "\"\"";
//
// labelDateOutputDisplay
//
- this.labelDateOutputDisplay.AutoSize = true;
- this.labelDateOutputDisplay.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelDateOutputDisplay.Location = new System.Drawing.Point(332, 115);
- this.labelDateOutputDisplay.Margin = new System.Windows.Forms.Padding(3);
- this.labelDateOutputDisplay.Name = "labelDateOutputDisplay";
- this.labelDateOutputDisplay.Size = new System.Drawing.Size(17, 13);
- this.labelDateOutputDisplay.TabIndex = 13;
- this.labelDateOutputDisplay.Text = "\"\"";
+ labelDateOutputDisplay.AutoSize = true;
+ labelDateOutputDisplay.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelDateOutputDisplay.Location = new System.Drawing.Point(332, 115);
+ labelDateOutputDisplay.Margin = new System.Windows.Forms.Padding(3);
+ labelDateOutputDisplay.Name = "labelDateOutputDisplay";
+ labelDateOutputDisplay.Size = new System.Drawing.Size(17, 13);
+ labelDateOutputDisplay.TabIndex = 13;
+ labelDateOutputDisplay.Text = "\"\"";
//
// labelNote
//
- this.labelNote.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.labelNote.AutoSize = true;
- tableLayoutPanel2.SetColumnSpan(this.labelNote, 3);
- this.labelNote.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelNote.Location = new System.Drawing.Point(284, 33);
- this.labelNote.Margin = new System.Windows.Forms.Padding(3);
- this.labelNote.Name = "labelNote";
- this.labelNote.Size = new System.Drawing.Size(187, 13);
- this.labelNote.TabIndex = 11;
- this.labelNote.Text = "Note: Constants in quotes e.G. \"UTC\"";
+ labelNote.Anchor = System.Windows.Forms.AnchorStyles.Left;
+ labelNote.AutoSize = true;
+ tableLayoutPanel2.SetColumnSpan(labelNote, 3);
+ labelNote.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelNote.Location = new System.Drawing.Point(284, 33);
+ labelNote.Margin = new System.Windows.Forms.Padding(3);
+ labelNote.Name = "labelNote";
+ labelNote.Size = new System.Drawing.Size(187, 13);
+ labelNote.TabIndex = 11;
+ labelNote.Text = "Note: Constants in quotes e.G. \"UTC\"";
//
// labelInputTZ
//
- this.labelInputTZ.AutoSize = true;
- this.labelInputTZ.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelInputTZ.Location = new System.Drawing.Point(475, 99);
- this.labelInputTZ.Name = "labelInputTZ";
- this.labelInputTZ.Size = new System.Drawing.Size(17, 13);
- this.labelInputTZ.TabIndex = 12;
- this.labelInputTZ.Text = "\"\"";
+ labelInputTZ.AutoSize = true;
+ labelInputTZ.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelInputTZ.Location = new System.Drawing.Point(393, 99);
+ labelInputTZ.Name = "labelInputTZ";
+ labelInputTZ.Size = new System.Drawing.Size(17, 13);
+ labelInputTZ.TabIndex = 12;
+ labelInputTZ.Text = "\"\"";
//
// labelOutPutTZ
//
- this.labelOutPutTZ.AutoSize = true;
- this.labelOutPutTZ.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelOutPutTZ.Location = new System.Drawing.Point(475, 115);
- this.labelOutPutTZ.Margin = new System.Windows.Forms.Padding(3);
- this.labelOutPutTZ.Name = "labelOutPutTZ";
- this.labelOutPutTZ.Size = new System.Drawing.Size(17, 13);
- this.labelOutPutTZ.TabIndex = 13;
- this.labelOutPutTZ.Text = "\"\"";
+ labelOutPutTZ.AutoSize = true;
+ labelOutPutTZ.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelOutPutTZ.Location = new System.Drawing.Point(393, 115);
+ labelOutPutTZ.Margin = new System.Windows.Forms.Padding(3);
+ labelOutPutTZ.Name = "labelOutPutTZ";
+ labelOutPutTZ.Size = new System.Drawing.Size(17, 13);
+ labelOutPutTZ.TabIndex = 13;
+ labelOutPutTZ.Text = "\"\"";
//
// labelTCFormat
//
@@ -604,603 +601,585 @@ private void InitializeComponent()
//
// comboBoxTPFormat
//
- tableLayoutPanel2.SetColumnSpan(this.comboBoxTPFormat, 2);
- this.comboBoxTPFormat.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.columnBindingSource, "TimePartFormat", true));
- this.comboBoxTPFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.comboBoxTPFormat.FormattingEnabled = true;
- this.comboBoxTPFormat.Location = new System.Drawing.Point(332, 56);
- this.comboBoxTPFormat.Name = "comboBoxTPFormat";
- this.comboBoxTPFormat.Size = new System.Drawing.Size(116, 21);
- this.comboBoxTPFormat.TabIndex = 2;
- this.toolTip.SetToolTip(this.comboBoxTPFormat, "Format of the time column");
- this.comboBoxTPFormat.SelectedIndexChanged += new System.EventHandler(this.ComboBoxTimePart_SelectedIndexChanged);
+ tableLayoutPanel2.SetColumnSpan(comboBoxTPFormat, 2);
+ comboBoxTPFormat.DataBindings.Add(new System.Windows.Forms.Binding("Text", columnBindingSource, "TimePartFormat", true));
+ comboBoxTPFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ comboBoxTPFormat.FormattingEnabled = true;
+ comboBoxTPFormat.Location = new System.Drawing.Point(332, 56);
+ comboBoxTPFormat.Name = "comboBoxTPFormat";
+ comboBoxTPFormat.Size = new System.Drawing.Size(116, 21);
+ comboBoxTPFormat.TabIndex = 2;
+ toolTip.SetToolTip(comboBoxTPFormat, "Format of the time column");
+ comboBoxTPFormat.SelectedIndexChanged += ComboBoxTimePart_SelectedIndexChanged;
//
// textBoxDateFormat
//
- tableLayoutPanel2.SetColumnSpan(this.textBoxDateFormat, 3);
- this.textBoxDateFormat.Dock = System.Windows.Forms.DockStyle.Top;
- this.textBoxDateFormat.Location = new System.Drawing.Point(113, 246);
- this.textBoxDateFormat.Name = "textBoxDateFormat";
- this.textBoxDateFormat.Size = new System.Drawing.Size(165, 20);
- this.textBoxDateFormat.TabIndex = 17;
+ tableLayoutPanel2.SetColumnSpan(textBoxDateFormat, 3);
+ textBoxDateFormat.Dock = System.Windows.Forms.DockStyle.Top;
+ textBoxDateFormat.Location = new System.Drawing.Point(113, 231);
+ textBoxDateFormat.Name = "textBoxDateFormat";
+ textBoxDateFormat.Size = new System.Drawing.Size(165, 20);
+ textBoxDateFormat.TabIndex = 17;
+ //
+ // labelNoteConversion
+ //
+ labelNoteConversion.AutoSize = true;
+ labelNoteConversion.BackColor = System.Drawing.SystemColors.Control;
+ tableLayoutPanel2.SetColumnSpan(labelNoteConversion, 3);
+ labelNoteConversion.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelNoteConversion.Location = new System.Drawing.Point(284, 131);
+ labelNoteConversion.Name = "labelNoteConversion";
+ labelNoteConversion.Size = new System.Drawing.Size(277, 26);
+ labelNoteConversion.TabIndex = 18;
+ labelNoteConversion.Text = "Note: Any timezone date will be converted and displayed \r\nin the current setup timezone";
//
// comboBoxDataType
//
- this.comboBoxDataType.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bindingSourceValueFormat, "DataType", true));
- this.comboBoxDataType.DisplayMember = "Display";
- this.comboBoxDataType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.comboBoxDataType.FormattingEnabled = true;
- this.comboBoxDataType.Location = new System.Drawing.Point(325, 3);
- this.comboBoxDataType.Name = "comboBoxDataType";
- this.comboBoxDataType.Size = new System.Drawing.Size(174, 21);
- this.comboBoxDataType.TabIndex = 2;
- this.comboBoxDataType.ValueMember = "ID";
- this.comboBoxDataType.SelectedIndexChanged += new System.EventHandler(this.ComboBoxDataType_SelectedIndexChanged);
+ comboBoxDataType.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", bindingSourceValueFormat, "DataType", true));
+ comboBoxDataType.DisplayMember = "Display";
+ comboBoxDataType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ comboBoxDataType.FormattingEnabled = true;
+ comboBoxDataType.Location = new System.Drawing.Point(325, 3);
+ comboBoxDataType.Name = "comboBoxDataType";
+ comboBoxDataType.Size = new System.Drawing.Size(174, 21);
+ comboBoxDataType.TabIndex = 2;
+ comboBoxDataType.ValueMember = "ID";
+ comboBoxDataType.SelectedIndexChanged += ComboBoxDataType_SelectedIndexChanged;
//
// buttonCancel
//
- this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- this.buttonCancel.Location = new System.Drawing.Point(541, 3);
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.Size = new System.Drawing.Size(83, 25);
- this.buttonCancel.TabIndex = 4;
- this.buttonCancel.Text = "&Cancel";
- this.buttonCancel.UseVisualStyleBackColor = true;
+ buttonCancel.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ buttonCancel.Location = new System.Drawing.Point(541, 3);
+ buttonCancel.Name = "buttonCancel";
+ buttonCancel.Size = new System.Drawing.Size(83, 25);
+ buttonCancel.TabIndex = 4;
+ buttonCancel.Text = "&Cancel";
+ buttonCancel.UseVisualStyleBackColor = true;
//
// labelColName
//
- this.labelColName.AutoSize = true;
- this.labelColName.Location = new System.Drawing.Point(3, 6);
- this.labelColName.Margin = new System.Windows.Forms.Padding(3);
- this.labelColName.Name = "labelColName";
- this.labelColName.Size = new System.Drawing.Size(76, 13);
- this.labelColName.TabIndex = 0;
- this.labelColName.Text = "Column Name:";
+ labelColName.AutoSize = true;
+ labelColName.Location = new System.Drawing.Point(3, 6);
+ labelColName.Margin = new System.Windows.Forms.Padding(3);
+ labelColName.Name = "labelColName";
+ labelColName.Size = new System.Drawing.Size(76, 13);
+ labelColName.TabIndex = 0;
+ labelColName.Text = "Column Name:";
//
// comboBoxColumnName
//
- this.comboBoxColumnName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.columnBindingSource, "Name", true));
- this.comboBoxColumnName.FormattingEnabled = true;
- this.comboBoxColumnName.Location = new System.Drawing.Point(83, 3);
- this.comboBoxColumnName.Name = "comboBoxColumnName";
- this.comboBoxColumnName.Size = new System.Drawing.Size(238, 21);
- this.comboBoxColumnName.TabIndex = 1;
- this.comboBoxColumnName.SelectedIndexChanged += new System.EventHandler(this.ComboBoxColumnName_SelectedIndexChanged);
- this.comboBoxColumnName.TextUpdate += new System.EventHandler(this.ComboBoxColumnName_TextUpdate);
+ comboBoxColumnName.DataBindings.Add(new System.Windows.Forms.Binding("Text", columnBindingSource, "Name", true));
+ comboBoxColumnName.FormattingEnabled = true;
+ comboBoxColumnName.Location = new System.Drawing.Point(83, 3);
+ comboBoxColumnName.Name = "comboBoxColumnName";
+ comboBoxColumnName.Size = new System.Drawing.Size(238, 21);
+ comboBoxColumnName.TabIndex = 1;
+ comboBoxColumnName.SelectedIndexChanged += ComboBoxColumnName_SelectedIndexChanged;
+ comboBoxColumnName.TextUpdate += ComboBoxColumnName_TextUpdate;
//
// buttonGuess
//
- this.buttonGuess.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.buttonGuess.Location = new System.Drawing.Point(110, 3);
- this.buttonGuess.Name = "buttonGuess";
- this.buttonGuess.Size = new System.Drawing.Size(103, 25);
- this.buttonGuess.TabIndex = 2;
- this.buttonGuess.Text = "&Guess";
- this.toolTip.SetToolTip(this.buttonGuess, "Read the content of the source and try and find a matching format\r\nNote: Any colu" +
- "mn that has possible alignment issues will be ignored\r\n");
- this.buttonGuess.UseVisualStyleBackColor = true;
- this.buttonGuess.Click += new System.EventHandler(this.ButtonGuessClick);
+ buttonGuess.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ buttonGuess.Location = new System.Drawing.Point(110, 3);
+ buttonGuess.Name = "buttonGuess";
+ buttonGuess.Size = new System.Drawing.Size(103, 25);
+ buttonGuess.TabIndex = 2;
+ buttonGuess.Text = "&Guess";
+ toolTip.SetToolTip(buttonGuess, "Read the content of the source and try and find a matching format\r\nNote: Any column that has possible alignment issues will be ignored\r\n");
+ buttonGuess.UseVisualStyleBackColor = true;
+ buttonGuess.Click += ButtonGuessClick;
//
// checkBoxIgnore
//
- this.checkBoxIgnore.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.columnBindingSource, "Ignore", true));
- this.checkBoxIgnore.Location = new System.Drawing.Point(83, 27);
- this.checkBoxIgnore.Name = "checkBoxIgnore";
- this.checkBoxIgnore.Size = new System.Drawing.Size(103, 20);
- this.checkBoxIgnore.TabIndex = 3;
- this.checkBoxIgnore.Text = "&Ignore";
- this.checkBoxIgnore.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
- this.toolTip.SetToolTip(this.checkBoxIgnore, "Ignore the content do not display/import this column");
- this.checkBoxIgnore.UseVisualStyleBackColor = true;
- this.checkBoxIgnore.Visible = false;
+ checkBoxIgnore.DataBindings.Add(new System.Windows.Forms.Binding("Checked", columnBindingSource, "Ignore", true));
+ checkBoxIgnore.Location = new System.Drawing.Point(83, 27);
+ checkBoxIgnore.Name = "checkBoxIgnore";
+ checkBoxIgnore.Size = new System.Drawing.Size(103, 20);
+ checkBoxIgnore.TabIndex = 3;
+ checkBoxIgnore.Text = "&Ignore";
+ checkBoxIgnore.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
+ toolTip.SetToolTip(checkBoxIgnore, "Ignore the content do not display/import this column");
+ checkBoxIgnore.UseVisualStyleBackColor = true;
+ checkBoxIgnore.Visible = false;
//
// textBoxColumnName
//
- this.textBoxColumnName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.columnBindingSource, "Name", true));
- this.textBoxColumnName.Dock = System.Windows.Forms.DockStyle.Top;
- this.textBoxColumnName.Location = new System.Drawing.Point(85, 3);
- this.textBoxColumnName.Name = "textBoxColumnName";
- this.textBoxColumnName.ReadOnly = true;
- this.textBoxColumnName.Size = new System.Drawing.Size(160, 20);
- this.textBoxColumnName.TabIndex = 0;
- this.textBoxColumnName.WordWrap = false;
+ textBoxColumnName.DataBindings.Add(new System.Windows.Forms.Binding("Text", columnBindingSource, "Name", true));
+ textBoxColumnName.Dock = System.Windows.Forms.DockStyle.Top;
+ textBoxColumnName.Location = new System.Drawing.Point(85, 3);
+ textBoxColumnName.Name = "textBoxColumnName";
+ textBoxColumnName.ReadOnly = true;
+ textBoxColumnName.Size = new System.Drawing.Size(160, 20);
+ textBoxColumnName.TabIndex = 0;
+ textBoxColumnName.WordWrap = false;
//
// errorProvider
//
- this.errorProvider.ContainerControl = this;
+ errorProvider.ContainerControl = this;
//
// buttonDisplayValues
//
- this.buttonDisplayValues.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
- this.buttonDisplayValues.Location = new System.Drawing.Point(2, 3);
- this.buttonDisplayValues.Name = "buttonDisplayValues";
- this.buttonDisplayValues.Size = new System.Drawing.Size(104, 25);
- this.buttonDisplayValues.TabIndex = 1;
- this.buttonDisplayValues.Text = "Display &Values";
- this.toolTip.SetToolTip(this.buttonDisplayValues, "Read the content of the source and display the read values.\r\nNote: Any column tha" +
- "t has possible alignment issues will be ignored\r\n");
- this.buttonDisplayValues.UseVisualStyleBackColor = true;
- this.buttonDisplayValues.Click += new System.EventHandler(this.ButtonDisplayValues_ClickAsync);
+ buttonDisplayValues.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ buttonDisplayValues.Location = new System.Drawing.Point(2, 3);
+ buttonDisplayValues.Name = "buttonDisplayValues";
+ buttonDisplayValues.Size = new System.Drawing.Size(104, 25);
+ buttonDisplayValues.TabIndex = 1;
+ buttonDisplayValues.Text = "Display &Values";
+ toolTip.SetToolTip(buttonDisplayValues, "Read the content of the source and display the read values.\r\nNote: Any column that has possible alignment issues will be ignored\r\n");
+ buttonDisplayValues.UseVisualStyleBackColor = true;
+ buttonDisplayValues.Click += ButtonDisplayValues_ClickAsync;
//
// textBoxReadFolder
//
- this.textBoxReadFolder.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "ReadFolder", true));
- this.textBoxReadFolder.Location = new System.Drawing.Point(112, 18);
- this.textBoxReadFolder.Name = "textBoxReadFolder";
- this.textBoxReadFolder.Size = new System.Drawing.Size(238, 20);
- this.textBoxReadFolder.TabIndex = 6;
- this.toolTip.SetToolTip(this.textBoxReadFolder, "Folder to look for the files during the import");
+ textBoxReadFolder.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "ReadFolder", true));
+ textBoxReadFolder.Location = new System.Drawing.Point(112, 18);
+ textBoxReadFolder.Name = "textBoxReadFolder";
+ textBoxReadFolder.Size = new System.Drawing.Size(238, 20);
+ textBoxReadFolder.TabIndex = 6;
+ toolTip.SetToolTip(textBoxReadFolder, "Folder to look for the files during the import");
//
// textBoxWriteFolder
//
- this.textBoxWriteFolder.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "WriteFolder", true));
- this.textBoxWriteFolder.Location = new System.Drawing.Point(112, 44);
- this.textBoxWriteFolder.Name = "textBoxWriteFolder";
- this.textBoxWriteFolder.Size = new System.Drawing.Size(238, 20);
- this.textBoxWriteFolder.TabIndex = 4;
- this.toolTip.SetToolTip(this.textBoxWriteFolder, "As the data is written the files is sotored in this folder");
+ textBoxWriteFolder.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "WriteFolder", true));
+ textBoxWriteFolder.Location = new System.Drawing.Point(112, 44);
+ textBoxWriteFolder.Name = "textBoxWriteFolder";
+ textBoxWriteFolder.Size = new System.Drawing.Size(238, 20);
+ textBoxWriteFolder.TabIndex = 4;
+ toolTip.SetToolTip(textBoxWriteFolder, "As the data is written the files is sotored in this folder");
//
// textBoxPattern
//
- this.textBoxPattern.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "FileOutPutPlaceholder", true));
- this.textBoxPattern.Location = new System.Drawing.Point(113, 70);
- this.textBoxPattern.Name = "textBoxPattern";
- this.textBoxPattern.Size = new System.Drawing.Size(237, 20);
- this.textBoxPattern.TabIndex = 2;
- this.toolTip.SetToolTip(this.textBoxPattern, "Pattern for the file during write. if left empty the original file name is used, " +
- "you can use placeholders if data from other columns should be used to get a file" +
- "name. E.G. {UserID}.docx");
+ textBoxPattern.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "FileOutPutPlaceholder", true));
+ textBoxPattern.Location = new System.Drawing.Point(113, 70);
+ textBoxPattern.Name = "textBoxPattern";
+ textBoxPattern.Size = new System.Drawing.Size(237, 20);
+ textBoxPattern.TabIndex = 2;
+ toolTip.SetToolTip(textBoxPattern, "Pattern for the file during write. if left empty the original file name is used, you can use placeholders if data from other columns should be used to get a filename. E.G. {UserID}.docx");
//
// textBoxRegexSearchPattern
//
- this.textBoxRegexSearchPattern.AutoCompleteCustomSource.AddRange(new string[] {
- "(?#href)]*?\\s+)?\\s*href\\s*=((\\\"|\')(.*)\\2)\\s*?>[^>]*?<\\/a>",
- "(?#url)(https?:\\/\\/)[^[\\s)]*",
- "(?#email)([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,66})",
- "(?#file)(\\w{1}\\:{1}\\/{2})(\\w+\\/{1})+(\\w+\\.{1}\\w+){1}"});
- this.textBoxRegexSearchPattern.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
- this.textBoxRegexSearchPattern.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
- this.textBoxRegexSearchPattern.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "RegexSearchPattern", true));
- this.textBoxRegexSearchPattern.Location = new System.Drawing.Point(113, 19);
- this.textBoxRegexSearchPattern.Name = "textBoxRegexSearchPattern";
- this.textBoxRegexSearchPattern.Size = new System.Drawing.Size(239, 20);
- this.textBoxRegexSearchPattern.TabIndex = 7;
- this.toolTip.SetToolTip(this.textBoxRegexSearchPattern, "Regex Pattern to look for");
- this.textBoxRegexSearchPattern.Validating += new System.ComponentModel.CancelEventHandler(this.TextBoxRegexSearchPattern_Validating);
+ textBoxRegexSearchPattern.AutoCompleteCustomSource.AddRange(new string[] { "(?#href)]*?\\s+)?\\s*href\\s*=((\\\"|')(.*)\\2)\\s*?>[^>]*?<\\/a>", "(?#url)(https?:\\/\\/)[^[\\s)]*", "(?#email)([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,66})", "(?#file)(\\w{1}\\:{1}\\/{2})(\\w+\\/{1})+(\\w+\\.{1}\\w+){1}" });
+ textBoxRegexSearchPattern.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
+ textBoxRegexSearchPattern.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
+ textBoxRegexSearchPattern.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "RegexSearchPattern", true));
+ textBoxRegexSearchPattern.Location = new System.Drawing.Point(113, 19);
+ textBoxRegexSearchPattern.Name = "textBoxRegexSearchPattern";
+ textBoxRegexSearchPattern.Size = new System.Drawing.Size(239, 20);
+ textBoxRegexSearchPattern.TabIndex = 7;
+ toolTip.SetToolTip(textBoxRegexSearchPattern, "Regex Pattern to look for");
+ textBoxRegexSearchPattern.Validating += TextBoxRegexSearchPattern_Validating;
//
// textBoxDisplayNullAs
//
- this.textBoxDisplayNullAs.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "DisplayNullAs", true));
- this.textBoxDisplayNullAs.Location = new System.Drawing.Point(325, 27);
- this.textBoxDisplayNullAs.Name = "textBoxDisplayNullAs";
- this.textBoxDisplayNullAs.Size = new System.Drawing.Size(93, 20);
- this.textBoxDisplayNullAs.TabIndex = 11;
- this.toolTip.SetToolTip(this.textBoxDisplayNullAs, "Wrting data empty field (NULL) can be an empty column or represented by this text" +
- " \r\ne.G. ");
+ textBoxDisplayNullAs.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "DisplayNullAs", true));
+ textBoxDisplayNullAs.Location = new System.Drawing.Point(325, 27);
+ textBoxDisplayNullAs.Name = "textBoxDisplayNullAs";
+ textBoxDisplayNullAs.Size = new System.Drawing.Size(93, 20);
+ textBoxDisplayNullAs.TabIndex = 11;
+ toolTip.SetToolTip(textBoxDisplayNullAs, "Wrting data empty field (NULL) can be an empty column or represented by this text \r\ne.G. ");
//
// buttonOK
//
- this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
- this.buttonOK.Location = new System.Drawing.Point(454, 3);
- this.buttonOK.Name = "buttonOK";
- this.buttonOK.Size = new System.Drawing.Size(83, 25);
- this.buttonOK.TabIndex = 3;
- this.buttonOK.Text = "&Ok";
- this.buttonOK.UseVisualStyleBackColor = true;
+ buttonOK.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
+ buttonOK.Location = new System.Drawing.Point(454, 3);
+ buttonOK.Name = "buttonOK";
+ buttonOK.Size = new System.Drawing.Size(83, 25);
+ buttonOK.TabIndex = 3;
+ buttonOK.Text = "&Ok";
+ buttonOK.UseVisualStyleBackColor = true;
//
// panelTop
//
- this.panelTop.AutoSize = true;
- this.panelTop.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
- this.panelTop.BackColor = System.Drawing.SystemColors.Control;
- this.panelTop.Controls.Add(this.labelDisplayNullAs);
- this.panelTop.Controls.Add(this.textBoxDisplayNullAs);
- this.panelTop.Controls.Add(this.labelColName);
- this.panelTop.Controls.Add(this.comboBoxColumnName);
- this.panelTop.Controls.Add(this.comboBoxDataType);
- this.panelTop.Controls.Add(this.checkBoxIgnore);
- this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
- this.panelTop.Location = new System.Drawing.Point(0, 0);
- this.panelTop.Margin = new System.Windows.Forms.Padding(2);
- this.panelTop.Name = "panelTop";
- this.panelTop.Size = new System.Drawing.Size(627, 50);
- this.panelTop.TabIndex = 6;
+ panelTop.AutoSize = true;
+ panelTop.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ panelTop.BackColor = System.Drawing.SystemColors.Control;
+ panelTop.Controls.Add(labelDisplayNullAs);
+ panelTop.Controls.Add(textBoxDisplayNullAs);
+ panelTop.Controls.Add(labelColName);
+ panelTop.Controls.Add(comboBoxColumnName);
+ panelTop.Controls.Add(comboBoxDataType);
+ panelTop.Controls.Add(checkBoxIgnore);
+ panelTop.Dock = System.Windows.Forms.DockStyle.Top;
+ panelTop.Location = new System.Drawing.Point(0, 0);
+ panelTop.Margin = new System.Windows.Forms.Padding(2);
+ panelTop.Name = "panelTop";
+ panelTop.Size = new System.Drawing.Size(627, 50);
+ panelTop.TabIndex = 6;
//
// labelDisplayNullAs
//
- this.labelDisplayNullAs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.labelDisplayNullAs.AutoSize = true;
- this.labelDisplayNullAs.Location = new System.Drawing.Point(241, 30);
- this.labelDisplayNullAs.Margin = new System.Windows.Forms.Padding(3);
- this.labelDisplayNullAs.Name = "labelDisplayNullAs";
- this.labelDisplayNullAs.Size = new System.Drawing.Size(80, 13);
- this.labelDisplayNullAs.TabIndex = 12;
- this.labelDisplayNullAs.Text = "Write NULL as:";
+ labelDisplayNullAs.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
+ labelDisplayNullAs.AutoSize = true;
+ labelDisplayNullAs.Location = new System.Drawing.Point(241, 30);
+ labelDisplayNullAs.Margin = new System.Windows.Forms.Padding(3);
+ labelDisplayNullAs.Name = "labelDisplayNullAs";
+ labelDisplayNullAs.Size = new System.Drawing.Size(80, 13);
+ labelDisplayNullAs.TabIndex = 12;
+ labelDisplayNullAs.Text = "Write NULL as:";
//
// panelBottom
//
- this.panelBottom.Controls.Add(this.buttonOK);
- this.panelBottom.Controls.Add(this.buttonCancel);
- this.panelBottom.Controls.Add(this.buttonGuess);
- this.panelBottom.Controls.Add(this.buttonDisplayValues);
- this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panelBottom.Location = new System.Drawing.Point(0, 806);
- this.panelBottom.Margin = new System.Windows.Forms.Padding(2);
- this.panelBottom.Name = "panelBottom";
- this.panelBottom.Size = new System.Drawing.Size(627, 28);
- this.panelBottom.TabIndex = 7;
+ panelBottom.Controls.Add(buttonOK);
+ panelBottom.Controls.Add(buttonCancel);
+ panelBottom.Controls.Add(buttonGuess);
+ panelBottom.Controls.Add(buttonDisplayValues);
+ panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
+ panelBottom.Location = new System.Drawing.Point(0, 806);
+ panelBottom.Margin = new System.Windows.Forms.Padding(2);
+ panelBottom.Name = "panelBottom";
+ panelBottom.Size = new System.Drawing.Size(627, 28);
+ panelBottom.TabIndex = 7;
//
// flowLayoutPanel
//
- this.flowLayoutPanel.AutoSize = true;
- this.flowLayoutPanel.Controls.Add(this.groupBoxDate);
- this.flowLayoutPanel.Controls.Add(this.groupBoxNumber);
- this.flowLayoutPanel.Controls.Add(this.groupBoxBoolean);
- this.flowLayoutPanel.Controls.Add(this.groupBoxSplit);
- this.flowLayoutPanel.Controls.Add(this.groupBoxBinary);
- this.flowLayoutPanel.Controls.Add(this.groupBoxRegExReplace);
- this.flowLayoutPanel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
- this.flowLayoutPanel.Location = new System.Drawing.Point(0, 48);
- this.flowLayoutPanel.Name = "flowLayoutPanel";
- this.flowLayoutPanel.Size = new System.Drawing.Size(622, 758);
- this.flowLayoutPanel.TabIndex = 8;
- this.flowLayoutPanel.WrapContents = false;
+ flowLayoutPanel.Controls.Add(groupBoxDate);
+ flowLayoutPanel.Controls.Add(groupBoxNumber);
+ flowLayoutPanel.Controls.Add(groupBoxBoolean);
+ flowLayoutPanel.Controls.Add(groupBoxSplit);
+ flowLayoutPanel.Controls.Add(groupBoxBinary);
+ flowLayoutPanel.Controls.Add(groupBoxRegExReplace);
+ flowLayoutPanel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
+ flowLayoutPanel.Location = new System.Drawing.Point(0, 48);
+ flowLayoutPanel.Name = "flowLayoutPanel";
+ flowLayoutPanel.Size = new System.Drawing.Size(622, 758);
+ flowLayoutPanel.TabIndex = 8;
+ flowLayoutPanel.WrapContents = false;
//
// groupBoxDate
//
- this.groupBoxDate.Controls.Add(tableLayoutPanel2);
- this.groupBoxDate.Location = new System.Drawing.Point(3, 3);
- this.groupBoxDate.Name = "groupBoxDate";
- this.groupBoxDate.Padding = new System.Windows.Forms.Padding(0);
- this.groupBoxDate.Size = new System.Drawing.Size(616, 287);
- this.groupBoxDate.TabIndex = 15;
- this.groupBoxDate.TabStop = false;
- this.groupBoxDate.Text = "Date";
+ groupBoxDate.Controls.Add(tableLayoutPanel2);
+ groupBoxDate.Location = new System.Drawing.Point(3, 3);
+ groupBoxDate.Name = "groupBoxDate";
+ groupBoxDate.Padding = new System.Windows.Forms.Padding(0);
+ groupBoxDate.Size = new System.Drawing.Size(619, 287);
+ groupBoxDate.TabIndex = 15;
+ groupBoxDate.TabStop = false;
+ groupBoxDate.Text = "Date";
//
// groupBoxNumber
//
- this.groupBoxNumber.Controls.Add(this.linkLabelRegionLanguage);
- this.groupBoxNumber.Controls.Add(this.comboBoxNumberFormat);
- this.groupBoxNumber.Controls.Add(this.labelNumValue);
- this.groupBoxNumber.Controls.Add(this.labelNumberOutput);
- this.groupBoxNumber.Controls.Add(this.labelNumberFormat);
- this.groupBoxNumber.Controls.Add(labelGroup);
- this.groupBoxNumber.Controls.Add(this.textBoxDecimalSeparator);
- this.groupBoxNumber.Controls.Add(labelPoint);
- this.groupBoxNumber.Controls.Add(this.textBoxGroupSeparator);
- this.groupBoxNumber.Controls.Add(this.labelNumber);
- this.groupBoxNumber.Location = new System.Drawing.Point(3, 296);
- this.groupBoxNumber.Name = "groupBoxNumber";
- this.groupBoxNumber.Padding = new System.Windows.Forms.Padding(0);
- this.groupBoxNumber.Size = new System.Drawing.Size(616, 94);
- this.groupBoxNumber.TabIndex = 7;
- this.groupBoxNumber.TabStop = false;
- this.groupBoxNumber.Text = "Number";
- this.groupBoxNumber.Visible = false;
+ groupBoxNumber.Controls.Add(linkLabelRegionLanguage);
+ groupBoxNumber.Controls.Add(comboBoxNumberFormat);
+ groupBoxNumber.Controls.Add(labelNumValue);
+ groupBoxNumber.Controls.Add(labelNumberOutput);
+ groupBoxNumber.Controls.Add(labelNumberFormat);
+ groupBoxNumber.Controls.Add(labelGroup);
+ groupBoxNumber.Controls.Add(textBoxDecimalSeparator);
+ groupBoxNumber.Controls.Add(labelPoint);
+ groupBoxNumber.Controls.Add(textBoxGroupSeparator);
+ groupBoxNumber.Controls.Add(labelNumber);
+ groupBoxNumber.Location = new System.Drawing.Point(3, 296);
+ groupBoxNumber.Name = "groupBoxNumber";
+ groupBoxNumber.Padding = new System.Windows.Forms.Padding(0);
+ groupBoxNumber.Size = new System.Drawing.Size(616, 94);
+ groupBoxNumber.TabIndex = 7;
+ groupBoxNumber.TabStop = false;
+ groupBoxNumber.Text = "Number";
+ groupBoxNumber.Visible = false;
//
// linkLabelRegionLanguage
//
- this.linkLabelRegionLanguage.AutoSize = true;
- this.linkLabelRegionLanguage.Location = new System.Drawing.Point(173, 60);
- this.linkLabelRegionLanguage.Name = "linkLabelRegionLanguage";
- this.linkLabelRegionLanguage.Size = new System.Drawing.Size(130, 13);
- this.linkLabelRegionLanguage.TabIndex = 3;
- this.linkLabelRegionLanguage.TabStop = true;
- this.linkLabelRegionLanguage.Text = "Open Region && Language";
- this.linkLabelRegionLanguage.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.RegionAndLanguageLinkClicked);
+ linkLabelRegionLanguage.AutoSize = true;
+ linkLabelRegionLanguage.Location = new System.Drawing.Point(173, 60);
+ linkLabelRegionLanguage.Name = "linkLabelRegionLanguage";
+ linkLabelRegionLanguage.Size = new System.Drawing.Size(130, 13);
+ linkLabelRegionLanguage.TabIndex = 3;
+ linkLabelRegionLanguage.TabStop = true;
+ linkLabelRegionLanguage.Text = "Open Region && Language";
+ linkLabelRegionLanguage.LinkClicked += RegionAndLanguageLinkClicked;
//
// comboBoxNumberFormat
//
- this.comboBoxNumberFormat.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "NumberFormat", true));
- this.comboBoxNumberFormat.FormattingEnabled = true;
- this.comboBoxNumberFormat.Items.AddRange(new object[] {
- "0.#####",
- "0.00",
- "#,##0.##"});
- this.comboBoxNumberFormat.Location = new System.Drawing.Point(116, 18);
- this.comboBoxNumberFormat.Name = "comboBoxNumberFormat";
- this.comboBoxNumberFormat.Size = new System.Drawing.Size(162, 21);
- this.comboBoxNumberFormat.TabIndex = 0;
- this.comboBoxNumberFormat.TextChanged += new System.EventHandler(this.NumberFormatChanged);
+ comboBoxNumberFormat.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "NumberFormat", true));
+ comboBoxNumberFormat.FormattingEnabled = true;
+ comboBoxNumberFormat.Items.AddRange(new object[] { "0.#####", "0.00", "#,##0.##" });
+ comboBoxNumberFormat.Location = new System.Drawing.Point(116, 18);
+ comboBoxNumberFormat.Name = "comboBoxNumberFormat";
+ comboBoxNumberFormat.Size = new System.Drawing.Size(162, 21);
+ comboBoxNumberFormat.TabIndex = 0;
+ comboBoxNumberFormat.TextChanged += NumberFormatChanged;
//
// labelNumValue
//
- this.labelNumValue.AutoSize = true;
- this.labelNumValue.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelNumValue.Location = new System.Drawing.Point(297, 21);
- this.labelNumValue.Name = "labelNumValue";
- this.labelNumValue.Size = new System.Drawing.Size(95, 13);
- this.labelNumValue.TabIndex = 2;
- this.labelNumValue.Text = "Value: \"1234.567\"";
+ labelNumValue.AutoSize = true;
+ labelNumValue.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelNumValue.Location = new System.Drawing.Point(297, 21);
+ labelNumValue.Name = "labelNumValue";
+ labelNumValue.Size = new System.Drawing.Size(95, 13);
+ labelNumValue.TabIndex = 2;
+ labelNumValue.Text = "Value: \"1234.567\"";
//
// labelNumberOutput
//
- this.labelNumberOutput.AutoSize = true;
- this.labelNumberOutput.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelNumberOutput.Location = new System.Drawing.Point(297, 68);
- this.labelNumberOutput.Name = "labelNumberOutput";
- this.labelNumberOutput.Size = new System.Drawing.Size(55, 13);
- this.labelNumberOutput.TabIndex = 7;
- this.labelNumberOutput.Text = "Output: \"\"";
+ labelNumberOutput.AutoSize = true;
+ labelNumberOutput.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelNumberOutput.Location = new System.Drawing.Point(297, 68);
+ labelNumberOutput.Name = "labelNumberOutput";
+ labelNumberOutput.Size = new System.Drawing.Size(55, 13);
+ labelNumberOutput.TabIndex = 7;
+ labelNumberOutput.Text = "Output: \"\"";
//
// labelNumberFormat
//
- this.labelNumberFormat.AutoSize = true;
- this.labelNumberFormat.Location = new System.Drawing.Point(25, 21);
- this.labelNumberFormat.Name = "labelNumberFormat";
- this.labelNumberFormat.Size = new System.Drawing.Size(82, 13);
- this.labelNumberFormat.TabIndex = 0;
- this.labelNumberFormat.Text = "Number Format:";
+ labelNumberFormat.AutoSize = true;
+ labelNumberFormat.Location = new System.Drawing.Point(25, 21);
+ labelNumberFormat.Name = "labelNumberFormat";
+ labelNumberFormat.Size = new System.Drawing.Size(82, 13);
+ labelNumberFormat.TabIndex = 0;
+ labelNumberFormat.Text = "Number Format:";
//
// textBoxDecimalSeparator
//
- this.textBoxDecimalSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "DecimalSeparator", true));
- this.textBoxDecimalSeparator.Location = new System.Drawing.Point(116, 65);
- this.textBoxDecimalSeparator.Name = "textBoxDecimalSeparator";
- this.textBoxDecimalSeparator.Size = new System.Drawing.Size(28, 20);
- this.textBoxDecimalSeparator.TabIndex = 2;
- this.textBoxDecimalSeparator.Text = ".";
- this.textBoxDecimalSeparator.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.textBoxDecimalSeparator.TextChanged += new System.EventHandler(this.NumberFormatChanged);
- this.textBoxDecimalSeparator.Validating += new System.ComponentModel.CancelEventHandler(this.TextBoxDecimalSeparator_Validating);
+ textBoxDecimalSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "DecimalSeparator", true));
+ textBoxDecimalSeparator.Location = new System.Drawing.Point(116, 65);
+ textBoxDecimalSeparator.Name = "textBoxDecimalSeparator";
+ textBoxDecimalSeparator.Size = new System.Drawing.Size(28, 20);
+ textBoxDecimalSeparator.TabIndex = 2;
+ textBoxDecimalSeparator.Text = ".";
+ textBoxDecimalSeparator.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ textBoxDecimalSeparator.TextChanged += NumberFormatChanged;
+ textBoxDecimalSeparator.Validating += TextBoxDecimalSeparator_Validating;
//
// textBoxGroupSeparator
//
- this.textBoxGroupSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "GroupSeparator", true));
- this.textBoxGroupSeparator.Location = new System.Drawing.Point(116, 42);
- this.textBoxGroupSeparator.Name = "textBoxGroupSeparator";
- this.textBoxGroupSeparator.Size = new System.Drawing.Size(28, 20);
- this.textBoxGroupSeparator.TabIndex = 1;
- this.textBoxGroupSeparator.Text = ",";
- this.textBoxGroupSeparator.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.textBoxGroupSeparator.TextChanged += new System.EventHandler(this.NumberFormatChanged);
+ textBoxGroupSeparator.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "GroupSeparator", true));
+ textBoxGroupSeparator.Location = new System.Drawing.Point(116, 42);
+ textBoxGroupSeparator.Name = "textBoxGroupSeparator";
+ textBoxGroupSeparator.Size = new System.Drawing.Size(28, 20);
+ textBoxGroupSeparator.TabIndex = 1;
+ textBoxGroupSeparator.Text = ",";
+ textBoxGroupSeparator.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ textBoxGroupSeparator.TextChanged += NumberFormatChanged;
//
// labelNumber
//
- this.labelNumber.AutoSize = true;
- this.labelNumber.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelNumber.Location = new System.Drawing.Point(297, 45);
- this.labelNumber.Name = "labelNumber";
- this.labelNumber.Size = new System.Drawing.Size(47, 13);
- this.labelNumber.TabIndex = 6;
- this.labelNumber.Text = "Input: \"\"";
+ labelNumber.AutoSize = true;
+ labelNumber.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelNumber.Location = new System.Drawing.Point(297, 45);
+ labelNumber.Name = "labelNumber";
+ labelNumber.Size = new System.Drawing.Size(47, 13);
+ labelNumber.TabIndex = 6;
+ labelNumber.Text = "Input: \"\"";
//
// groupBoxBoolean
//
- this.groupBoxBoolean.Controls.Add(labelTrue);
- this.groupBoxBoolean.Controls.Add(labelFalse);
- this.groupBoxBoolean.Controls.Add(this.textBoxTrue);
- this.groupBoxBoolean.Controls.Add(this.textBoxFalse);
- this.groupBoxBoolean.Location = new System.Drawing.Point(3, 396);
- this.groupBoxBoolean.Name = "groupBoxBoolean";
- this.groupBoxBoolean.Padding = new System.Windows.Forms.Padding(0);
- this.groupBoxBoolean.Size = new System.Drawing.Size(616, 67);
- this.groupBoxBoolean.TabIndex = 8;
- this.groupBoxBoolean.TabStop = false;
- this.groupBoxBoolean.Text = "Boolean";
+ groupBoxBoolean.Controls.Add(labelTrue);
+ groupBoxBoolean.Controls.Add(labelFalse);
+ groupBoxBoolean.Controls.Add(textBoxTrue);
+ groupBoxBoolean.Controls.Add(textBoxFalse);
+ groupBoxBoolean.Location = new System.Drawing.Point(3, 396);
+ groupBoxBoolean.Name = "groupBoxBoolean";
+ groupBoxBoolean.Padding = new System.Windows.Forms.Padding(0);
+ groupBoxBoolean.Size = new System.Drawing.Size(616, 67);
+ groupBoxBoolean.TabIndex = 8;
+ groupBoxBoolean.TabStop = false;
+ groupBoxBoolean.Text = "Boolean";
//
// textBoxTrue
//
- this.textBoxTrue.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "True", true));
- this.textBoxTrue.Location = new System.Drawing.Point(113, 13);
- this.textBoxTrue.Name = "textBoxTrue";
- this.textBoxTrue.Size = new System.Drawing.Size(45, 20);
- this.textBoxTrue.TabIndex = 0;
+ textBoxTrue.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "True", true));
+ textBoxTrue.Location = new System.Drawing.Point(113, 13);
+ textBoxTrue.Name = "textBoxTrue";
+ textBoxTrue.Size = new System.Drawing.Size(45, 20);
+ textBoxTrue.TabIndex = 0;
//
// textBoxFalse
//
- this.textBoxFalse.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "False", true));
- this.textBoxFalse.Location = new System.Drawing.Point(113, 38);
- this.textBoxFalse.Name = "textBoxFalse";
- this.textBoxFalse.Size = new System.Drawing.Size(45, 20);
- this.textBoxFalse.TabIndex = 1;
+ textBoxFalse.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "False", true));
+ textBoxFalse.Location = new System.Drawing.Point(113, 38);
+ textBoxFalse.Name = "textBoxFalse";
+ textBoxFalse.Size = new System.Drawing.Size(45, 20);
+ textBoxFalse.TabIndex = 1;
//
// groupBoxSplit
//
- this.groupBoxSplit.Controls.Add(this.numericUpDownPart);
- this.groupBoxSplit.Controls.Add(this.labelSamplePart);
- this.groupBoxSplit.Controls.Add(this.checkBoxPartToEnd);
- this.groupBoxSplit.Controls.Add(labelSepBy);
- this.groupBoxSplit.Controls.Add(labelPart);
- this.groupBoxSplit.Controls.Add(this.textBoxSplit);
- this.groupBoxSplit.Controls.Add(this.labelResultPart);
- this.groupBoxSplit.Location = new System.Drawing.Point(3, 469);
- this.groupBoxSplit.Name = "groupBoxSplit";
- this.groupBoxSplit.Padding = new System.Windows.Forms.Padding(0);
- this.groupBoxSplit.Size = new System.Drawing.Size(616, 70);
- this.groupBoxSplit.TabIndex = 9;
- this.groupBoxSplit.TabStop = false;
- this.groupBoxSplit.Text = "Text Part";
- this.groupBoxSplit.Visible = false;
+ groupBoxSplit.Controls.Add(numericUpDownPart);
+ groupBoxSplit.Controls.Add(labelSamplePart);
+ groupBoxSplit.Controls.Add(checkBoxPartToEnd);
+ groupBoxSplit.Controls.Add(labelSepBy);
+ groupBoxSplit.Controls.Add(labelPart);
+ groupBoxSplit.Controls.Add(textBoxSplit);
+ groupBoxSplit.Controls.Add(labelResultPart);
+ groupBoxSplit.Location = new System.Drawing.Point(3, 469);
+ groupBoxSplit.Name = "groupBoxSplit";
+ groupBoxSplit.Padding = new System.Windows.Forms.Padding(0);
+ groupBoxSplit.Size = new System.Drawing.Size(616, 70);
+ groupBoxSplit.TabIndex = 9;
+ groupBoxSplit.TabStop = false;
+ groupBoxSplit.Text = "Text Part";
+ groupBoxSplit.Visible = false;
//
// numericUpDownPart
//
- this.numericUpDownPart.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bindingSourceValueFormat, "Part", true));
- this.numericUpDownPart.Location = new System.Drawing.Point(113, 42);
- this.numericUpDownPart.Maximum = new decimal(new int[] {
- 9,
- 0,
- 0,
- 0});
- this.numericUpDownPart.Minimum = new decimal(new int[] {
- 1,
- 0,
- 0,
- 0});
- this.numericUpDownPart.Name = "numericUpDownPart";
- this.numericUpDownPart.Size = new System.Drawing.Size(41, 20);
- this.numericUpDownPart.TabIndex = 7;
- this.numericUpDownPart.Value = new decimal(new int[] {
- 1,
- 0,
- 0,
- 0});
- this.numericUpDownPart.ValueChanged += new System.EventHandler(this.SetSamplePart);
- this.numericUpDownPart.Validating += new System.ComponentModel.CancelEventHandler(this.PartValidating);
+ numericUpDownPart.DataBindings.Add(new System.Windows.Forms.Binding("Value", bindingSourceValueFormat, "Part", true));
+ numericUpDownPart.Location = new System.Drawing.Point(113, 42);
+ numericUpDownPart.Maximum = new decimal(new int[] { 9, 0, 0, 0 });
+ numericUpDownPart.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
+ numericUpDownPart.Name = "numericUpDownPart";
+ numericUpDownPart.Size = new System.Drawing.Size(41, 20);
+ numericUpDownPart.TabIndex = 7;
+ numericUpDownPart.Value = new decimal(new int[] { 1, 0, 0, 0 });
+ numericUpDownPart.ValueChanged += SetSamplePart;
+ numericUpDownPart.Validating += PartValidating;
//
// labelSamplePart
//
- this.labelSamplePart.AutoSize = true;
- this.labelSamplePart.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelSamplePart.Location = new System.Drawing.Point(297, 19);
- this.labelSamplePart.Name = "labelSamplePart";
- this.labelSamplePart.Size = new System.Drawing.Size(47, 13);
- this.labelSamplePart.TabIndex = 2;
- this.labelSamplePart.Text = "Input: \"\"";
+ labelSamplePart.AutoSize = true;
+ labelSamplePart.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelSamplePart.Location = new System.Drawing.Point(297, 19);
+ labelSamplePart.Name = "labelSamplePart";
+ labelSamplePart.Size = new System.Drawing.Size(47, 13);
+ labelSamplePart.TabIndex = 2;
+ labelSamplePart.Text = "Input: \"\"";
//
// checkBoxPartToEnd
//
- this.checkBoxPartToEnd.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.bindingSourceValueFormat, "PartToEnd", true));
- this.checkBoxPartToEnd.Location = new System.Drawing.Point(160, 41);
- this.checkBoxPartToEnd.Name = "checkBoxPartToEnd";
- this.checkBoxPartToEnd.Size = new System.Drawing.Size(72, 21);
- this.checkBoxPartToEnd.TabIndex = 2;
- this.checkBoxPartToEnd.Text = "To End";
- this.checkBoxPartToEnd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
- this.checkBoxPartToEnd.UseVisualStyleBackColor = false;
- this.checkBoxPartToEnd.CheckedChanged += new System.EventHandler(this.SetSamplePart);
- this.checkBoxPartToEnd.Validating += new System.ComponentModel.CancelEventHandler(this.PartValidating);
+ checkBoxPartToEnd.DataBindings.Add(new System.Windows.Forms.Binding("Checked", bindingSourceValueFormat, "PartToEnd", true));
+ checkBoxPartToEnd.Location = new System.Drawing.Point(160, 41);
+ checkBoxPartToEnd.Name = "checkBoxPartToEnd";
+ checkBoxPartToEnd.Size = new System.Drawing.Size(72, 21);
+ checkBoxPartToEnd.TabIndex = 2;
+ checkBoxPartToEnd.Text = "To End";
+ checkBoxPartToEnd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
+ checkBoxPartToEnd.UseVisualStyleBackColor = false;
+ checkBoxPartToEnd.CheckedChanged += SetSamplePart;
+ checkBoxPartToEnd.Validating += PartValidating;
//
// textBoxSplit
//
- this.textBoxSplit.AutoCompleteCustomSource.AddRange(new string[] {
- ":",
- ";",
- "|"});
- this.textBoxSplit.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "PartSplitter", true));
- this.textBoxSplit.Location = new System.Drawing.Point(113, 16);
- this.textBoxSplit.MaxLength = 1;
- this.textBoxSplit.Name = "textBoxSplit";
- this.textBoxSplit.Size = new System.Drawing.Size(25, 20);
- this.textBoxSplit.TabIndex = 0;
- this.textBoxSplit.Text = ":";
- this.textBoxSplit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
- this.textBoxSplit.TextChanged += new System.EventHandler(this.SetSamplePart);
- this.textBoxSplit.Validating += new System.ComponentModel.CancelEventHandler(this.PartValidating);
+ textBoxSplit.AutoCompleteCustomSource.AddRange(new string[] { ":", ";", "|" });
+ textBoxSplit.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "PartSplitter", true));
+ textBoxSplit.Location = new System.Drawing.Point(113, 16);
+ textBoxSplit.MaxLength = 1;
+ textBoxSplit.Name = "textBoxSplit";
+ textBoxSplit.Size = new System.Drawing.Size(25, 20);
+ textBoxSplit.TabIndex = 0;
+ textBoxSplit.Text = ":";
+ textBoxSplit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
+ textBoxSplit.TextChanged += SetSamplePart;
+ textBoxSplit.Validating += PartValidating;
//
// labelResultPart
//
- this.labelResultPart.AutoSize = true;
- this.labelResultPart.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelResultPart.Location = new System.Drawing.Point(297, 44);
- this.labelResultPart.Name = "labelResultPart";
- this.labelResultPart.Size = new System.Drawing.Size(55, 13);
- this.labelResultPart.TabIndex = 6;
- this.labelResultPart.Text = "Output: \"\"";
+ labelResultPart.AutoSize = true;
+ labelResultPart.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelResultPart.Location = new System.Drawing.Point(297, 44);
+ labelResultPart.Name = "labelResultPart";
+ labelResultPart.Size = new System.Drawing.Size(55, 13);
+ labelResultPart.TabIndex = 6;
+ labelResultPart.Text = "Output: \"\"";
//
// groupBoxBinary
//
- this.groupBoxBinary.Controls.Add(this.checkBoxOverwrite);
- this.groupBoxBinary.Controls.Add(this.textBoxReadFolder);
- this.groupBoxBinary.Controls.Add(labelReadFolder);
- this.groupBoxBinary.Controls.Add(this.textBoxWriteFolder);
- this.groupBoxBinary.Controls.Add(labelWriteFolder);
- this.groupBoxBinary.Controls.Add(this.textBoxPattern);
- this.groupBoxBinary.Controls.Add(labelPatternWrite);
- this.groupBoxBinary.Location = new System.Drawing.Point(3, 545);
- this.groupBoxBinary.Name = "groupBoxBinary";
- this.groupBoxBinary.Padding = new System.Windows.Forms.Padding(0);
- this.groupBoxBinary.Size = new System.Drawing.Size(616, 102);
- this.groupBoxBinary.TabIndex = 13;
- this.groupBoxBinary.TabStop = false;
- this.groupBoxBinary.Text = "Binary Data";
- this.groupBoxBinary.Visible = false;
+ groupBoxBinary.Controls.Add(checkBoxOverwrite);
+ groupBoxBinary.Controls.Add(textBoxReadFolder);
+ groupBoxBinary.Controls.Add(labelReadFolder);
+ groupBoxBinary.Controls.Add(textBoxWriteFolder);
+ groupBoxBinary.Controls.Add(labelWriteFolder);
+ groupBoxBinary.Controls.Add(textBoxPattern);
+ groupBoxBinary.Controls.Add(labelPatternWrite);
+ groupBoxBinary.Location = new System.Drawing.Point(3, 545);
+ groupBoxBinary.Name = "groupBoxBinary";
+ groupBoxBinary.Padding = new System.Windows.Forms.Padding(0);
+ groupBoxBinary.Size = new System.Drawing.Size(616, 102);
+ groupBoxBinary.TabIndex = 13;
+ groupBoxBinary.TabStop = false;
+ groupBoxBinary.Text = "Binary Data";
+ groupBoxBinary.Visible = false;
//
// checkBoxOverwrite
//
- this.checkBoxOverwrite.AutoSize = true;
- this.checkBoxOverwrite.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.bindingSourceValueFormat, "Overwrite", true));
- this.checkBoxOverwrite.Location = new System.Drawing.Point(363, 74);
- this.checkBoxOverwrite.Name = "checkBoxOverwrite";
- this.checkBoxOverwrite.Size = new System.Drawing.Size(71, 17);
- this.checkBoxOverwrite.TabIndex = 7;
- this.checkBoxOverwrite.Text = "Overwrite";
- this.checkBoxOverwrite.UseVisualStyleBackColor = true;
+ checkBoxOverwrite.AutoSize = true;
+ checkBoxOverwrite.DataBindings.Add(new System.Windows.Forms.Binding("Checked", bindingSourceValueFormat, "Overwrite", true));
+ checkBoxOverwrite.Location = new System.Drawing.Point(363, 74);
+ checkBoxOverwrite.Name = "checkBoxOverwrite";
+ checkBoxOverwrite.Size = new System.Drawing.Size(71, 17);
+ checkBoxOverwrite.TabIndex = 7;
+ checkBoxOverwrite.Text = "Overwrite";
+ checkBoxOverwrite.UseVisualStyleBackColor = true;
//
// groupBoxRegExReplace
//
- this.groupBoxRegExReplace.AutoSize = true;
- this.groupBoxRegExReplace.Controls.Add(this.labelRegEx);
- this.groupBoxRegExReplace.Controls.Add(this.textBoxRegexReplacement);
- this.groupBoxRegExReplace.Controls.Add(labelReplace);
- this.groupBoxRegExReplace.Controls.Add(this.textBoxRegexSearchPattern);
- this.groupBoxRegExReplace.Controls.Add(labelSPattern);
- this.groupBoxRegExReplace.Location = new System.Drawing.Point(3, 653);
- this.groupBoxRegExReplace.Name = "groupBoxRegExReplace";
- this.groupBoxRegExReplace.Padding = new System.Windows.Forms.Padding(0);
- this.groupBoxRegExReplace.Size = new System.Drawing.Size(616, 80);
- this.groupBoxRegExReplace.TabIndex = 14;
- this.groupBoxRegExReplace.TabStop = false;
- this.groupBoxRegExReplace.Text = "Text Replace";
- this.groupBoxRegExReplace.Visible = false;
+ groupBoxRegExReplace.AutoSize = true;
+ groupBoxRegExReplace.Controls.Add(labelRegEx);
+ groupBoxRegExReplace.Controls.Add(textBoxRegexReplacement);
+ groupBoxRegExReplace.Controls.Add(labelReplace);
+ groupBoxRegExReplace.Controls.Add(textBoxRegexSearchPattern);
+ groupBoxRegExReplace.Controls.Add(labelSPattern);
+ groupBoxRegExReplace.Location = new System.Drawing.Point(3, 653);
+ groupBoxRegExReplace.Name = "groupBoxRegExReplace";
+ groupBoxRegExReplace.Padding = new System.Windows.Forms.Padding(0);
+ groupBoxRegExReplace.Size = new System.Drawing.Size(616, 80);
+ groupBoxRegExReplace.TabIndex = 14;
+ groupBoxRegExReplace.TabStop = false;
+ groupBoxRegExReplace.Text = "Text Replace";
+ groupBoxRegExReplace.Visible = false;
//
// labelRegEx
//
- this.labelRegEx.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.labelRegEx.AutoSize = true;
- this.labelRegEx.ForeColor = System.Drawing.SystemColors.Highlight;
- this.labelRegEx.Location = new System.Drawing.Point(364, 21);
- this.labelRegEx.Margin = new System.Windows.Forms.Padding(3);
- this.labelRegEx.Name = "labelRegEx";
- this.labelRegEx.Size = new System.Drawing.Size(140, 13);
- this.labelRegEx.TabIndex = 12;
- this.labelRegEx.Text = "Note: RegEx Pattern Syntax";
+ labelRegEx.Anchor = System.Windows.Forms.AnchorStyles.Left;
+ labelRegEx.AutoSize = true;
+ labelRegEx.ForeColor = System.Drawing.SystemColors.Highlight;
+ labelRegEx.Location = new System.Drawing.Point(364, 21);
+ labelRegEx.Margin = new System.Windows.Forms.Padding(3);
+ labelRegEx.Name = "labelRegEx";
+ labelRegEx.Size = new System.Drawing.Size(140, 13);
+ labelRegEx.TabIndex = 12;
+ labelRegEx.Text = "Note: RegEx Pattern Syntax";
//
// textBoxRegexReplacement
//
- this.textBoxRegexReplacement.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bindingSourceValueFormat, "RegexReplacement", true));
- this.textBoxRegexReplacement.Location = new System.Drawing.Point(113, 44);
- this.textBoxRegexReplacement.Name = "textBoxRegexReplacement";
- this.textBoxRegexReplacement.Size = new System.Drawing.Size(239, 20);
- this.textBoxRegexReplacement.TabIndex = 9;
+ textBoxRegexReplacement.DataBindings.Add(new System.Windows.Forms.Binding("Text", bindingSourceValueFormat, "RegexReplacement", true));
+ textBoxRegexReplacement.Location = new System.Drawing.Point(113, 44);
+ textBoxRegexReplacement.Name = "textBoxRegexReplacement";
+ textBoxRegexReplacement.Size = new System.Drawing.Size(239, 20);
+ textBoxRegexReplacement.TabIndex = 9;
//
// FormColumnUiRead
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(627, 834);
- this.Controls.Add(this.panelBottom);
- this.Controls.Add(this.flowLayoutPanel);
- this.Controls.Add(this.panelTop);
- this.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.columnBindingSource, "Name", true));
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
- this.MaximizeBox = false;
- this.MinimizeBox = false;
- this.MinimumSize = new System.Drawing.Size(519, 186);
- this.Name = "FormColumnUiRead";
- this.ShowIcon = false;
- this.ShowInTaskbar = false;
- this.Text = "Column Format";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ColumnFormatUI_FormClosing);
- this.Load += new System.EventHandler(this.ColumnFormatUI_Load);
+ AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ ClientSize = new System.Drawing.Size(627, 834);
+ Controls.Add(panelBottom);
+ Controls.Add(flowLayoutPanel);
+ Controls.Add(panelTop);
+ DataBindings.Add(new System.Windows.Forms.Binding("Text", columnBindingSource, "Name", true));
+ FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
+ MaximizeBox = false;
+ MinimizeBox = false;
+ MinimumSize = new System.Drawing.Size(519, 186);
+ Name = "FormColumnUiRead";
+ ShowIcon = false;
+ ShowInTaskbar = false;
+ Text = "Column Format";
+ FormClosing += ColumnFormatUI_FormClosing;
+ Load += ColumnFormatUI_Load;
tableLayoutPanel2.ResumeLayout(false);
tableLayoutPanel2.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.bindingSourceValueFormat)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.columnBindingSource)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
- this.panelTop.ResumeLayout(false);
- this.panelTop.PerformLayout();
- this.panelBottom.ResumeLayout(false);
- this.flowLayoutPanel.ResumeLayout(false);
- this.flowLayoutPanel.PerformLayout();
- this.groupBoxDate.ResumeLayout(false);
- this.groupBoxDate.PerformLayout();
- this.groupBoxNumber.ResumeLayout(false);
- this.groupBoxNumber.PerformLayout();
- this.groupBoxBoolean.ResumeLayout(false);
- this.groupBoxBoolean.PerformLayout();
- this.groupBoxSplit.ResumeLayout(false);
- this.groupBoxSplit.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPart)).EndInit();
- this.groupBoxBinary.ResumeLayout(false);
- this.groupBoxBinary.PerformLayout();
- this.groupBoxRegExReplace.ResumeLayout(false);
- this.groupBoxRegExReplace.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
+ ((System.ComponentModel.ISupportInitialize) bindingSourceValueFormat).EndInit();
+ ((System.ComponentModel.ISupportInitialize) columnBindingSource).EndInit();
+ ((System.ComponentModel.ISupportInitialize) errorProvider).EndInit();
+ panelTop.ResumeLayout(false);
+ panelTop.PerformLayout();
+ panelBottom.ResumeLayout(false);
+ flowLayoutPanel.ResumeLayout(false);
+ flowLayoutPanel.PerformLayout();
+ groupBoxDate.ResumeLayout(false);
+ groupBoxNumber.ResumeLayout(false);
+ groupBoxNumber.PerformLayout();
+ groupBoxBoolean.ResumeLayout(false);
+ groupBoxBoolean.PerformLayout();
+ groupBoxSplit.ResumeLayout(false);
+ groupBoxSplit.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize) numericUpDownPart).EndInit();
+ groupBoxBinary.ResumeLayout(false);
+ groupBoxBinary.PerformLayout();
+ groupBoxRegExReplace.ResumeLayout(false);
+ groupBoxRegExReplace.PerformLayout();
+ ResumeLayout(false);
+ PerformLayout();
}
private System.Windows.Forms.BindingSource bindingSourceValueFormat;
@@ -1267,5 +1246,6 @@ private void InitializeComponent()
private System.Windows.Forms.Label labelDisplayNullAs;
private System.Windows.Forms.TextBox textBoxDisplayNullAs;
private System.Windows.Forms.TextBox textBoxDateFormat;
+ private System.Windows.Forms.Label labelNoteConversion;
}
}
\ No newline at end of file
diff --git a/Library/WinFormControls/FormColumnUIRead.cs b/Library/WinFormControls/FormColumnUIRead.cs
index 22efb440..a2ddd1cd 100644
--- a/Library/WinFormControls/FormColumnUIRead.cs
+++ b/Library/WinFormControls/FormColumnUIRead.cs
@@ -78,7 +78,7 @@ public FormColumnUiRead(
bool enableChangeColumn)
{
m_ColumnEdit = new ColumnMut(column);
- m_FileSetting = fileSetting ?? throw new ArgumentNullException(nameof(fileSetting));
+ m_FileSetting = fileSetting ?? throw new ArgumentNullException(nameof(fileSetting));
m_FillGuessSettings = fillGuessSettings ?? throw new ArgumentNullException(nameof(fillGuessSettings));
InitializeComponent();
@@ -364,15 +364,33 @@ private void UpdateDateLabel()
toolTip.SetToolTip(textBoxDateSeparator, dateSeparator.Description());
toolTip.SetToolTip(textBoxTimeSeparator, timeSeparator.Description());
+ // using HashSet to get rid of duplicates
var text = new HashSet();
var sourceDate = new DateTime(2013, 4, 7, 15, 45, 50, 345, DateTimeKind.Local);
+
+ // if we have different formats, input could be different
foreach (var dateFormat in dateFormats)
{
- text.Add(StringConversion.DateTimeToString(sourceDate,
- (hasTimePart && dateFormat.IndexOfAny(new[] { 'h', 'H', 'm', 'S', 's', }) == -1) ? dateFormat + " " + timePartFormat : dateFormat, dateSeparator, timeSeparator, CultureInfo.InvariantCulture));
- text.Add(StringConversion.DateTimeToString(sourceDate, (hasTimePart &&
- dateFormat.IndexOfAny(new[] { 'h', 'H', 'm', 'S', 's', }) == -1) ? dateFormat + " " + timePartFormat : dateFormat, dateSeparator, timeSeparator, CultureInfo.CurrentCulture));
+ var completeFormat = (hasTimePart && dateFormat.IndexOfAny(new[] { 'h', 'H', 'm', 'S', 's', }) == -1)
+ ? dateFormat + " " + timePartFormat
+ : dateFormat;
+ // we always read the current culture as well as invariant
+ text.Add(StringConversion.DateTimeToString(sourceDate, completeFormat, dateSeparator,
+ timeSeparator, CultureInfo.InvariantCulture));
+ text.Add(StringConversion.DateTimeToString(sourceDate, completeFormat, dateSeparator,
+ timeSeparator, CultureInfo.CurrentCulture));
+
+ // Reading data with Offset, means that we can have different inputs for the same outcome
+ if (completeFormat.IndexOf("zzz", StringComparison.Ordinal) != -1 &&
+ TimeZone.CurrentTimeZone.GetUtcOffset(sourceDate).TotalMinutes > 1)
+ {
+ completeFormat = completeFormat.Replace("zzz", "+00:00");
+ text.Add(StringConversion.DateTimeToString(sourceDate.ToUniversalTime(),
+ completeFormat, dateSeparator, timeSeparator, CultureInfo.InvariantCulture));
+ text.Add(StringConversion.DateTimeToString(sourceDate.ToUniversalTime(),
+ completeFormat, dateSeparator, timeSeparator, CultureInfo.CurrentCulture));
+ }
}
labelSampleDisplay.Text = text.Join(", ");
diff --git a/Library/WinFormControls/FormColumnUIRead.resx b/Library/WinFormControls/FormColumnUIRead.resx
index c6cf7ab0..a54e9b92 100644
--- a/Library/WinFormControls/FormColumnUIRead.resx
+++ b/Library/WinFormControls/FormColumnUIRead.resx
@@ -1,17 +1,17 @@
-
@@ -192,10 +192,19 @@
False
+
+ 183, 17
+
+
+ 17, 17
+
629, 23
True
+
+ 522, 22
+
\ No newline at end of file