From 356a0268ca616a044a68f8c4640e5ad0844a879d Mon Sep 17 00:00:00 2001 From: niksedk Date: Wed, 6 Sep 2023 23:51:14 +0200 Subject: [PATCH] Minor UI fixes --- src/ui/Forms/Main.Designer.cs | 6 +- src/ui/Forms/Main.resx | 4 +- .../Forms/Options/SettingsProfile.Designer.cs | 888 +++++++++--------- 3 files changed, 449 insertions(+), 449 deletions(-) diff --git a/src/ui/Forms/Main.Designer.cs b/src/ui/Forms/Main.Designer.cs index f60c0bc5f..1c6316120 100644 --- a/src/ui/Forms/Main.Designer.cs +++ b/src/ui/Forms/Main.Designer.cs @@ -3435,7 +3435,7 @@ namespace Nikse.SubtitleEdit.Forms this.toolStripSplitButtonPlayRate}); this.toolStripWaveControls.Location = new System.Drawing.Point(0, -1); this.toolStripWaveControls.Name = "toolStripWaveControls"; - this.toolStripWaveControls.Size = new System.Drawing.Size(259, 29); + this.toolStripWaveControls.Size = new System.Drawing.Size(261, 29); this.toolStripWaveControls.TabIndex = 0; this.toolStripWaveControls.Text = "toolStrip2"; // @@ -3461,13 +3461,13 @@ namespace Nikse.SubtitleEdit.Forms this.toolStripComboBoxWaveform.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); this.toolStripComboBoxWaveform.DropDownHeight = 400; this.toolStripComboBoxWaveform.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.toolStripComboBoxWaveform.DropDownWidth = 100; + this.toolStripComboBoxWaveform.DropDownWidth = 82; this.toolStripComboBoxWaveform.Name = "toolStripComboBoxWaveform"; this.toolStripComboBoxWaveform.Padding = new System.Windows.Forms.Padding(2); this.toolStripComboBoxWaveform.SelectedIndex = -1; this.toolStripComboBoxWaveform.SelectedItem = null; this.toolStripComboBoxWaveform.SelectedText = ""; - this.toolStripComboBoxWaveform.Size = new System.Drawing.Size(63, 24); + this.toolStripComboBoxWaveform.Size = new System.Drawing.Size(65, 25); // // toolStripButtonWaveformZoomIn // diff --git a/src/ui/Forms/Main.resx b/src/ui/Forms/Main.resx index 021d6f4b2..d8f3c611b 100644 --- a/src/ui/Forms/Main.resx +++ b/src/ui/Forms/Main.resx @@ -800,9 +800,9 @@ iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACJSURBVEhLYxjioPT6M4aKawVQHvEApAekFycouP6bofx6 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACJSURBVEhLYxjioPT6M4aKawVQHvEApAekFyfIu/6bofx6 A5RHPADpAenFCbAZXHk1ACi2nqHi6n44BokhA5INrrpiwFBx/T9Q7DxYHILPg8VAcjBAssEgNsgQdACx - DFXdqMFgMGowlDdqMCUG0yxLgwCowEEugEAFEsWFELGAoME0K+gHP2BgAAAyDxmWleritwAAAABJRU5E + DFXdqMFgMGowlDdqMCUG0yxLgwCowEEugEAFEsWFELGAoME0K+gHP2BgAAA9IBlWyLf2NwAAAABJRU5E rkJggg== diff --git a/src/ui/Forms/Options/SettingsProfile.Designer.cs b/src/ui/Forms/Options/SettingsProfile.Designer.cs index d659d5dc9..248671512 100644 --- a/src/ui/Forms/Options/SettingsProfile.Designer.cs +++ b/src/ui/Forms/Options/SettingsProfile.Designer.cs @@ -31,12 +31,25 @@ this.components = new System.ComponentModel.Container(); this.groupBoxStyles = new System.Windows.Forms.GroupBox(); this.labelName = new System.Windows.Forms.Label(); + this.textBoxName = new Nikse.SubtitleEdit.Controls.NikseTextBox(); this.groupBoxGeneralRules = new System.Windows.Forms.GroupBox(); + this.comboBoxCpsLineLenCalc = new Nikse.SubtitleEdit.Controls.NikseComboBox(); this.buttonEditCustomContinuationStyle = new System.Windows.Forms.Button(); + this.comboBoxContinuationStyle = new Nikse.SubtitleEdit.Controls.NikseComboBox(); + this.comboBoxDialogStyle = new Nikse.SubtitleEdit.Controls.NikseComboBox(); + this.comboBoxMergeShortLineLength = new Nikse.SubtitleEdit.Controls.NikseComboBox(); + this.numericUpDownMaxNumberOfLines = new Nikse.SubtitleEdit.Controls.NikseUpDown(); + this.numericUpDownMinGapMs = new Nikse.SubtitleEdit.Controls.NikseUpDown(); + this.numericUpDownDurationMax = new Nikse.SubtitleEdit.Controls.NikseUpDown(); + this.numericUpDownDurationMin = new Nikse.SubtitleEdit.Controls.NikseUpDown(); + this.numericUpDownMaxWordsMin = new Nikse.SubtitleEdit.Controls.NikseUpDown(); + this.numericUpDownMaxCharsSec = new Nikse.SubtitleEdit.Controls.NikseUpDown(); + this.numericUpDownSubtitleLineMaximumLength = new Nikse.SubtitleEdit.Controls.NikseUpDown(); this.labelCpsLineLenCalc = new System.Windows.Forms.Label(); this.labelContinuationStyle = new System.Windows.Forms.Label(); this.labelDialogStyle = new System.Windows.Forms.Label(); this.labelOptimalCharsPerSecond = new System.Windows.Forms.Label(); + this.numericUpDownOptimalCharsSec = new Nikse.SubtitleEdit.Controls.NikseUpDown(); this.labelSubMaxLen = new System.Windows.Forms.Label(); this.labelMergeShortLines = new System.Windows.Forms.Label(); this.labelMaxWordsPerMin = new System.Windows.Forms.Label(); @@ -62,19 +75,6 @@ this.openFileDialogImport = new System.Windows.Forms.OpenFileDialog(); this.toolTipContinuationPreview = new System.Windows.Forms.ToolTip(this.components); this.toolTipDialogStylePreview = new System.Windows.Forms.ToolTip(this.components); - this.textBoxName = new Nikse.SubtitleEdit.Controls.NikseTextBox(); - this.comboBoxCpsLineLenCalc = new Nikse.SubtitleEdit.Controls.NikseComboBox(); - this.comboBoxContinuationStyle = new Nikse.SubtitleEdit.Controls.NikseComboBox(); - this.comboBoxDialogStyle = new Nikse.SubtitleEdit.Controls.NikseComboBox(); - this.comboBoxMergeShortLineLength = new Nikse.SubtitleEdit.Controls.NikseComboBox(); - this.numericUpDownMaxNumberOfLines = new Nikse.SubtitleEdit.Controls.NikseUpDown(); - this.numericUpDownMinGapMs = new Nikse.SubtitleEdit.Controls.NikseUpDown(); - this.numericUpDownDurationMax = new Nikse.SubtitleEdit.Controls.NikseUpDown(); - this.numericUpDownDurationMin = new Nikse.SubtitleEdit.Controls.NikseUpDown(); - this.numericUpDownMaxWordsMin = new Nikse.SubtitleEdit.Controls.NikseUpDown(); - this.numericUpDownMaxCharsSec = new Nikse.SubtitleEdit.Controls.NikseUpDown(); - this.numericUpDownSubtitleLineMaximumLength = new Nikse.SubtitleEdit.Controls.NikseUpDown(); - this.numericUpDownOptimalCharsSec = new Nikse.SubtitleEdit.Controls.NikseUpDown(); this.groupBoxStyles.SuspendLayout(); this.groupBoxGeneralRules.SuspendLayout(); this.SuspendLayout(); @@ -104,12 +104,22 @@ // this.labelName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelName.AutoSize = true; - this.labelName.Location = new System.Drawing.Point(659, 17); + this.labelName.Location = new System.Drawing.Point(659, 16); this.labelName.Name = "labelName"; this.labelName.Size = new System.Drawing.Size(35, 13); this.labelName.TabIndex = 53; this.labelName.Text = "Name"; // + // textBoxName + // + this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.textBoxName.FocusedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.textBoxName.Location = new System.Drawing.Point(660, 35); + this.textBoxName.Name = "textBoxName"; + this.textBoxName.Size = new System.Drawing.Size(250, 20); + this.textBoxName.TabIndex = 80; + this.textBoxName.TextChanged += new System.EventHandler(this.textBoxName_TextChanged); + // // groupBoxGeneralRules // this.groupBoxGeneralRules.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) @@ -139,17 +149,40 @@ this.groupBoxGeneralRules.Controls.Add(this.labelMaxLines); this.groupBoxGeneralRules.Controls.Add(this.labelMaxCharsPerSecond); this.groupBoxGeneralRules.Controls.Add(this.labelMinGapMs); - this.groupBoxGeneralRules.Location = new System.Drawing.Point(628, 61); + this.groupBoxGeneralRules.Location = new System.Drawing.Point(615, 63); this.groupBoxGeneralRules.Name = "groupBoxGeneralRules"; - this.groupBoxGeneralRules.Size = new System.Drawing.Size(334, 360); + this.groupBoxGeneralRules.Size = new System.Drawing.Size(347, 390); this.groupBoxGeneralRules.TabIndex = 90; this.groupBoxGeneralRules.TabStop = false; this.groupBoxGeneralRules.Text = "Rules"; // + // comboBoxCpsLineLenCalc + // + this.comboBoxCpsLineLenCalc.BackColor = System.Drawing.SystemColors.Window; + this.comboBoxCpsLineLenCalc.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.comboBoxCpsLineLenCalc.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.comboBoxCpsLineLenCalc.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.comboBoxCpsLineLenCalc.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.comboBoxCpsLineLenCalc.ButtonForeColorDown = System.Drawing.Color.Orange; + this.comboBoxCpsLineLenCalc.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.comboBoxCpsLineLenCalc.DropDownHeight = 400; + this.comboBoxCpsLineLenCalc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxCpsLineLenCalc.DropDownWidth = 170; + this.comboBoxCpsLineLenCalc.FormattingEnabled = true; + this.comboBoxCpsLineLenCalc.Location = new System.Drawing.Point(132, 339); + this.comboBoxCpsLineLenCalc.MaxLength = 32767; + this.comboBoxCpsLineLenCalc.Name = "comboBoxCpsLineLenCalc"; + this.comboBoxCpsLineLenCalc.SelectedIndex = -1; + this.comboBoxCpsLineLenCalc.SelectedItem = null; + this.comboBoxCpsLineLenCalc.SelectedText = ""; + this.comboBoxCpsLineLenCalc.Size = new System.Drawing.Size(174, 23); + this.comboBoxCpsLineLenCalc.TabIndex = 197; + this.comboBoxCpsLineLenCalc.UsePopupWindow = false; + // // buttonEditCustomContinuationStyle // this.buttonEditCustomContinuationStyle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.buttonEditCustomContinuationStyle.Location = new System.Drawing.Point(294, 284); + this.buttonEditCustomContinuationStyle.Location = new System.Drawing.Point(307, 309); this.buttonEditCustomContinuationStyle.Name = "buttonEditCustomContinuationStyle"; this.buttonEditCustomContinuationStyle.Size = new System.Drawing.Size(28, 23); this.buttonEditCustomContinuationStyle.TabIndex = 196; @@ -158,10 +191,353 @@ this.buttonEditCustomContinuationStyle.Visible = false; this.buttonEditCustomContinuationStyle.Click += new System.EventHandler(this.buttonEditCustomContinuationStyle_Click); // + // comboBoxContinuationStyle + // + this.comboBoxContinuationStyle.BackColor = System.Drawing.SystemColors.Window; + this.comboBoxContinuationStyle.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.comboBoxContinuationStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.comboBoxContinuationStyle.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.comboBoxContinuationStyle.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.comboBoxContinuationStyle.ButtonForeColorDown = System.Drawing.Color.Orange; + this.comboBoxContinuationStyle.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.comboBoxContinuationStyle.DropDownHeight = 400; + this.comboBoxContinuationStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxContinuationStyle.DropDownWidth = 260; + this.comboBoxContinuationStyle.FormattingEnabled = true; + this.comboBoxContinuationStyle.Location = new System.Drawing.Point(132, 310); + this.comboBoxContinuationStyle.MaxLength = 32767; + this.comboBoxContinuationStyle.Name = "comboBoxContinuationStyle"; + this.comboBoxContinuationStyle.SelectedIndex = -1; + this.comboBoxContinuationStyle.SelectedItem = null; + this.comboBoxContinuationStyle.SelectedText = ""; + this.comboBoxContinuationStyle.Size = new System.Drawing.Size(157, 23); + this.comboBoxContinuationStyle.TabIndex = 195; + this.comboBoxContinuationStyle.UsePopupWindow = false; + this.comboBoxContinuationStyle.SelectedIndexChanged += new System.EventHandler(this.UiElementChanged); + // + // comboBoxDialogStyle + // + this.comboBoxDialogStyle.BackColor = System.Drawing.SystemColors.Window; + this.comboBoxDialogStyle.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.comboBoxDialogStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.comboBoxDialogStyle.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.comboBoxDialogStyle.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.comboBoxDialogStyle.ButtonForeColorDown = System.Drawing.Color.Orange; + this.comboBoxDialogStyle.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.comboBoxDialogStyle.DropDownHeight = 400; + this.comboBoxDialogStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxDialogStyle.DropDownWidth = 260; + this.comboBoxDialogStyle.FormattingEnabled = true; + this.comboBoxDialogStyle.Items.AddRange(new object[] { + "Dash both lines with space", + "Dash both lines without space", + "Dash second line with space", + "Dash second line without space"}); + this.comboBoxDialogStyle.Location = new System.Drawing.Point(103, 281); + this.comboBoxDialogStyle.MaxLength = 32767; + this.comboBoxDialogStyle.Name = "comboBoxDialogStyle"; + this.comboBoxDialogStyle.SelectedIndex = -1; + this.comboBoxDialogStyle.SelectedItem = null; + this.comboBoxDialogStyle.SelectedText = ""; + this.comboBoxDialogStyle.Size = new System.Drawing.Size(203, 23); + this.comboBoxDialogStyle.TabIndex = 194; + this.comboBoxDialogStyle.UsePopupWindow = false; + this.comboBoxDialogStyle.SelectedIndexChanged += new System.EventHandler(this.UiElementChanged); + // + // comboBoxMergeShortLineLength + // + this.comboBoxMergeShortLineLength.BackColor = System.Drawing.SystemColors.Window; + this.comboBoxMergeShortLineLength.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.comboBoxMergeShortLineLength.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.comboBoxMergeShortLineLength.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.comboBoxMergeShortLineLength.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.comboBoxMergeShortLineLength.ButtonForeColorDown = System.Drawing.Color.Orange; + this.comboBoxMergeShortLineLength.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.comboBoxMergeShortLineLength.DropDownHeight = 400; + this.comboBoxMergeShortLineLength.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboBoxMergeShortLineLength.DropDownWidth = 73; + this.comboBoxMergeShortLineLength.FormattingEnabled = true; + this.comboBoxMergeShortLineLength.Location = new System.Drawing.Point(233, 252); + this.comboBoxMergeShortLineLength.MaxLength = 32767; + this.comboBoxMergeShortLineLength.Name = "comboBoxMergeShortLineLength"; + this.comboBoxMergeShortLineLength.SelectedIndex = -1; + this.comboBoxMergeShortLineLength.SelectedItem = null; + this.comboBoxMergeShortLineLength.SelectedText = ""; + this.comboBoxMergeShortLineLength.Size = new System.Drawing.Size(73, 23); + this.comboBoxMergeShortLineLength.TabIndex = 180; + this.comboBoxMergeShortLineLength.UsePopupWindow = false; + this.comboBoxMergeShortLineLength.SelectedIndexChanged += new System.EventHandler(this.UiElementChanged); + // + // numericUpDownMaxNumberOfLines + // + this.numericUpDownMaxNumberOfLines.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownMaxNumberOfLines.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownMaxNumberOfLines.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownMaxNumberOfLines.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownMaxNumberOfLines.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownMaxNumberOfLines.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownMaxNumberOfLines.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownMaxNumberOfLines.DecimalPlaces = 0; + this.numericUpDownMaxNumberOfLines.Increment = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownMaxNumberOfLines.Location = new System.Drawing.Point(233, 223); + this.numericUpDownMaxNumberOfLines.Maximum = new decimal(new int[] { + 25, + 0, + 0, + 0}); + this.numericUpDownMaxNumberOfLines.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownMaxNumberOfLines.Name = "numericUpDownMaxNumberOfLines"; + this.numericUpDownMaxNumberOfLines.Size = new System.Drawing.Size(73, 23); + this.numericUpDownMaxNumberOfLines.TabIndex = 170; + this.numericUpDownMaxNumberOfLines.TabStop = false; + this.numericUpDownMaxNumberOfLines.ThousandsSeparator = false; + this.numericUpDownMaxNumberOfLines.Value = new decimal(new int[] { + 2, + 0, + 0, + 0}); + this.numericUpDownMaxNumberOfLines.ValueChanged += new System.EventHandler(this.UiElementChanged); + // + // numericUpDownMinGapMs + // + this.numericUpDownMinGapMs.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownMinGapMs.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownMinGapMs.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownMinGapMs.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownMinGapMs.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownMinGapMs.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownMinGapMs.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownMinGapMs.DecimalPlaces = 0; + this.numericUpDownMinGapMs.Increment = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownMinGapMs.Location = new System.Drawing.Point(233, 194); + this.numericUpDownMinGapMs.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.numericUpDownMinGapMs.Minimum = new decimal(new int[] { + 0, + 0, + 0, + 0}); + this.numericUpDownMinGapMs.Name = "numericUpDownMinGapMs"; + this.numericUpDownMinGapMs.Size = new System.Drawing.Size(73, 23); + this.numericUpDownMinGapMs.TabIndex = 160; + this.numericUpDownMinGapMs.TabStop = false; + this.numericUpDownMinGapMs.ThousandsSeparator = false; + this.numericUpDownMinGapMs.Value = new decimal(new int[] { + 25, + 0, + 0, + 0}); + this.numericUpDownMinGapMs.ValueChanged += new System.EventHandler(this.UiElementChanged); + // + // numericUpDownDurationMax + // + this.numericUpDownDurationMax.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownDurationMax.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownDurationMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownDurationMax.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownDurationMax.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownDurationMax.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownDurationMax.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownDurationMax.DecimalPlaces = 0; + this.numericUpDownDurationMax.Increment = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownDurationMax.Location = new System.Drawing.Point(233, 165); + this.numericUpDownDurationMax.Maximum = new decimal(new int[] { + 50000, + 0, + 0, + 0}); + this.numericUpDownDurationMax.Minimum = new decimal(new int[] { + 3000, + 0, + 0, + 0}); + this.numericUpDownDurationMax.Name = "numericUpDownDurationMax"; + this.numericUpDownDurationMax.Size = new System.Drawing.Size(73, 23); + this.numericUpDownDurationMax.TabIndex = 150; + this.numericUpDownDurationMax.TabStop = false; + this.numericUpDownDurationMax.ThousandsSeparator = false; + this.numericUpDownDurationMax.Value = new decimal(new int[] { + 50000, + 0, + 0, + 0}); + this.numericUpDownDurationMax.ValueChanged += new System.EventHandler(this.UiElementChanged); + // + // numericUpDownDurationMin + // + this.numericUpDownDurationMin.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownDurationMin.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownDurationMin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownDurationMin.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownDurationMin.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownDurationMin.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownDurationMin.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownDurationMin.DecimalPlaces = 0; + this.numericUpDownDurationMin.Increment = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownDurationMin.Location = new System.Drawing.Point(233, 136); + this.numericUpDownDurationMin.Maximum = new decimal(new int[] { + 2000, + 0, + 0, + 0}); + this.numericUpDownDurationMin.Minimum = new decimal(new int[] { + 100, + 0, + 0, + 0}); + this.numericUpDownDurationMin.Name = "numericUpDownDurationMin"; + this.numericUpDownDurationMin.Size = new System.Drawing.Size(73, 23); + this.numericUpDownDurationMin.TabIndex = 140; + this.numericUpDownDurationMin.TabStop = false; + this.numericUpDownDurationMin.ThousandsSeparator = false; + this.numericUpDownDurationMin.Value = new decimal(new int[] { + 100, + 0, + 0, + 0}); + this.numericUpDownDurationMin.ValueChanged += new System.EventHandler(this.UiElementChanged); + // + // numericUpDownMaxWordsMin + // + this.numericUpDownMaxWordsMin.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownMaxWordsMin.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownMaxWordsMin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownMaxWordsMin.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownMaxWordsMin.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownMaxWordsMin.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownMaxWordsMin.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownMaxWordsMin.DecimalPlaces = 0; + this.numericUpDownMaxWordsMin.Increment = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownMaxWordsMin.Location = new System.Drawing.Point(233, 107); + this.numericUpDownMaxWordsMin.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.numericUpDownMaxWordsMin.Minimum = new decimal(new int[] { + 4, + 0, + 0, + 0}); + this.numericUpDownMaxWordsMin.Name = "numericUpDownMaxWordsMin"; + this.numericUpDownMaxWordsMin.Size = new System.Drawing.Size(73, 23); + this.numericUpDownMaxWordsMin.TabIndex = 130; + this.numericUpDownMaxWordsMin.TabStop = false; + this.numericUpDownMaxWordsMin.ThousandsSeparator = false; + this.numericUpDownMaxWordsMin.Value = new decimal(new int[] { + 300, + 0, + 0, + 0}); + this.numericUpDownMaxWordsMin.ValueChanged += new System.EventHandler(this.UiElementChanged); + // + // numericUpDownMaxCharsSec + // + this.numericUpDownMaxCharsSec.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownMaxCharsSec.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownMaxCharsSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownMaxCharsSec.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownMaxCharsSec.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownMaxCharsSec.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownMaxCharsSec.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownMaxCharsSec.DecimalPlaces = 1; + this.numericUpDownMaxCharsSec.Increment = new decimal(new int[] { + 1, + 0, + 0, + 65536}); + this.numericUpDownMaxCharsSec.Location = new System.Drawing.Point(233, 78); + this.numericUpDownMaxCharsSec.Maximum = new decimal(new int[] { + 100, + 0, + 0, + 0}); + this.numericUpDownMaxCharsSec.Minimum = new decimal(new int[] { + 4, + 0, + 0, + 0}); + this.numericUpDownMaxCharsSec.Name = "numericUpDownMaxCharsSec"; + this.numericUpDownMaxCharsSec.Size = new System.Drawing.Size(73, 23); + this.numericUpDownMaxCharsSec.TabIndex = 120; + this.numericUpDownMaxCharsSec.TabStop = false; + this.numericUpDownMaxCharsSec.ThousandsSeparator = false; + this.numericUpDownMaxCharsSec.Value = new decimal(new int[] { + 24, + 0, + 0, + 0}); + this.numericUpDownMaxCharsSec.ValueChanged += new System.EventHandler(this.UiElementChanged); + // + // numericUpDownSubtitleLineMaximumLength + // + this.numericUpDownSubtitleLineMaximumLength.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownSubtitleLineMaximumLength.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownSubtitleLineMaximumLength.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownSubtitleLineMaximumLength.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownSubtitleLineMaximumLength.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownSubtitleLineMaximumLength.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownSubtitleLineMaximumLength.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownSubtitleLineMaximumLength.DecimalPlaces = 0; + this.numericUpDownSubtitleLineMaximumLength.Increment = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.numericUpDownSubtitleLineMaximumLength.Location = new System.Drawing.Point(233, 20); + this.numericUpDownSubtitleLineMaximumLength.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.numericUpDownSubtitleLineMaximumLength.Minimum = new decimal(new int[] { + 10, + 0, + 0, + 0}); + this.numericUpDownSubtitleLineMaximumLength.Name = "numericUpDownSubtitleLineMaximumLength"; + this.numericUpDownSubtitleLineMaximumLength.Size = new System.Drawing.Size(73, 23); + this.numericUpDownSubtitleLineMaximumLength.TabIndex = 100; + this.numericUpDownSubtitleLineMaximumLength.TabStop = false; + this.numericUpDownSubtitleLineMaximumLength.ThousandsSeparator = false; + this.numericUpDownSubtitleLineMaximumLength.Value = new decimal(new int[] { + 100, + 0, + 0, + 0}); + this.numericUpDownSubtitleLineMaximumLength.ValueChanged += new System.EventHandler(this.UiElementChanged); + // // labelCpsLineLenCalc // this.labelCpsLineLenCalc.AutoSize = true; - this.labelCpsLineLenCalc.Location = new System.Drawing.Point(6, 316); + this.labelCpsLineLenCalc.Location = new System.Drawing.Point(6, 342); this.labelCpsLineLenCalc.Name = "labelCpsLineLenCalc"; this.labelCpsLineLenCalc.Size = new System.Drawing.Size(102, 13); this.labelCpsLineLenCalc.TabIndex = 196; @@ -170,7 +546,7 @@ // labelContinuationStyle // this.labelContinuationStyle.AutoSize = true; - this.labelContinuationStyle.Location = new System.Drawing.Point(6, 289); + this.labelContinuationStyle.Location = new System.Drawing.Point(6, 314); this.labelContinuationStyle.Name = "labelContinuationStyle"; this.labelContinuationStyle.Size = new System.Drawing.Size(90, 13); this.labelContinuationStyle.TabIndex = 195; @@ -179,7 +555,7 @@ // labelDialogStyle // this.labelDialogStyle.AutoSize = true; - this.labelDialogStyle.Location = new System.Drawing.Point(6, 260); + this.labelDialogStyle.Location = new System.Drawing.Point(6, 284); this.labelDialogStyle.Name = "labelDialogStyle"; this.labelDialogStyle.Size = new System.Drawing.Size(61, 13); this.labelDialogStyle.TabIndex = 193; @@ -188,16 +564,54 @@ // labelOptimalCharsPerSecond // this.labelOptimalCharsPerSecond.AutoSize = true; - this.labelOptimalCharsPerSecond.Location = new System.Drawing.Point(6, 43); + this.labelOptimalCharsPerSecond.Location = new System.Drawing.Point(6, 51); this.labelOptimalCharsPerSecond.Name = "labelOptimalCharsPerSecond"; this.labelOptimalCharsPerSecond.Size = new System.Drawing.Size(93, 13); this.labelOptimalCharsPerSecond.TabIndex = 8; this.labelOptimalCharsPerSecond.Text = "Optimal chars/sec"; // + // numericUpDownOptimalCharsSec + // + this.numericUpDownOptimalCharsSec.BackColor = System.Drawing.SystemColors.Window; + this.numericUpDownOptimalCharsSec.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); + this.numericUpDownOptimalCharsSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); + this.numericUpDownOptimalCharsSec.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); + this.numericUpDownOptimalCharsSec.ButtonForeColor = System.Drawing.SystemColors.ControlText; + this.numericUpDownOptimalCharsSec.ButtonForeColorDown = System.Drawing.Color.Orange; + this.numericUpDownOptimalCharsSec.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); + this.numericUpDownOptimalCharsSec.DecimalPlaces = 1; + this.numericUpDownOptimalCharsSec.Increment = new decimal(new int[] { + 1, + 0, + 0, + 65536}); + this.numericUpDownOptimalCharsSec.Location = new System.Drawing.Point(233, 49); + this.numericUpDownOptimalCharsSec.Maximum = new decimal(new int[] { + 100, + 0, + 0, + 0}); + this.numericUpDownOptimalCharsSec.Minimum = new decimal(new int[] { + 4, + 0, + 0, + 0}); + this.numericUpDownOptimalCharsSec.Name = "numericUpDownOptimalCharsSec"; + this.numericUpDownOptimalCharsSec.Size = new System.Drawing.Size(73, 23); + this.numericUpDownOptimalCharsSec.TabIndex = 110; + this.numericUpDownOptimalCharsSec.TabStop = false; + this.numericUpDownOptimalCharsSec.ThousandsSeparator = false; + this.numericUpDownOptimalCharsSec.Value = new decimal(new int[] { + 11, + 0, + 0, + 0}); + this.numericUpDownOptimalCharsSec.ValueChanged += new System.EventHandler(this.UiElementChanged); + // // labelSubMaxLen // this.labelSubMaxLen.AutoSize = true; - this.labelSubMaxLen.Location = new System.Drawing.Point(6, 16); + this.labelSubMaxLen.Location = new System.Drawing.Point(6, 22); this.labelSubMaxLen.Name = "labelSubMaxLen"; this.labelSubMaxLen.Size = new System.Drawing.Size(99, 13); this.labelSubMaxLen.TabIndex = 6; @@ -206,7 +620,7 @@ // labelMergeShortLines // this.labelMergeShortLines.AutoSize = true; - this.labelMergeShortLines.Location = new System.Drawing.Point(6, 232); + this.labelMergeShortLines.Location = new System.Drawing.Point(6, 255); this.labelMergeShortLines.Name = "labelMergeShortLines"; this.labelMergeShortLines.Size = new System.Drawing.Size(120, 13); this.labelMergeShortLines.TabIndex = 16; @@ -215,7 +629,7 @@ // labelMaxWordsPerMin // this.labelMaxWordsPerMin.AutoSize = true; - this.labelMaxWordsPerMin.Location = new System.Drawing.Point(6, 97); + this.labelMaxWordsPerMin.Location = new System.Drawing.Point(6, 109); this.labelMaxWordsPerMin.Name = "labelMaxWordsPerMin"; this.labelMaxWordsPerMin.Size = new System.Drawing.Size(82, 13); this.labelMaxWordsPerMin.TabIndex = 49; @@ -224,7 +638,7 @@ // labelMinDuration // this.labelMinDuration.AutoSize = true; - this.labelMinDuration.Location = new System.Drawing.Point(6, 124); + this.labelMinDuration.Location = new System.Drawing.Point(6, 138); this.labelMinDuration.Name = "labelMinDuration"; this.labelMinDuration.Size = new System.Drawing.Size(130, 13); this.labelMinDuration.TabIndex = 10; @@ -233,7 +647,7 @@ // labelMaxDuration // this.labelMaxDuration.AutoSize = true; - this.labelMaxDuration.Location = new System.Drawing.Point(6, 150); + this.labelMaxDuration.Location = new System.Drawing.Point(6, 167); this.labelMaxDuration.Name = "labelMaxDuration"; this.labelMaxDuration.Size = new System.Drawing.Size(133, 13); this.labelMaxDuration.TabIndex = 12; @@ -242,7 +656,7 @@ // labelMaxLines // this.labelMaxLines.AutoSize = true; - this.labelMaxLines.Location = new System.Drawing.Point(6, 203); + this.labelMaxLines.Location = new System.Drawing.Point(6, 225); this.labelMaxLines.Name = "labelMaxLines"; this.labelMaxLines.Size = new System.Drawing.Size(104, 13); this.labelMaxLines.TabIndex = 47; @@ -251,7 +665,7 @@ // labelMaxCharsPerSecond // this.labelMaxCharsPerSecond.AutoSize = true; - this.labelMaxCharsPerSecond.Location = new System.Drawing.Point(6, 70); + this.labelMaxCharsPerSecond.Location = new System.Drawing.Point(6, 80); this.labelMaxCharsPerSecond.Name = "labelMaxCharsPerSecond"; this.labelMaxCharsPerSecond.Size = new System.Drawing.Size(81, 13); this.labelMaxCharsPerSecond.TabIndex = 9; @@ -260,7 +674,7 @@ // labelMinGapMs // this.labelMinGapMs.AutoSize = true; - this.labelMinGapMs.Location = new System.Drawing.Point(6, 176); + this.labelMinGapMs.Location = new System.Drawing.Point(6, 194); this.labelMinGapMs.Name = "labelMinGapMs"; this.labelMinGapMs.Size = new System.Drawing.Size(133, 13); this.labelMinGapMs.TabIndex = 14; @@ -355,7 +769,7 @@ this.listViewProfiles.Location = new System.Drawing.Point(6, 19); this.listViewProfiles.MultiSelect = false; this.listViewProfiles.Name = "listViewProfiles"; - this.listViewProfiles.Size = new System.Drawing.Size(616, 402); + this.listViewProfiles.Size = new System.Drawing.Size(603, 402); this.listViewProfiles.TabIndex = 10; this.listViewProfiles.UseCompatibleStateImageBehavior = false; this.listViewProfiles.View = System.Windows.Forms.View.Details; @@ -422,420 +836,6 @@ this.toolTipDialogStylePreview.InitialDelay = 500; this.toolTipDialogStylePreview.ReshowDelay = 100; // - // textBoxName - // - this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.textBoxName.FocusedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.textBoxName.Location = new System.Drawing.Point(660, 35); - this.textBoxName.Name = "textBoxName"; - this.textBoxName.Size = new System.Drawing.Size(250, 20); - this.textBoxName.TabIndex = 80; - this.textBoxName.TextChanged += new System.EventHandler(this.textBoxName_TextChanged); - // - // comboBoxCpsLineLenCalc - // - this.comboBoxCpsLineLenCalc.BackColor = System.Drawing.SystemColors.Window; - this.comboBoxCpsLineLenCalc.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.comboBoxCpsLineLenCalc.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.comboBoxCpsLineLenCalc.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.comboBoxCpsLineLenCalc.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.comboBoxCpsLineLenCalc.ButtonForeColorDown = System.Drawing.Color.Orange; - this.comboBoxCpsLineLenCalc.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.comboBoxCpsLineLenCalc.DropDownHeight = 400; - this.comboBoxCpsLineLenCalc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxCpsLineLenCalc.DropDownWidth = 170; - this.comboBoxCpsLineLenCalc.FormattingEnabled = true; - this.comboBoxCpsLineLenCalc.Location = new System.Drawing.Point(132, 313); - this.comboBoxCpsLineLenCalc.MaxLength = 32767; - this.comboBoxCpsLineLenCalc.Name = "comboBoxCpsLineLenCalc"; - this.comboBoxCpsLineLenCalc.SelectedIndex = -1; - this.comboBoxCpsLineLenCalc.SelectedItem = null; - this.comboBoxCpsLineLenCalc.SelectedText = ""; - this.comboBoxCpsLineLenCalc.Size = new System.Drawing.Size(174, 21); - this.comboBoxCpsLineLenCalc.TabIndex = 197; - this.comboBoxCpsLineLenCalc.UsePopupWindow = false; - // - // comboBoxContinuationStyle - // - this.comboBoxContinuationStyle.BackColor = System.Drawing.SystemColors.Window; - this.comboBoxContinuationStyle.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.comboBoxContinuationStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.comboBoxContinuationStyle.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.comboBoxContinuationStyle.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.comboBoxContinuationStyle.ButtonForeColorDown = System.Drawing.Color.Orange; - this.comboBoxContinuationStyle.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.comboBoxContinuationStyle.DropDownHeight = 400; - this.comboBoxContinuationStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxContinuationStyle.DropDownWidth = 260; - this.comboBoxContinuationStyle.FormattingEnabled = true; - this.comboBoxContinuationStyle.Location = new System.Drawing.Point(132, 285); - this.comboBoxContinuationStyle.MaxLength = 32767; - this.comboBoxContinuationStyle.Name = "comboBoxContinuationStyle"; - this.comboBoxContinuationStyle.SelectedIndex = -1; - this.comboBoxContinuationStyle.SelectedItem = null; - this.comboBoxContinuationStyle.SelectedText = ""; - this.comboBoxContinuationStyle.Size = new System.Drawing.Size(157, 21); - this.comboBoxContinuationStyle.TabIndex = 195; - this.comboBoxContinuationStyle.UsePopupWindow = false; - this.comboBoxContinuationStyle.SelectedIndexChanged += new System.EventHandler(this.UiElementChanged); - // - // comboBoxDialogStyle - // - this.comboBoxDialogStyle.BackColor = System.Drawing.SystemColors.Window; - this.comboBoxDialogStyle.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.comboBoxDialogStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.comboBoxDialogStyle.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.comboBoxDialogStyle.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.comboBoxDialogStyle.ButtonForeColorDown = System.Drawing.Color.Orange; - this.comboBoxDialogStyle.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.comboBoxDialogStyle.DropDownHeight = 400; - this.comboBoxDialogStyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxDialogStyle.DropDownWidth = 260; - this.comboBoxDialogStyle.FormattingEnabled = true; - this.comboBoxDialogStyle.Items.AddRange(new object[] { - "Dash both lines with space", - "Dash both lines without space", - "Dash second line with space", - "Dash second line without space"}); - this.comboBoxDialogStyle.Location = new System.Drawing.Point(103, 257); - this.comboBoxDialogStyle.MaxLength = 32767; - this.comboBoxDialogStyle.Name = "comboBoxDialogStyle"; - this.comboBoxDialogStyle.SelectedIndex = -1; - this.comboBoxDialogStyle.SelectedItem = null; - this.comboBoxDialogStyle.SelectedText = ""; - this.comboBoxDialogStyle.Size = new System.Drawing.Size(203, 21); - this.comboBoxDialogStyle.TabIndex = 194; - this.comboBoxDialogStyle.UsePopupWindow = false; - this.comboBoxDialogStyle.SelectedIndexChanged += new System.EventHandler(this.UiElementChanged); - // - // comboBoxMergeShortLineLength - // - this.comboBoxMergeShortLineLength.BackColor = System.Drawing.SystemColors.Window; - this.comboBoxMergeShortLineLength.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.comboBoxMergeShortLineLength.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.comboBoxMergeShortLineLength.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.comboBoxMergeShortLineLength.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.comboBoxMergeShortLineLength.ButtonForeColorDown = System.Drawing.Color.Orange; - this.comboBoxMergeShortLineLength.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.comboBoxMergeShortLineLength.DropDownHeight = 400; - this.comboBoxMergeShortLineLength.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxMergeShortLineLength.DropDownWidth = 73; - this.comboBoxMergeShortLineLength.FormattingEnabled = true; - this.comboBoxMergeShortLineLength.Location = new System.Drawing.Point(233, 229); - this.comboBoxMergeShortLineLength.MaxLength = 32767; - this.comboBoxMergeShortLineLength.Name = "comboBoxMergeShortLineLength"; - this.comboBoxMergeShortLineLength.SelectedIndex = -1; - this.comboBoxMergeShortLineLength.SelectedItem = null; - this.comboBoxMergeShortLineLength.SelectedText = ""; - this.comboBoxMergeShortLineLength.Size = new System.Drawing.Size(73, 21); - this.comboBoxMergeShortLineLength.TabIndex = 180; - this.comboBoxMergeShortLineLength.UsePopupWindow = false; - this.comboBoxMergeShortLineLength.SelectedIndexChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownMaxNumberOfLines - // - this.numericUpDownMaxNumberOfLines.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownMaxNumberOfLines.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownMaxNumberOfLines.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownMaxNumberOfLines.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownMaxNumberOfLines.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownMaxNumberOfLines.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownMaxNumberOfLines.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownMaxNumberOfLines.DecimalPlaces = 0; - this.numericUpDownMaxNumberOfLines.Increment = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericUpDownMaxNumberOfLines.Location = new System.Drawing.Point(233, 201); - this.numericUpDownMaxNumberOfLines.Maximum = new decimal(new int[] { - 25, - 0, - 0, - 0}); - this.numericUpDownMaxNumberOfLines.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericUpDownMaxNumberOfLines.Name = "numericUpDownMaxNumberOfLines"; - this.numericUpDownMaxNumberOfLines.Size = new System.Drawing.Size(73, 20); - this.numericUpDownMaxNumberOfLines.TabIndex = 170; - this.numericUpDownMaxNumberOfLines.TabStop = false; - this.numericUpDownMaxNumberOfLines.ThousandsSeparator = false; - this.numericUpDownMaxNumberOfLines.Value = new decimal(new int[] { - 2, - 0, - 0, - 0}); - this.numericUpDownMaxNumberOfLines.ValueChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownMinGapMs - // - this.numericUpDownMinGapMs.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownMinGapMs.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownMinGapMs.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownMinGapMs.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownMinGapMs.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownMinGapMs.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownMinGapMs.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownMinGapMs.DecimalPlaces = 0; - this.numericUpDownMinGapMs.Increment = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericUpDownMinGapMs.Location = new System.Drawing.Point(233, 176); - this.numericUpDownMinGapMs.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.numericUpDownMinGapMs.Minimum = new decimal(new int[] { - 0, - 0, - 0, - 0}); - this.numericUpDownMinGapMs.Name = "numericUpDownMinGapMs"; - this.numericUpDownMinGapMs.Size = new System.Drawing.Size(73, 20); - this.numericUpDownMinGapMs.TabIndex = 160; - this.numericUpDownMinGapMs.TabStop = false; - this.numericUpDownMinGapMs.ThousandsSeparator = false; - this.numericUpDownMinGapMs.Value = new decimal(new int[] { - 25, - 0, - 0, - 0}); - this.numericUpDownMinGapMs.ValueChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownDurationMax - // - this.numericUpDownDurationMax.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownDurationMax.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownDurationMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownDurationMax.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownDurationMax.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownDurationMax.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownDurationMax.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownDurationMax.DecimalPlaces = 0; - this.numericUpDownDurationMax.Increment = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericUpDownDurationMax.Location = new System.Drawing.Point(233, 148); - this.numericUpDownDurationMax.Maximum = new decimal(new int[] { - 50000, - 0, - 0, - 0}); - this.numericUpDownDurationMax.Minimum = new decimal(new int[] { - 3000, - 0, - 0, - 0}); - this.numericUpDownDurationMax.Name = "numericUpDownDurationMax"; - this.numericUpDownDurationMax.Size = new System.Drawing.Size(73, 20); - this.numericUpDownDurationMax.TabIndex = 150; - this.numericUpDownDurationMax.TabStop = false; - this.numericUpDownDurationMax.ThousandsSeparator = false; - this.numericUpDownDurationMax.Value = new decimal(new int[] { - 50000, - 0, - 0, - 0}); - this.numericUpDownDurationMax.ValueChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownDurationMin - // - this.numericUpDownDurationMin.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownDurationMin.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownDurationMin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownDurationMin.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownDurationMin.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownDurationMin.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownDurationMin.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownDurationMin.DecimalPlaces = 0; - this.numericUpDownDurationMin.Increment = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericUpDownDurationMin.Location = new System.Drawing.Point(233, 122); - this.numericUpDownDurationMin.Maximum = new decimal(new int[] { - 2000, - 0, - 0, - 0}); - this.numericUpDownDurationMin.Minimum = new decimal(new int[] { - 100, - 0, - 0, - 0}); - this.numericUpDownDurationMin.Name = "numericUpDownDurationMin"; - this.numericUpDownDurationMin.Size = new System.Drawing.Size(73, 20); - this.numericUpDownDurationMin.TabIndex = 140; - this.numericUpDownDurationMin.TabStop = false; - this.numericUpDownDurationMin.ThousandsSeparator = false; - this.numericUpDownDurationMin.Value = new decimal(new int[] { - 100, - 0, - 0, - 0}); - this.numericUpDownDurationMin.ValueChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownMaxWordsMin - // - this.numericUpDownMaxWordsMin.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownMaxWordsMin.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownMaxWordsMin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownMaxWordsMin.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownMaxWordsMin.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownMaxWordsMin.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownMaxWordsMin.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownMaxWordsMin.DecimalPlaces = 0; - this.numericUpDownMaxWordsMin.Increment = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericUpDownMaxWordsMin.Location = new System.Drawing.Point(233, 95); - this.numericUpDownMaxWordsMin.Maximum = new decimal(new int[] { - 1000, - 0, - 0, - 0}); - this.numericUpDownMaxWordsMin.Minimum = new decimal(new int[] { - 4, - 0, - 0, - 0}); - this.numericUpDownMaxWordsMin.Name = "numericUpDownMaxWordsMin"; - this.numericUpDownMaxWordsMin.Size = new System.Drawing.Size(73, 20); - this.numericUpDownMaxWordsMin.TabIndex = 130; - this.numericUpDownMaxWordsMin.TabStop = false; - this.numericUpDownMaxWordsMin.ThousandsSeparator = false; - this.numericUpDownMaxWordsMin.Value = new decimal(new int[] { - 300, - 0, - 0, - 0}); - this.numericUpDownMaxWordsMin.ValueChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownMaxCharsSec - // - this.numericUpDownMaxCharsSec.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownMaxCharsSec.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownMaxCharsSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownMaxCharsSec.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownMaxCharsSec.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownMaxCharsSec.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownMaxCharsSec.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownMaxCharsSec.DecimalPlaces = 1; - this.numericUpDownMaxCharsSec.Increment = new decimal(new int[] { - 1, - 0, - 0, - 65536}); - this.numericUpDownMaxCharsSec.Location = new System.Drawing.Point(233, 68); - this.numericUpDownMaxCharsSec.Maximum = new decimal(new int[] { - 100, - 0, - 0, - 0}); - this.numericUpDownMaxCharsSec.Minimum = new decimal(new int[] { - 4, - 0, - 0, - 0}); - this.numericUpDownMaxCharsSec.Name = "numericUpDownMaxCharsSec"; - this.numericUpDownMaxCharsSec.Size = new System.Drawing.Size(73, 20); - this.numericUpDownMaxCharsSec.TabIndex = 120; - this.numericUpDownMaxCharsSec.TabStop = false; - this.numericUpDownMaxCharsSec.ThousandsSeparator = false; - this.numericUpDownMaxCharsSec.Value = new decimal(new int[] { - 24, - 0, - 0, - 0}); - this.numericUpDownMaxCharsSec.ValueChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownSubtitleLineMaximumLength - // - this.numericUpDownSubtitleLineMaximumLength.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownSubtitleLineMaximumLength.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownSubtitleLineMaximumLength.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownSubtitleLineMaximumLength.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownSubtitleLineMaximumLength.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownSubtitleLineMaximumLength.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownSubtitleLineMaximumLength.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownSubtitleLineMaximumLength.DecimalPlaces = 0; - this.numericUpDownSubtitleLineMaximumLength.Increment = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericUpDownSubtitleLineMaximumLength.Location = new System.Drawing.Point(233, 14); - this.numericUpDownSubtitleLineMaximumLength.Maximum = new decimal(new int[] { - 999, - 0, - 0, - 0}); - this.numericUpDownSubtitleLineMaximumLength.Minimum = new decimal(new int[] { - 10, - 0, - 0, - 0}); - this.numericUpDownSubtitleLineMaximumLength.Name = "numericUpDownSubtitleLineMaximumLength"; - this.numericUpDownSubtitleLineMaximumLength.Size = new System.Drawing.Size(73, 20); - this.numericUpDownSubtitleLineMaximumLength.TabIndex = 100; - this.numericUpDownSubtitleLineMaximumLength.TabStop = false; - this.numericUpDownSubtitleLineMaximumLength.ThousandsSeparator = false; - this.numericUpDownSubtitleLineMaximumLength.Value = new decimal(new int[] { - 100, - 0, - 0, - 0}); - this.numericUpDownSubtitleLineMaximumLength.ValueChanged += new System.EventHandler(this.UiElementChanged); - // - // numericUpDownOptimalCharsSec - // - this.numericUpDownOptimalCharsSec.BackColor = System.Drawing.SystemColors.Window; - this.numericUpDownOptimalCharsSec.BackColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); - this.numericUpDownOptimalCharsSec.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(173)))), ((int)(((byte)(179))))); - this.numericUpDownOptimalCharsSec.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(120)))), ((int)(((byte)(120)))), ((int)(((byte)(120))))); - this.numericUpDownOptimalCharsSec.ButtonForeColor = System.Drawing.SystemColors.ControlText; - this.numericUpDownOptimalCharsSec.ButtonForeColorDown = System.Drawing.Color.Orange; - this.numericUpDownOptimalCharsSec.ButtonForeColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215))))); - this.numericUpDownOptimalCharsSec.DecimalPlaces = 1; - this.numericUpDownOptimalCharsSec.Increment = new decimal(new int[] { - 1, - 0, - 0, - 65536}); - this.numericUpDownOptimalCharsSec.Location = new System.Drawing.Point(233, 41); - this.numericUpDownOptimalCharsSec.Maximum = new decimal(new int[] { - 100, - 0, - 0, - 0}); - this.numericUpDownOptimalCharsSec.Minimum = new decimal(new int[] { - 4, - 0, - 0, - 0}); - this.numericUpDownOptimalCharsSec.Name = "numericUpDownOptimalCharsSec"; - this.numericUpDownOptimalCharsSec.Size = new System.Drawing.Size(73, 20); - this.numericUpDownOptimalCharsSec.TabIndex = 110; - this.numericUpDownOptimalCharsSec.TabStop = false; - this.numericUpDownOptimalCharsSec.ThousandsSeparator = false; - this.numericUpDownOptimalCharsSec.Value = new decimal(new int[] { - 11, - 0, - 0, - 0}); - this.numericUpDownOptimalCharsSec.ValueChanged += new System.EventHandler(this.UiElementChanged); - // // SettingsProfile // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);