2010-10-12 13:17:56 +02:00
|
|
|
|
using Nikse.SubtitleEdit.Logic;
|
|
|
|
|
namespace Nikse.SubtitleEdit.Forms
|
|
|
|
|
{
|
|
|
|
|
sealed partial class VisualSync
|
|
|
|
|
{
|
|
|
|
|
/// <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.components = new System.ComponentModel.Container();
|
|
|
|
|
this.buttonOpenMovie = new System.Windows.Forms.Button();
|
|
|
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
|
|
|
this.buttonOK = new System.Windows.Forms.Button();
|
|
|
|
|
this.groupBoxStartScene = new System.Windows.Forms.GroupBox();
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerStart = new Nikse.SubtitleEdit.Controls.VideoPlayerContainer();
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.panelControlsStart = new System.Windows.Forms.Panel();
|
|
|
|
|
this.buttonStartVerify = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonGotoStartSubtitlePosition = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonFindTextStart = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonStartThreeSecondsBack = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonStartHalfASecondBack = new System.Windows.Forms.Button();
|
|
|
|
|
this.comboBoxStartTexts = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.groupBoxEndScene = new System.Windows.Forms.GroupBox();
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerEnd = new Nikse.SubtitleEdit.Controls.VideoPlayerContainer();
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.panelControlsEnd = new System.Windows.Forms.Panel();
|
|
|
|
|
this.buttonEndVerify = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonGotoEndSubtitlePosition = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonFindTextEnd = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonThreeSecondsBack = new System.Windows.Forms.Button();
|
|
|
|
|
this.buttonEndHalfASecondBack = new System.Windows.Forms.Button();
|
|
|
|
|
this.comboBoxEndTexts = new System.Windows.Forms.ComboBox();
|
|
|
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
|
|
|
this.labelVideoInfo = new System.Windows.Forms.Label();
|
|
|
|
|
this.groupBoxMovieInfo = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.buttonSync = new System.Windows.Forms.Button();
|
|
|
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
|
|
|
this.labelTip = new System.Windows.Forms.Label();
|
2011-02-08 18:07:51 +01:00
|
|
|
|
this.timerProgressBarRefresh = new System.Windows.Forms.Timer(this.components);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.groupBoxStartScene.SuspendLayout();
|
|
|
|
|
this.panelControlsStart.SuspendLayout();
|
|
|
|
|
this.groupBoxEndScene.SuspendLayout();
|
|
|
|
|
this.panelControlsEnd.SuspendLayout();
|
|
|
|
|
this.groupBoxMovieInfo.SuspendLayout();
|
|
|
|
|
this.SuspendLayout();
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonOpenMovie
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonOpenMovie.Location = new System.Drawing.Point(12, 12);
|
|
|
|
|
this.buttonOpenMovie.Name = "buttonOpenMovie";
|
|
|
|
|
this.buttonOpenMovie.Size = new System.Drawing.Size(100, 21);
|
|
|
|
|
this.buttonOpenMovie.TabIndex = 5;
|
|
|
|
|
this.buttonOpenMovie.Text = "Open movie...";
|
|
|
|
|
this.buttonOpenMovie.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonOpenMovie.Click += new System.EventHandler(this.ButtonOpenMovieClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// timer1
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2011-02-07 18:13:27 +01:00
|
|
|
|
this.timer1.Interval = 50;
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.timer1.Tick += new System.EventHandler(this.Timer1Tick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonOK
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
|
|
|
this.buttonOK.Location = new System.Drawing.Point(749, 498);
|
|
|
|
|
this.buttonOK.Name = "buttonOK";
|
|
|
|
|
this.buttonOK.Size = new System.Drawing.Size(75, 21);
|
|
|
|
|
this.buttonOK.TabIndex = 3;
|
|
|
|
|
this.buttonOK.Text = "&OK";
|
|
|
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// groupBoxStartScene
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.groupBoxStartScene.Controls.Add(this.MediaPlayerStart);
|
|
|
|
|
this.groupBoxStartScene.Controls.Add(this.panelControlsStart);
|
|
|
|
|
this.groupBoxStartScene.Location = new System.Drawing.Point(12, 65);
|
|
|
|
|
this.groupBoxStartScene.Name = "groupBoxStartScene";
|
|
|
|
|
this.groupBoxStartScene.Size = new System.Drawing.Size(450, 399);
|
|
|
|
|
this.groupBoxStartScene.TabIndex = 0;
|
|
|
|
|
this.groupBoxStartScene.TabStop = false;
|
|
|
|
|
this.groupBoxStartScene.Text = "Start scene";
|
|
|
|
|
this.groupBoxStartScene.Enter += new System.EventHandler(this.GroupBoxStartSceneEnter);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-14 20:45:13 +02:00
|
|
|
|
// MediaPlayerStart
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerStart.BackColor = System.Drawing.Color.Black;
|
|
|
|
|
this.MediaPlayerStart.CurrentPosition = 0D;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
this.MediaPlayerStart.FontSizeFactor = 1F;
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerStart.Location = new System.Drawing.Point(6, 34);
|
|
|
|
|
this.MediaPlayerStart.Name = "MediaPlayerStart";
|
|
|
|
|
this.MediaPlayerStart.ShowStopButton = true;
|
2011-01-01 17:56:46 +01:00
|
|
|
|
this.MediaPlayerStart.Size = new System.Drawing.Size(450, 287);
|
|
|
|
|
this.MediaPlayerStart.SubtitleText = "";
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerStart.TabIndex = 13;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
this.MediaPlayerStart.TextRightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
|
|
|
this.MediaPlayerStart.VideoHeight = 0;
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerStart.VideoPlayer = null;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
this.MediaPlayerStart.VideoWidth = 0;
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerStart.Volume = 0D;
|
|
|
|
|
this.MediaPlayerStart.OnButtonClicked += new System.EventHandler(this.MediaPlayerStart_OnButtonClicked);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// panelControlsStart
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.panelControlsStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
|
|
this.panelControlsStart.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.panelControlsStart.Controls.Add(this.buttonStartVerify);
|
|
|
|
|
this.panelControlsStart.Controls.Add(this.buttonGotoStartSubtitlePosition);
|
|
|
|
|
this.panelControlsStart.Controls.Add(this.buttonFindTextStart);
|
|
|
|
|
this.panelControlsStart.Controls.Add(this.buttonStartThreeSecondsBack);
|
|
|
|
|
this.panelControlsStart.Controls.Add(this.buttonStartHalfASecondBack);
|
|
|
|
|
this.panelControlsStart.Controls.Add(this.comboBoxStartTexts);
|
|
|
|
|
this.panelControlsStart.Location = new System.Drawing.Point(6, 327);
|
|
|
|
|
this.panelControlsStart.Name = "panelControlsStart";
|
|
|
|
|
this.panelControlsStart.Size = new System.Drawing.Size(438, 68);
|
|
|
|
|
this.panelControlsStart.TabIndex = 1;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonStartVerify
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonStartVerify.Location = new System.Drawing.Point(138, 37);
|
|
|
|
|
this.buttonStartVerify.Name = "buttonStartVerify";
|
|
|
|
|
this.buttonStartVerify.Size = new System.Drawing.Size(119, 21);
|
|
|
|
|
this.buttonStartVerify.TabIndex = 3;
|
|
|
|
|
this.buttonStartVerify.Text = "Play 2 secs and back";
|
|
|
|
|
this.buttonStartVerify.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonStartVerify.Click += new System.EventHandler(this.ButtonStartVerifyClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonGotoStartSubtitlePosition
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonGotoStartSubtitlePosition.Location = new System.Drawing.Point(263, 37);
|
|
|
|
|
this.buttonGotoStartSubtitlePosition.Name = "buttonGotoStartSubtitlePosition";
|
|
|
|
|
this.buttonGotoStartSubtitlePosition.Size = new System.Drawing.Size(90, 21);
|
|
|
|
|
this.buttonGotoStartSubtitlePosition.TabIndex = 4;
|
|
|
|
|
this.buttonGotoStartSubtitlePosition.Text = "Goto sub pos";
|
|
|
|
|
this.buttonGotoStartSubtitlePosition.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonGotoStartSubtitlePosition.Click += new System.EventHandler(this.ButtonGotoStartSubtitlePositionClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonFindTextStart
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonFindTextStart.Location = new System.Drawing.Point(359, 37);
|
|
|
|
|
this.buttonFindTextStart.Name = "buttonFindTextStart";
|
|
|
|
|
this.buttonFindTextStart.Size = new System.Drawing.Size(70, 21);
|
|
|
|
|
this.buttonFindTextStart.TabIndex = 5;
|
|
|
|
|
this.buttonFindTextStart.Text = "Find text...";
|
|
|
|
|
this.buttonFindTextStart.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonFindTextStart.Click += new System.EventHandler(this.ButtonFindTextStartClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonStartThreeSecondsBack
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonStartThreeSecondsBack.Location = new System.Drawing.Point(6, 37);
|
|
|
|
|
this.buttonStartThreeSecondsBack.Name = "buttonStartThreeSecondsBack";
|
|
|
|
|
this.buttonStartThreeSecondsBack.Size = new System.Drawing.Size(60, 21);
|
|
|
|
|
this.buttonStartThreeSecondsBack.TabIndex = 1;
|
|
|
|
|
this.buttonStartThreeSecondsBack.Text = "< 3 secs";
|
|
|
|
|
this.buttonStartThreeSecondsBack.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonStartThreeSecondsBack.Click += new System.EventHandler(this.ButtonStartThreeSecondsBackClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonStartHalfASecondBack
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonStartHalfASecondBack.Location = new System.Drawing.Point(72, 37);
|
|
|
|
|
this.buttonStartHalfASecondBack.Name = "buttonStartHalfASecondBack";
|
|
|
|
|
this.buttonStartHalfASecondBack.Size = new System.Drawing.Size(60, 21);
|
|
|
|
|
this.buttonStartHalfASecondBack.TabIndex = 2;
|
|
|
|
|
this.buttonStartHalfASecondBack.Text = "< ½ sec";
|
|
|
|
|
this.buttonStartHalfASecondBack.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonStartHalfASecondBack.Click += new System.EventHandler(this.ButtonStartHalfASecondBackClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// comboBoxStartTexts
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.comboBoxStartTexts.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
|
this.comboBoxStartTexts.FormattingEnabled = true;
|
|
|
|
|
this.comboBoxStartTexts.Location = new System.Drawing.Point(7, 10);
|
|
|
|
|
this.comboBoxStartTexts.Name = "comboBoxStartTexts";
|
2011-01-08 23:29:32 +01:00
|
|
|
|
this.comboBoxStartTexts.Size = new System.Drawing.Size(422, 21);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.comboBoxStartTexts.TabIndex = 0;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// groupBoxEndScene
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.groupBoxEndScene.Controls.Add(this.MediaPlayerEnd);
|
|
|
|
|
this.groupBoxEndScene.Controls.Add(this.panelControlsEnd);
|
|
|
|
|
this.groupBoxEndScene.Location = new System.Drawing.Point(468, 65);
|
|
|
|
|
this.groupBoxEndScene.Name = "groupBoxEndScene";
|
|
|
|
|
this.groupBoxEndScene.Size = new System.Drawing.Size(450, 399);
|
|
|
|
|
this.groupBoxEndScene.TabIndex = 1;
|
|
|
|
|
this.groupBoxEndScene.TabStop = false;
|
|
|
|
|
this.groupBoxEndScene.Text = "End scene";
|
|
|
|
|
this.groupBoxEndScene.Enter += new System.EventHandler(this.GroupBoxEndSceneEnter);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-14 20:45:13 +02:00
|
|
|
|
// MediaPlayerEnd
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerEnd.BackColor = System.Drawing.Color.Black;
|
|
|
|
|
this.MediaPlayerEnd.CurrentPosition = 0D;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
this.MediaPlayerEnd.FontSizeFactor = 1F;
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerEnd.Location = new System.Drawing.Point(6, 34);
|
|
|
|
|
this.MediaPlayerEnd.Name = "MediaPlayerEnd";
|
|
|
|
|
this.MediaPlayerEnd.ShowStopButton = true;
|
2011-01-01 17:56:46 +01:00
|
|
|
|
this.MediaPlayerEnd.Size = new System.Drawing.Size(438, 287);
|
|
|
|
|
this.MediaPlayerEnd.SubtitleText = "";
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerEnd.TabIndex = 14;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
this.MediaPlayerEnd.TextRightToLeft = System.Windows.Forms.RightToLeft.No;
|
|
|
|
|
this.MediaPlayerEnd.VideoHeight = 0;
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerEnd.VideoPlayer = null;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
this.MediaPlayerEnd.VideoWidth = 0;
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.MediaPlayerEnd.Volume = 0D;
|
|
|
|
|
this.MediaPlayerEnd.OnButtonClicked += new System.EventHandler(this.MediaPlayerEnd_OnButtonClicked);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// panelControlsEnd
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.panelControlsEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
|
|
this.panelControlsEnd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
|
|
|
this.panelControlsEnd.Controls.Add(this.buttonEndVerify);
|
|
|
|
|
this.panelControlsEnd.Controls.Add(this.buttonGotoEndSubtitlePosition);
|
|
|
|
|
this.panelControlsEnd.Controls.Add(this.buttonFindTextEnd);
|
|
|
|
|
this.panelControlsEnd.Controls.Add(this.buttonThreeSecondsBack);
|
|
|
|
|
this.panelControlsEnd.Controls.Add(this.buttonEndHalfASecondBack);
|
|
|
|
|
this.panelControlsEnd.Controls.Add(this.comboBoxEndTexts);
|
|
|
|
|
this.panelControlsEnd.Location = new System.Drawing.Point(7, 327);
|
|
|
|
|
this.panelControlsEnd.Name = "panelControlsEnd";
|
|
|
|
|
this.panelControlsEnd.Size = new System.Drawing.Size(438, 68);
|
|
|
|
|
this.panelControlsEnd.TabIndex = 1;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonEndVerify
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonEndVerify.Location = new System.Drawing.Point(139, 37);
|
|
|
|
|
this.buttonEndVerify.Name = "buttonEndVerify";
|
|
|
|
|
this.buttonEndVerify.Size = new System.Drawing.Size(118, 21);
|
|
|
|
|
this.buttonEndVerify.TabIndex = 3;
|
|
|
|
|
this.buttonEndVerify.Text = "Play 2 secs and back";
|
|
|
|
|
this.buttonEndVerify.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonEndVerify.Click += new System.EventHandler(this.ButtonEndVerifyClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonGotoEndSubtitlePosition
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonGotoEndSubtitlePosition.Location = new System.Drawing.Point(263, 37);
|
|
|
|
|
this.buttonGotoEndSubtitlePosition.Name = "buttonGotoEndSubtitlePosition";
|
|
|
|
|
this.buttonGotoEndSubtitlePosition.Size = new System.Drawing.Size(90, 21);
|
|
|
|
|
this.buttonGotoEndSubtitlePosition.TabIndex = 4;
|
|
|
|
|
this.buttonGotoEndSubtitlePosition.Text = "Goto sub pos";
|
|
|
|
|
this.buttonGotoEndSubtitlePosition.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonGotoEndSubtitlePosition.Click += new System.EventHandler(this.ButtonGotoEndSubtitlePositionClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonFindTextEnd
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonFindTextEnd.Location = new System.Drawing.Point(359, 37);
|
|
|
|
|
this.buttonFindTextEnd.Name = "buttonFindTextEnd";
|
|
|
|
|
this.buttonFindTextEnd.Size = new System.Drawing.Size(70, 21);
|
|
|
|
|
this.buttonFindTextEnd.TabIndex = 5;
|
|
|
|
|
this.buttonFindTextEnd.Text = "Find text...";
|
|
|
|
|
this.buttonFindTextEnd.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonFindTextEnd.Click += new System.EventHandler(this.ButtonFindTextEndClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonThreeSecondsBack
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonThreeSecondsBack.Location = new System.Drawing.Point(7, 37);
|
|
|
|
|
this.buttonThreeSecondsBack.Name = "buttonThreeSecondsBack";
|
|
|
|
|
this.buttonThreeSecondsBack.Size = new System.Drawing.Size(60, 21);
|
|
|
|
|
this.buttonThreeSecondsBack.TabIndex = 1;
|
|
|
|
|
this.buttonThreeSecondsBack.Text = "< 3 secs";
|
|
|
|
|
this.buttonThreeSecondsBack.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonThreeSecondsBack.Click += new System.EventHandler(this.ButtonThreeSecondsBackClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonEndHalfASecondBack
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonEndHalfASecondBack.Location = new System.Drawing.Point(73, 37);
|
|
|
|
|
this.buttonEndHalfASecondBack.Name = "buttonEndHalfASecondBack";
|
|
|
|
|
this.buttonEndHalfASecondBack.Size = new System.Drawing.Size(60, 21);
|
|
|
|
|
this.buttonEndHalfASecondBack.TabIndex = 2;
|
|
|
|
|
this.buttonEndHalfASecondBack.Text = "< ½ sec";
|
|
|
|
|
this.buttonEndHalfASecondBack.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonEndHalfASecondBack.Click += new System.EventHandler(this.ButtonEndHalfASecondBackClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// comboBoxEndTexts
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.comboBoxEndTexts.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
|
|
this.comboBoxEndTexts.FormattingEnabled = true;
|
|
|
|
|
this.comboBoxEndTexts.Location = new System.Drawing.Point(7, 10);
|
|
|
|
|
this.comboBoxEndTexts.Name = "comboBoxEndTexts";
|
2011-01-08 23:29:32 +01:00
|
|
|
|
this.comboBoxEndTexts.Size = new System.Drawing.Size(422, 21);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.comboBoxEndTexts.TabIndex = 0;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonCancel
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
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.Location = new System.Drawing.Point(830, 498);
|
|
|
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
|
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 21);
|
|
|
|
|
this.buttonCancel.TabIndex = 4;
|
|
|
|
|
this.buttonCancel.Text = "C&ancel";
|
|
|
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// labelVideoInfo
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.labelVideoInfo.AutoSize = true;
|
|
|
|
|
this.labelVideoInfo.Location = new System.Drawing.Point(6, 16);
|
|
|
|
|
this.labelVideoInfo.Name = "labelVideoInfo";
|
2011-01-08 23:29:32 +01:00
|
|
|
|
this.labelVideoInfo.Size = new System.Drawing.Size(84, 13);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.labelVideoInfo.TabIndex = 13;
|
|
|
|
|
this.labelVideoInfo.Text = "No video loaded";
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// groupBoxMovieInfo
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
|
|
|
|
this.groupBoxMovieInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.groupBoxMovieInfo.Controls.Add(this.labelVideoInfo);
|
|
|
|
|
this.groupBoxMovieInfo.Location = new System.Drawing.Point(132, 8);
|
|
|
|
|
this.groupBoxMovieInfo.Name = "groupBoxMovieInfo";
|
|
|
|
|
this.groupBoxMovieInfo.Size = new System.Drawing.Size(786, 53);
|
|
|
|
|
this.groupBoxMovieInfo.TabIndex = 14;
|
|
|
|
|
this.groupBoxMovieInfo.TabStop = false;
|
|
|
|
|
this.groupBoxMovieInfo.Text = "Movie info";
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// buttonSync
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonSync.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.buttonSync.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonSync.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
2010-12-30 20:20:33 +01:00
|
|
|
|
this.buttonSync.Location = new System.Drawing.Point(395, 488);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonSync.Name = "buttonSync";
|
2010-12-30 20:20:33 +01:00
|
|
|
|
this.buttonSync.Size = new System.Drawing.Size(148, 31);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.buttonSync.TabIndex = 2;
|
|
|
|
|
this.buttonSync.Text = "Sync!";
|
|
|
|
|
this.buttonSync.UseVisualStyleBackColor = true;
|
|
|
|
|
this.buttonSync.Click += new System.EventHandler(this.ButtonSyncClick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// openFileDialog1
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.openFileDialog1.FileName = "openFileDialog1";
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// labelTip
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.labelTip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
|
|
this.labelTip.AutoSize = true;
|
2011-02-12 09:00:12 +01:00
|
|
|
|
this.labelTip.ForeColor = System.Drawing.Color.Gray;
|
2011-07-03 10:17:10 +02:00
|
|
|
|
this.labelTip.Location = new System.Drawing.Point(12, 477);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.labelTip.Name = "labelTip";
|
2011-01-08 23:29:32 +01:00
|
|
|
|
this.labelTip.Size = new System.Drawing.Size(332, 13);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.labelTip.TabIndex = 15;
|
|
|
|
|
this.labelTip.Text = "Tip: Use <ctrl+arrow left/right> keys to move 100 ms back/forward";
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2011-02-08 18:07:51 +01:00
|
|
|
|
// timerProgressBarRefresh
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2011-02-08 18:07:51 +01:00
|
|
|
|
this.timerProgressBarRefresh.Tick += new System.EventHandler(this.timerProgressBarRefresh_Tick);
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2010-10-12 13:17:56 +02:00
|
|
|
|
// VisualSync
|
2012-01-21 00:23:20 +01:00
|
|
|
|
//
|
2011-01-08 23:29:32 +01:00
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(927, 525);
|
|
|
|
|
this.Controls.Add(this.buttonSync);
|
2011-01-08 23:29:32 +01:00
|
|
|
|
this.Controls.Add(this.labelTip);
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.Controls.Add(this.groupBoxMovieInfo);
|
|
|
|
|
this.Controls.Add(this.buttonCancel);
|
|
|
|
|
this.Controls.Add(this.groupBoxEndScene);
|
|
|
|
|
this.Controls.Add(this.groupBoxStartScene);
|
|
|
|
|
this.Controls.Add(this.buttonOK);
|
|
|
|
|
this.Controls.Add(this.buttonOpenMovie);
|
2010-10-14 20:45:13 +02:00
|
|
|
|
this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.KeyPreview = true;
|
|
|
|
|
this.MinimumSize = new System.Drawing.Size(935, 540);
|
|
|
|
|
this.Name = "VisualSync";
|
2012-02-26 18:06:35 +01:00
|
|
|
|
this.ShowInTaskbar = false;
|
2012-06-03 18:00:18 +02:00
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
2010-10-12 13:17:56 +02:00
|
|
|
|
this.Text = "Visual Sync";
|
|
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormVisualSync_FormClosing);
|
|
|
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.VisualSync_FormClosed);
|
|
|
|
|
this.Load += new System.EventHandler(this.VisualSync_Load);
|
|
|
|
|
this.Shown += new System.EventHandler(this.VisualSync_Shown);
|
|
|
|
|
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.VisualSync_KeyDown);
|
|
|
|
|
this.Resize += new System.EventHandler(this.FormVisualSync_Resize);
|
|
|
|
|
this.groupBoxStartScene.ResumeLayout(false);
|
|
|
|
|
this.panelControlsStart.ResumeLayout(false);
|
|
|
|
|
this.groupBoxEndScene.ResumeLayout(false);
|
|
|
|
|
this.panelControlsEnd.ResumeLayout(false);
|
|
|
|
|
this.groupBoxMovieInfo.ResumeLayout(false);
|
|
|
|
|
this.groupBoxMovieInfo.PerformLayout();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.Button buttonOpenMovie;
|
|
|
|
|
private System.Windows.Forms.Timer timer1;
|
|
|
|
|
private System.Windows.Forms.Button buttonOK;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupBoxStartScene;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupBoxEndScene;
|
|
|
|
|
private System.Windows.Forms.Button buttonCancel;
|
|
|
|
|
private System.Windows.Forms.Panel panelControlsStart;
|
|
|
|
|
private System.Windows.Forms.ComboBox comboBoxStartTexts;
|
|
|
|
|
private System.Windows.Forms.Button buttonGotoStartSubtitlePosition;
|
|
|
|
|
private System.Windows.Forms.Button buttonFindTextStart;
|
|
|
|
|
private System.Windows.Forms.Button buttonStartThreeSecondsBack;
|
|
|
|
|
private System.Windows.Forms.Button buttonStartHalfASecondBack;
|
|
|
|
|
private System.Windows.Forms.Label labelVideoInfo;
|
|
|
|
|
private System.Windows.Forms.GroupBox groupBoxMovieInfo;
|
|
|
|
|
private System.Windows.Forms.Panel panelControlsEnd;
|
|
|
|
|
private System.Windows.Forms.Button buttonGotoEndSubtitlePosition;
|
|
|
|
|
private System.Windows.Forms.Button buttonFindTextEnd;
|
|
|
|
|
private System.Windows.Forms.Button buttonThreeSecondsBack;
|
|
|
|
|
private System.Windows.Forms.Button buttonEndHalfASecondBack;
|
|
|
|
|
private System.Windows.Forms.ComboBox comboBoxEndTexts;
|
|
|
|
|
private System.Windows.Forms.Button buttonSync;
|
|
|
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
|
|
|
private System.Windows.Forms.Button buttonStartVerify;
|
|
|
|
|
private System.Windows.Forms.Button buttonEndVerify;
|
|
|
|
|
private Nikse.SubtitleEdit.Controls.VideoPlayerContainer MediaPlayerStart;
|
|
|
|
|
private Nikse.SubtitleEdit.Controls.VideoPlayerContainer MediaPlayerEnd;
|
|
|
|
|
private System.Windows.Forms.Label labelTip;
|
2011-02-08 18:07:51 +01:00
|
|
|
|
private System.Windows.Forms.Timer timerProgressBarRefresh;
|
2010-10-12 13:17:56 +02:00
|
|
|
|
}
|
|
|
|
|
}
|