mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 15:02:35 +01:00
3c769fd5b8
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1005 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
264 lines
14 KiB
C#
264 lines
14 KiB
C#
using Nikse.SubtitleEdit.Controls;
|
|
|
|
namespace Nikse.SubtitleEdit.Forms
|
|
{
|
|
partial class MergeShortLines
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.buttonOK = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.numericUpDownMaxCharacters = new System.Windows.Forms.NumericUpDown();
|
|
this.labelMaxCharacters = new System.Windows.Forms.Label();
|
|
this.labelMaxMillisecondsBetweenLines = new System.Windows.Forms.Label();
|
|
this.numericUpDownMaxMillisecondsBetweenLines = new System.Windows.Forms.NumericUpDown();
|
|
this.groupBoxLinesFound = new System.Windows.Forms.GroupBox();
|
|
this.listViewFixes = new System.Windows.Forms.ListView();
|
|
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
|
this.checkBoxOnlyContinuationLines = new System.Windows.Forms.CheckBox();
|
|
this.SubtitleListview1 = new Nikse.SubtitleEdit.Controls.SubtitleListView();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxCharacters)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxMillisecondsBetweenLines)).BeginInit();
|
|
this.groupBoxLinesFound.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// buttonOK
|
|
//
|
|
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonOK.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.buttonOK.Location = new System.Drawing.Point(608, 562);
|
|
this.buttonOK.Name = "buttonOK";
|
|
this.buttonOK.Size = new System.Drawing.Size(75, 21);
|
|
this.buttonOK.TabIndex = 6;
|
|
this.buttonOK.Text = "&OK";
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
|
this.buttonOK.Click += new System.EventHandler(this.ButtonOkClick);
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.buttonCancel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.buttonCancel.Location = new System.Drawing.Point(689, 562);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 21);
|
|
this.buttonCancel.TabIndex = 8;
|
|
this.buttonCancel.Text = "C&ancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancelClick);
|
|
//
|
|
// numericUpDownMaxCharacters
|
|
//
|
|
this.numericUpDownMaxCharacters.Location = new System.Drawing.Point(190, 27);
|
|
this.numericUpDownMaxCharacters.Maximum = new decimal(new int[] {
|
|
200,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownMaxCharacters.Minimum = new decimal(new int[] {
|
|
10,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownMaxCharacters.Name = "numericUpDownMaxCharacters";
|
|
this.numericUpDownMaxCharacters.Size = new System.Drawing.Size(64, 21);
|
|
this.numericUpDownMaxCharacters.TabIndex = 0;
|
|
this.numericUpDownMaxCharacters.Value = new decimal(new int[] {
|
|
65,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownMaxCharacters.ValueChanged += new System.EventHandler(this.NumericUpDownMaxCharactersValueChanged);
|
|
//
|
|
// labelMaxCharacters
|
|
//
|
|
this.labelMaxCharacters.AutoSize = true;
|
|
this.labelMaxCharacters.Location = new System.Drawing.Point(187, 9);
|
|
this.labelMaxCharacters.Name = "labelMaxCharacters";
|
|
this.labelMaxCharacters.Size = new System.Drawing.Size(190, 13);
|
|
this.labelMaxCharacters.TabIndex = 32;
|
|
this.labelMaxCharacters.Text = "Maximum characters in one paragraph";
|
|
//
|
|
// labelMaxMillisecondsBetweenLines
|
|
//
|
|
this.labelMaxMillisecondsBetweenLines.AutoSize = true;
|
|
this.labelMaxMillisecondsBetweenLines.Location = new System.Drawing.Point(483, 9);
|
|
this.labelMaxMillisecondsBetweenLines.Name = "labelMaxMillisecondsBetweenLines";
|
|
this.labelMaxMillisecondsBetweenLines.Size = new System.Drawing.Size(178, 13);
|
|
this.labelMaxMillisecondsBetweenLines.TabIndex = 33;
|
|
this.labelMaxMillisecondsBetweenLines.Text = "Maximum milliseconds between lines";
|
|
//
|
|
// numericUpDownMaxMillisecondsBetweenLines
|
|
//
|
|
this.numericUpDownMaxMillisecondsBetweenLines.Location = new System.Drawing.Point(486, 26);
|
|
this.numericUpDownMaxMillisecondsBetweenLines.Maximum = new decimal(new int[] {
|
|
2000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownMaxMillisecondsBetweenLines.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownMaxMillisecondsBetweenLines.Name = "numericUpDownMaxMillisecondsBetweenLines";
|
|
this.numericUpDownMaxMillisecondsBetweenLines.Size = new System.Drawing.Size(64, 21);
|
|
this.numericUpDownMaxMillisecondsBetweenLines.TabIndex = 2;
|
|
this.numericUpDownMaxMillisecondsBetweenLines.Value = new decimal(new int[] {
|
|
250,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDownMaxMillisecondsBetweenLines.ValueChanged += new System.EventHandler(this.NumericUpDownMaxMillisecondsBetweenLinesValueChanged);
|
|
//
|
|
// groupBoxLinesFound
|
|
//
|
|
this.groupBoxLinesFound.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBoxLinesFound.Controls.Add(this.listViewFixes);
|
|
this.groupBoxLinesFound.Location = new System.Drawing.Point(13, 68);
|
|
this.groupBoxLinesFound.Name = "groupBoxLinesFound";
|
|
this.groupBoxLinesFound.Size = new System.Drawing.Size(752, 200);
|
|
this.groupBoxLinesFound.TabIndex = 36;
|
|
this.groupBoxLinesFound.TabStop = false;
|
|
this.groupBoxLinesFound.Text = "Lines that will be merged";
|
|
//
|
|
// listViewFixes
|
|
//
|
|
this.listViewFixes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.listViewFixes.CheckBoxes = true;
|
|
this.listViewFixes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.columnHeader4,
|
|
this.columnHeader5,
|
|
this.columnHeader7});
|
|
this.listViewFixes.FullRowSelect = true;
|
|
this.listViewFixes.Location = new System.Drawing.Point(6, 23);
|
|
this.listViewFixes.Name = "listViewFixes";
|
|
this.listViewFixes.Size = new System.Drawing.Size(740, 171);
|
|
this.listViewFixes.TabIndex = 0;
|
|
this.listViewFixes.UseCompatibleStateImageBehavior = false;
|
|
this.listViewFixes.View = System.Windows.Forms.View.Details;
|
|
this.listViewFixes.SelectedIndexChanged += new System.EventHandler(this.listViewFixes_SelectedIndexChanged);
|
|
//
|
|
// columnHeader4
|
|
//
|
|
this.columnHeader4.Text = "Apply";
|
|
this.columnHeader4.Width = 45;
|
|
//
|
|
// columnHeader5
|
|
//
|
|
this.columnHeader5.Text = "Line#";
|
|
this.columnHeader5.Width = 122;
|
|
//
|
|
// columnHeader7
|
|
//
|
|
this.columnHeader7.Text = "New text";
|
|
this.columnHeader7.Width = 500;
|
|
//
|
|
// checkBoxOnlyContinuationLines
|
|
//
|
|
this.checkBoxOnlyContinuationLines.AutoSize = true;
|
|
this.checkBoxOnlyContinuationLines.Checked = true;
|
|
this.checkBoxOnlyContinuationLines.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkBoxOnlyContinuationLines.Location = new System.Drawing.Point(190, 54);
|
|
this.checkBoxOnlyContinuationLines.Name = "checkBoxOnlyContinuationLines";
|
|
this.checkBoxOnlyContinuationLines.Size = new System.Drawing.Size(167, 17);
|
|
this.checkBoxOnlyContinuationLines.TabIndex = 37;
|
|
this.checkBoxOnlyContinuationLines.Text = "Only merge continuation lines";
|
|
this.checkBoxOnlyContinuationLines.UseVisualStyleBackColor = true;
|
|
this.checkBoxOnlyContinuationLines.CheckedChanged += new System.EventHandler(this.checkBoxOnlyContinuationLines_CheckedChanged);
|
|
//
|
|
// SubtitleListview1
|
|
//
|
|
this.SubtitleListview1.AllowDrop = true;
|
|
this.SubtitleListview1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.SubtitleListview1.DisplayExtraFromExtra = false;
|
|
this.SubtitleListview1.FirstVisibleIndex = -1;
|
|
this.SubtitleListview1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.SubtitleListview1.FullRowSelect = true;
|
|
this.SubtitleListview1.GridLines = true;
|
|
this.SubtitleListview1.HideSelection = false;
|
|
this.SubtitleListview1.Location = new System.Drawing.Point(10, 274);
|
|
this.SubtitleListview1.Name = "SubtitleListview1";
|
|
this.SubtitleListview1.Size = new System.Drawing.Size(757, 282);
|
|
this.SubtitleListview1.TabIndex = 4;
|
|
this.SubtitleListview1.UseCompatibleStateImageBehavior = false;
|
|
this.SubtitleListview1.View = System.Windows.Forms.View.Details;
|
|
//
|
|
// MergeShortLines
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(776, 595);
|
|
this.Controls.Add(this.checkBoxOnlyContinuationLines);
|
|
this.Controls.Add(this.numericUpDownMaxCharacters);
|
|
this.Controls.Add(this.groupBoxLinesFound);
|
|
this.Controls.Add(this.numericUpDownMaxMillisecondsBetweenLines);
|
|
this.Controls.Add(this.labelMaxMillisecondsBetweenLines);
|
|
this.Controls.Add(this.labelMaxCharacters);
|
|
this.Controls.Add(this.SubtitleListview1);
|
|
this.Controls.Add(this.buttonOK);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.KeyPreview = true;
|
|
this.MinimumSize = new System.Drawing.Size(750, 400);
|
|
this.Name = "MergeShortLines";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.Text = "MergeShortLines";
|
|
this.Shown += new System.EventHandler(this.MergeShortLines_Shown);
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MergeShortLines_KeyDown);
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxCharacters)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDownMaxMillisecondsBetweenLines)).EndInit();
|
|
this.groupBoxLinesFound.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button buttonOK;
|
|
private System.Windows.Forms.Button buttonCancel;
|
|
private SubtitleListView SubtitleListview1;
|
|
private System.Windows.Forms.NumericUpDown numericUpDownMaxCharacters;
|
|
private System.Windows.Forms.Label labelMaxCharacters;
|
|
private System.Windows.Forms.Label labelMaxMillisecondsBetweenLines;
|
|
private System.Windows.Forms.NumericUpDown numericUpDownMaxMillisecondsBetweenLines;
|
|
private System.Windows.Forms.GroupBox groupBoxLinesFound;
|
|
private System.Windows.Forms.ListView listViewFixes;
|
|
private System.Windows.Forms.ColumnHeader columnHeader4;
|
|
private System.Windows.Forms.ColumnHeader columnHeader5;
|
|
private System.Windows.Forms.ColumnHeader columnHeader7;
|
|
private System.Windows.Forms.CheckBox checkBoxOnlyContinuationLines;
|
|
}
|
|
} |