--- /dev/null
+/* TitleSpecificScan.cs $\r
+ This file is part of the HandBrake source code.\r
+ Homepage: <http://handbrake.fr>.\r
+ It may be used under the terms of the GNU General Public License. */\r
+\r
+namespace Handbrake.ToolWindows\r
+{\r
+ using System;\r
+ using System.Windows.Forms;\r
+\r
+ /// <summary>\r
+ /// Title Specific Scan\r
+ /// </summary>\r
+ public partial class PreviewOverlay : Form\r
+ {\r
+ public PreviewOverlay()\r
+ {\r
+ InitializeComponent();\r
+ }\r
+\r
+ /// <summary>\r
+ /// Gets the preview frame that the user entered.\r
+ /// </summary>\r
+ public int Preview\r
+ {\r
+ get\r
+ {\r
+ int value;\r
+ int.TryParse(drp_preview.SelectedItem.ToString(), out value);\r
+\r
+ return value;\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// Gets the duration that the user entered.\r
+ /// </summary>\r
+ public int Duration\r
+ {\r
+ get\r
+ {\r
+ int value;\r
+ int.TryParse(drp_preview.SelectedItem.ToString(), out value);\r
+\r
+ return value;\r
+ }\r
+ }\r
+\r
+ /// <summary>\r
+ /// Play the video with Quicktime\r
+ /// </summary>\r
+ /// <param name="sender">The Sender</param>\r
+ /// <param name="e">The EventArgs</param>\r
+ private void PlayWithQtClick(object sender, EventArgs e)\r
+ {\r
+ this.DialogResult = DialogResult.OK;\r
+ }\r
+ }\r
+}
\ No newline at end of file