1 diff --git a/win/C#/ToolWindows/BatchAdd.cs b/win/C#/ToolWindows/BatchAdd.cs
5 +++ b/win/C#/ToolWindows/BatchAdd.cs
7 +/* TitleSpecificScan.cs $
\r
8 + This file is part of the HandBrake source code.
\r
9 + Homepage: <http://handbrake.fr>.
\r
10 + It may be used under the terms of the GNU General Public License. */
\r
12 +namespace Handbrake.ToolWindows
\r
15 + using System.Windows.Forms;
\r
18 + /// Title Specific Scan
\r
20 + public partial class BatchAdd : Form
\r
24 + InitializeComponent();
\r
26 + // Get the Default values for batch encoding.
\r
27 + this.minDuration.Text = Properties.Settings.Default.batchMinDuration.ToString();
\r
28 + this.maxDuration.Text = Properties.Settings.Default.batchMaxDuration.ToString();
\r
32 + /// Button Cancel Click Event Handler
\r
34 + /// <param name="sender">The Sender</param>
\r
35 + /// <param name="e">The EventArgs</param>
\r
36 + private void BtnCancelClick(object sender, EventArgs e)
\r
38 + this.DialogResult = DialogResult.Cancel;
\r
42 + /// Button Scan Click Event Handler
\r
44 + /// <param name="sender">The Sender</param>
\r
45 + /// <param name="e">The EventArgs</param>
\r
46 + private void BtnScanClick(object sender, EventArgs e)
\r
48 + this.DialogResult = DialogResult.OK;
\r
52 + /// Gets the minimum duration that the user entered.
\r
59 + int.TryParse(this.minDuration.Text, out title);
\r
66 + /// Gets the maximum duration that the user entered.
\r
73 + int.TryParse(this.maxDuration.Text, out title);
\r
80 \ No newline at end of file