OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 15 Jul 2009 11:03:54 +0000 (11:03 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 15 Jul 2009 11:03:54 +0000 (11:03 +0000)
 - The options panel (frmOptions) is now completely wrapped in TableLayoutPanels.
 - The rest of the GUI has been changed to Tahoma, 8pt font.
 - QueueHandler and it's related classes have been refactored and documented.
 - new option has been added that prompts the user before encoding when the query under the "Query Editor" tab does not match the GUI settings. It can be disabled in the options window.
 - A bug where "last_encode_log.txt" failed to be read has been fixed that was caused by exiting the CLI window shortly after starting the encode.

Thansk to darkassassin

git-svn-id: svn://localhost/HandBrake/trunk@2693 b64f7644-9d1e-0410-96f1-a4d463321fa5

24 files changed:
win/C#/Controls/AudioPanel.Designer.cs
win/C#/Controls/Filters.Designer.cs
win/C#/Controls/x264Panel.Designer.cs
win/C#/EncodeQueue/Encode.cs
win/C#/EncodeQueue/Job.cs
win/C#/EncodeQueue/QueueHandler.cs
win/C#/Properties/Settings.Designer.cs
win/C#/Properties/Settings.settings
win/C#/app.config
win/C#/frmAbout.Designer.cs
win/C#/frmActivityWindow.Designer.cs
win/C#/frmActivityWindow.cs
win/C#/frmActivityWindow.resx
win/C#/frmAddPreset.Designer.cs
win/C#/frmDownload.Designer.cs
win/C#/frmMain.Designer.cs
win/C#/frmMain.cs
win/C#/frmMain.resx
win/C#/frmOptions.Designer.cs
win/C#/frmOptions.cs
win/C#/frmPreview.Designer.cs
win/C#/frmQueue.Designer.cs
win/C#/frmQueue.cs
win/C#/frmUpdater.Designer.cs

index ea94567..95b938d 100644 (file)
@@ -137,19 +137,19 @@ namespace Handbrake.Controls
             this.toolStripSeparator2,\r
             this.audioList_remove});\r
             this.audioMenu.Name = "audioMenu";\r
-            this.audioMenu.Size = new System.Drawing.Size(142, 76);\r
+            this.audioMenu.Size = new System.Drawing.Size(139, 76);\r
             // \r
             // audioList_moveup\r
             // \r
             this.audioList_moveup.Name = "audioList_moveup";\r
-            this.audioList_moveup.Size = new System.Drawing.Size(141, 22);\r
+            this.audioList_moveup.Size = new System.Drawing.Size(138, 22);\r
             this.audioList_moveup.Text = "Move Up";\r
             this.audioList_moveup.Click += new System.EventHandler(this.audioList_moveup_Click);\r
             // \r
             // audioList_movedown\r
             // \r
             this.audioList_movedown.Name = "audioList_movedown";\r
-            this.audioList_movedown.Size = new System.Drawing.Size(141, 22);\r
+            this.audioList_movedown.Size = new System.Drawing.Size(138, 22);\r
             this.audioList_movedown.Text = "Move Down";\r
             this.audioList_movedown.TextAlign = System.Drawing.ContentAlignment.MiddleRight;\r
             this.audioList_movedown.Click += new System.EventHandler(this.audioList_movedown_Click);\r
@@ -157,12 +157,12 @@ namespace Handbrake.Controls
             // toolStripSeparator2\r
             // \r
             this.toolStripSeparator2.Name = "toolStripSeparator2";\r
-            this.toolStripSeparator2.Size = new System.Drawing.Size(138, 6);\r
+            this.toolStripSeparator2.Size = new System.Drawing.Size(135, 6);\r
             // \r
             // audioList_remove\r
             // \r
             this.audioList_remove.Name = "audioList_remove";\r
-            this.audioList_remove.Size = new System.Drawing.Size(141, 22);\r
+            this.audioList_remove.Size = new System.Drawing.Size(138, 22);\r
             this.audioList_remove.Text = "Remove";\r
             this.audioList_remove.Click += new System.EventHandler(this.audioList_remove_Click);\r
             // \r
@@ -277,6 +277,7 @@ namespace Handbrake.Controls
             // \r
             // drp_audenc_1\r
             // \r
+            this.drp_audenc_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drp_audenc_1.FormattingEnabled = true;\r
             this.drp_audenc_1.Items.AddRange(new object[] {\r
             "AAC (faac)",\r
@@ -287,7 +288,6 @@ namespace Handbrake.Controls
             this.drp_audenc_1.Name = "drp_audenc_1";\r
             this.drp_audenc_1.Size = new System.Drawing.Size(111, 21);\r
             this.drp_audenc_1.TabIndex = 52;\r
-            this.drp_audenc_1.Text = "AAC (faac)";\r
             this.drp_audenc_1.SelectedIndexChanged += new System.EventHandler(this.drp_audenc_1_SelectedIndexChanged);\r
             // \r
             // label27\r
@@ -302,6 +302,7 @@ namespace Handbrake.Controls
             // \r
             // drp_audmix_1\r
             // \r
+            this.drp_audmix_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drp_audmix_1.FormattingEnabled = true;\r
             this.drp_audmix_1.Items.AddRange(new object[] {\r
             "Automatic",\r
@@ -314,11 +315,11 @@ namespace Handbrake.Controls
             this.drp_audmix_1.Name = "drp_audmix_1";\r
             this.drp_audmix_1.Size = new System.Drawing.Size(129, 21);\r
             this.drp_audmix_1.TabIndex = 54;\r
-            this.drp_audmix_1.Text = "Automatic";\r
             this.drp_audmix_1.SelectedIndexChanged += new System.EventHandler(this.drp_audmix_1_SelectedIndexChanged);\r
             // \r
             // drp_track1Audio\r
             // \r
+            this.drp_track1Audio.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drp_track1Audio.FormattingEnabled = true;\r
             this.drp_track1Audio.Items.AddRange(new object[] {\r
             "Automatic"});\r
@@ -326,11 +327,11 @@ namespace Handbrake.Controls
             this.drp_track1Audio.Name = "drp_track1Audio";\r
             this.drp_track1Audio.Size = new System.Drawing.Size(194, 21);\r
             this.drp_track1Audio.TabIndex = 50;\r
-            this.drp_track1Audio.Text = "Automatic";\r
             this.drp_track1Audio.SelectedIndexChanged += new System.EventHandler(this.drp_track1Audio_SelectedIndexChanged);\r
             // \r
             // drp_audbit_1\r
             // \r
+            this.drp_audbit_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drp_audbit_1.FormattingEnabled = true;\r
             this.drp_audbit_1.Items.AddRange(new object[] {\r
             "32",\r
@@ -347,11 +348,11 @@ namespace Handbrake.Controls
             this.drp_audbit_1.Name = "drp_audbit_1";\r
             this.drp_audbit_1.Size = new System.Drawing.Size(70, 21);\r
             this.drp_audbit_1.TabIndex = 58;\r
-            this.drp_audbit_1.Text = "160";\r
             this.drp_audbit_1.SelectedIndexChanged += new System.EventHandler(this.drp_audbit_1_SelectedIndexChanged);\r
             // \r
             // drp_audsr_1\r
             // \r
+            this.drp_audsr_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drp_audsr_1.FormattingEnabled = true;\r
             this.drp_audsr_1.Items.AddRange(new object[] {\r
             "Auto",\r
@@ -364,7 +365,6 @@ namespace Handbrake.Controls
             this.drp_audsr_1.Name = "drp_audsr_1";\r
             this.drp_audsr_1.Size = new System.Drawing.Size(55, 21);\r
             this.drp_audsr_1.TabIndex = 56;\r
-            this.drp_audsr_1.Text = "Auto";\r
             this.drp_audsr_1.SelectedIndexChanged += new System.EventHandler(this.drp_audsr_1_SelectedIndexChanged);\r
             // \r
             // AudioTrackGroup\r
index 6bdd7fb..216a12d 100644 (file)
             this.label8 = new System.Windows.Forms.Label();\r
             this.lbl_deblockVal = new System.Windows.Forms.Label();\r
             this.label68 = new System.Windows.Forms.Label();\r
+            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
             ((System.ComponentModel.ISupportInitialize)(this.slider_deblock)).BeginInit();\r
+            this.tableLayoutPanel1.SuspendLayout();\r
             this.SuspendLayout();\r
             // \r
             // text_customDT\r
             // \r
-            this.text_customDT.Location = new System.Drawing.Point(288, 32);\r
+            this.text_customDT.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.text_customDT.Location = new System.Drawing.Point(251, 3);\r
             this.text_customDT.Name = "text_customDT";\r
             this.text_customDT.Size = new System.Drawing.Size(115, 21);\r
             this.text_customDT.TabIndex = 47;\r
             // \r
             // label18\r
             // \r
+            this.label18.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.label18.AutoSize = true;\r
             this.label18.BackColor = System.Drawing.Color.Transparent;\r
-            this.label18.Location = new System.Drawing.Point(13, 35);\r
+            this.label18.Location = new System.Drawing.Point(0, 7);\r
+            this.label18.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);\r
             this.label18.Name = "label18";\r
             this.label18.Size = new System.Drawing.Size(61, 13);\r
             this.label18.TabIndex = 46;\r
             // \r
             // drop_detelecine\r
             // \r
+            this.drop_detelecine.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
             this.drop_detelecine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drop_detelecine.FormattingEnabled = true;\r
             this.drop_detelecine.Items.AddRange(new object[] {\r
             "Off",\r
             "Default",\r
             "Custom"});\r
-            this.drop_detelecine.Location = new System.Drawing.Point(121, 32);\r
+            this.drop_detelecine.Location = new System.Drawing.Point(71, 3);\r
             this.drop_detelecine.Name = "drop_detelecine";\r
-            this.drop_detelecine.Size = new System.Drawing.Size(161, 21);\r
+            this.drop_detelecine.Size = new System.Drawing.Size(174, 21);\r
             this.drop_detelecine.TabIndex = 45;\r
             this.drop_detelecine.SelectedIndexChanged += new System.EventHandler(this.drop_detelecine_SelectedIndexChanged);\r
             // \r
             // text_customDC\r
             // \r
-            this.text_customDC.Location = new System.Drawing.Point(288, 59);\r
+            this.text_customDC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.text_customDC.Location = new System.Drawing.Point(251, 30);\r
             this.text_customDC.Name = "text_customDC";\r
             this.text_customDC.Size = new System.Drawing.Size(115, 21);\r
             this.text_customDC.TabIndex = 50;\r
             // \r
             // label1\r
             // \r
+            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.label1.AutoSize = true;\r
             this.label1.BackColor = System.Drawing.Color.Transparent;\r
-            this.label1.Location = new System.Drawing.Point(13, 62);\r
+            this.label1.Location = new System.Drawing.Point(0, 34);\r
+            this.label1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);\r
             this.label1.Name = "label1";\r
             this.label1.Size = new System.Drawing.Size(49, 13);\r
             this.label1.TabIndex = 49;\r
             // \r
             // drop_decomb\r
             // \r
+            this.drop_decomb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
             this.drop_decomb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drop_decomb.FormattingEnabled = true;\r
             this.drop_decomb.Items.AddRange(new object[] {\r
             "Off",\r
             "Default",\r
             "Custom"});\r
-            this.drop_decomb.Location = new System.Drawing.Point(121, 59);\r
+            this.drop_decomb.Location = new System.Drawing.Point(71, 30);\r
             this.drop_decomb.Name = "drop_decomb";\r
-            this.drop_decomb.Size = new System.Drawing.Size(161, 21);\r
+            this.drop_decomb.Size = new System.Drawing.Size(174, 21);\r
             this.drop_decomb.TabIndex = 48;\r
             this.drop_decomb.SelectedIndexChanged += new System.EventHandler(this.drop_decomb_SelectedIndexChanged);\r
             // \r
             // text_customDI\r
             // \r
-            this.text_customDI.Location = new System.Drawing.Point(288, 86);\r
+            this.text_customDI.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.text_customDI.Location = new System.Drawing.Point(251, 57);\r
             this.text_customDI.Name = "text_customDI";\r
             this.text_customDI.Size = new System.Drawing.Size(115, 21);\r
             this.text_customDI.TabIndex = 53;\r
             // \r
             // label2\r
             // \r
+            this.label2.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.label2.AutoSize = true;\r
             this.label2.BackColor = System.Drawing.Color.Transparent;\r
-            this.label2.Location = new System.Drawing.Point(13, 89);\r
+            this.label2.Location = new System.Drawing.Point(0, 61);\r
+            this.label2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);\r
             this.label2.Name = "label2";\r
             this.label2.Size = new System.Drawing.Size(65, 13);\r
             this.label2.TabIndex = 52;\r
             // \r
             // drop_deinterlace\r
             // \r
+            this.drop_deinterlace.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
             this.drop_deinterlace.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drop_deinterlace.FormattingEnabled = true;\r
             this.drop_deinterlace.Items.AddRange(new object[] {\r
             "Slow",\r
             "Slower",\r
             "Custom"});\r
-            this.drop_deinterlace.Location = new System.Drawing.Point(121, 86);\r
+            this.drop_deinterlace.Location = new System.Drawing.Point(71, 57);\r
             this.drop_deinterlace.Name = "drop_deinterlace";\r
-            this.drop_deinterlace.Size = new System.Drawing.Size(161, 21);\r
+            this.drop_deinterlace.Size = new System.Drawing.Size(174, 21);\r
             this.drop_deinterlace.TabIndex = 51;\r
             this.drop_deinterlace.SelectedIndexChanged += new System.EventHandler(this.drop_deinterlace_SelectedIndexChanged);\r
             // \r
             // text_customDN\r
             // \r
-            this.text_customDN.Location = new System.Drawing.Point(288, 113);\r
+            this.text_customDN.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.text_customDN.Location = new System.Drawing.Point(251, 84);\r
             this.text_customDN.Name = "text_customDN";\r
             this.text_customDN.Size = new System.Drawing.Size(115, 21);\r
             this.text_customDN.TabIndex = 56;\r
             // \r
             // label3\r
             // \r
+            this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.label3.AutoSize = true;\r
             this.label3.BackColor = System.Drawing.Color.Transparent;\r
-            this.label3.Location = new System.Drawing.Point(13, 116);\r
+            this.label3.Location = new System.Drawing.Point(0, 88);\r
+            this.label3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);\r
             this.label3.Name = "label3";\r
             this.label3.Size = new System.Drawing.Size(49, 13);\r
             this.label3.TabIndex = 55;\r
             // \r
             // drop_denoise\r
             // \r
+            this.drop_denoise.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
             this.drop_denoise.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drop_denoise.FormattingEnabled = true;\r
             this.drop_denoise.Items.AddRange(new object[] {\r
             "Medium",\r
             "Strong",\r
             "Custom"});\r
-            this.drop_denoise.Location = new System.Drawing.Point(121, 113);\r
+            this.drop_denoise.Location = new System.Drawing.Point(71, 84);\r
             this.drop_denoise.Name = "drop_denoise";\r
-            this.drop_denoise.Size = new System.Drawing.Size(161, 21);\r
+            this.drop_denoise.Size = new System.Drawing.Size(174, 21);\r
             this.drop_denoise.TabIndex = 54;\r
             this.drop_denoise.SelectedIndexChanged += new System.EventHandler(this.drop_denoise_SelectedIndexChanged);\r
             // \r
             // slider_deblock\r
             // \r
-            this.slider_deblock.Location = new System.Drawing.Point(121, 140);\r
+            this.slider_deblock.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)\r
+                        | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.slider_deblock.Location = new System.Drawing.Point(71, 111);\r
             this.slider_deblock.Maximum = 15;\r
             this.slider_deblock.Minimum = 4;\r
             this.slider_deblock.Name = "slider_deblock";\r
             // \r
             this.check_grayscale.AutoSize = true;\r
             this.check_grayscale.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_grayscale.Location = new System.Drawing.Point(121, 191);\r
+            this.check_grayscale.Location = new System.Drawing.Point(71, 162);\r
             this.check_grayscale.Name = "check_grayscale";\r
             this.check_grayscale.Size = new System.Drawing.Size(119, 17);\r
             this.check_grayscale.TabIndex = 57;\r
             // \r
             this.label8.AutoSize = true;\r
             this.label8.BackColor = System.Drawing.Color.Transparent;\r
-            this.label8.Location = new System.Drawing.Point(13, 147);\r
+            this.label8.Location = new System.Drawing.Point(0, 115);\r
+            this.label8.Margin = new System.Windows.Forms.Padding(0, 7, 3, 3);\r
             this.label8.Name = "label8";\r
             this.label8.Size = new System.Drawing.Size(48, 13);\r
             this.label8.TabIndex = 60;\r
             // \r
             this.lbl_deblockVal.AutoSize = true;\r
             this.lbl_deblockVal.BackColor = System.Drawing.Color.Transparent;\r
-            this.lbl_deblockVal.Location = new System.Drawing.Point(301, 147);\r
+            this.lbl_deblockVal.Location = new System.Drawing.Point(251, 115);\r
+            this.lbl_deblockVal.Margin = new System.Windows.Forms.Padding(3, 7, 3, 3);\r
             this.lbl_deblockVal.Name = "lbl_deblockVal";\r
             this.lbl_deblockVal.Size = new System.Drawing.Size(23, 13);\r
             this.lbl_deblockVal.TabIndex = 59;\r
             this.label68.TabIndex = 61;\r
             this.label68.Text = "Filters";\r
             // \r
+            // tableLayoutPanel1\r
+            // \r
+            this.tableLayoutPanel1.AutoSize = true;\r
+            this.tableLayoutPanel1.ColumnCount = 3;\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.Controls.Add(this.label18, 0, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.label1, 0, 1);\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_deblockVal, 2, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.check_grayscale, 1, 5);\r
+            this.tableLayoutPanel1.Controls.Add(this.text_customDN, 2, 3);\r
+            this.tableLayoutPanel1.Controls.Add(this.slider_deblock, 1, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.text_customDI, 2, 2);\r
+            this.tableLayoutPanel1.Controls.Add(this.label2, 0, 2);\r
+            this.tableLayoutPanel1.Controls.Add(this.text_customDC, 2, 1);\r
+            this.tableLayoutPanel1.Controls.Add(this.label3, 0, 3);\r
+            this.tableLayoutPanel1.Controls.Add(this.text_customDT, 2, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.label8, 0, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.drop_detelecine, 1, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.drop_denoise, 1, 3);\r
+            this.tableLayoutPanel1.Controls.Add(this.drop_decomb, 1, 1);\r
+            this.tableLayoutPanel1.Controls.Add(this.drop_deinterlace, 1, 2);\r
+            this.tableLayoutPanel1.Location = new System.Drawing.Point(19, 29);\r
+            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
+            this.tableLayoutPanel1.RowCount = 6;\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.Size = new System.Drawing.Size(369, 182);\r
+            this.tableLayoutPanel1.TabIndex = 62;\r
+            // \r
             // Filters\r
             // \r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;\r
             this.BackColor = System.Drawing.Color.Transparent;\r
+            this.Controls.Add(this.tableLayoutPanel1);\r
             this.Controls.Add(this.label68);\r
-            this.Controls.Add(this.slider_deblock);\r
-            this.Controls.Add(this.check_grayscale);\r
-            this.Controls.Add(this.label8);\r
-            this.Controls.Add(this.lbl_deblockVal);\r
-            this.Controls.Add(this.text_customDN);\r
-            this.Controls.Add(this.label3);\r
-            this.Controls.Add(this.drop_denoise);\r
-            this.Controls.Add(this.text_customDI);\r
-            this.Controls.Add(this.label2);\r
-            this.Controls.Add(this.drop_deinterlace);\r
-            this.Controls.Add(this.text_customDC);\r
-            this.Controls.Add(this.label1);\r
-            this.Controls.Add(this.drop_decomb);\r
-            this.Controls.Add(this.text_customDT);\r
-            this.Controls.Add(this.label18);\r
-            this.Controls.Add(this.drop_detelecine);\r
             this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.Name = "Filters";\r
             this.Size = new System.Drawing.Size(592, 270);\r
             ((System.ComponentModel.ISupportInitialize)(this.slider_deblock)).EndInit();\r
+            this.tableLayoutPanel1.ResumeLayout(false);\r
+            this.tableLayoutPanel1.PerformLayout();\r
             this.ResumeLayout(false);\r
             this.PerformLayout();\r
 \r
         internal System.Windows.Forms.Label label8;\r
         internal System.Windows.Forms.Label lbl_deblockVal;\r
         internal System.Windows.Forms.Label label68;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
     }\r
 }\r
index b32f5d3..e43bd80 100644 (file)
@@ -649,9 +649,9 @@ namespace Handbrake.Controls
             this.drop_refFrames.Name = "drop_refFrames";\r
             this.drop_refFrames.Size = new System.Drawing.Size(121, 21);\r
             this.drop_refFrames.TabIndex = 54;\r
-            this.ToolTip.SetToolTip(this.drop_refFrames, "Sane values are 1-6. \r\nThe more you add, the higher the quality - but the slower " +\r
-                    "the encode. Be careful...too many and QuickTime struggle to play the video back." +\r
-                    "");\r
+            this.ToolTip.SetToolTip(this.drop_refFrames, "Sane values are 1-6. \r\nThe more you add, the higher the quality, but the slower t" +\r
+                    "he encode. Be careful... too many and QuickTime struggles to play the video back" +\r
+                    ".");\r
             this.drop_refFrames.SelectedIndexChanged += new System.EventHandler(this.drop_refFrames_SelectedIndexChanged);\r
             // \r
             // check_mixedReferences\r
index 2486240..83ebc98 100644 (file)
@@ -38,7 +38,6 @@ namespace Handbrake.EncodeQueue
                 {\r
                     cliStart.RedirectStandardOutput = true;\r
                     cliStart.UseShellExecute = false;\r
-\r
                 }\r
                 if (Properties.Settings.Default.cli_minimized)\r
                     cliStart.WindowStyle = ProcessWindowStyle.Minimized;\r
@@ -127,7 +126,7 @@ namespace Handbrake.EncodeQueue
             }\r
         }\r
 \r
-        /// <summary>\r
+        /// <summar>\r
         /// Append the CLI query to the start of the log file.\r
         /// </summary>\r
         /// <param name="query"></param>\r
@@ -136,7 +135,7 @@ namespace Handbrake.EncodeQueue
             string logDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\HandBrake\\logs";\r
             string logPath = Path.Combine(logDir, "last_encode_log.txt");\r
 \r
-            StreamReader reader = new StreamReader(File.Open(logPath, FileMode.Open, FileAccess.Read));\r
+            StreamReader reader = new StreamReader(File.Open(logPath, FileMode.Open, FileAccess.Read, FileShare.Read));\r
             String log = reader.ReadToEnd();\r
             reader.Close();\r
 \r
index 291ef40..e912fd6 100644 (file)
@@ -6,26 +6,34 @@
 \r
 namespace Handbrake.EncodeQueue\r
 {\r
-    public class Job\r
+    public struct Job\r
     {\r
         /// <summary>\r
-        /// Get or Set the job id.\r
+        /// Gets or sets the job ID.\r
         /// </summary>\r
         public int Id { get; set; }\r
 \r
         /// <summary>\r
-        /// Get or Set the query string.\r
+        /// Gets or sets the query string.\r
         /// </summary>\r
         public string Query { get; set; }\r
 \r
         /// <summary>\r
-        /// Get or set the source file of encoding\r
+        /// Gets or sets the source file of encoding.\r
         /// </summary>\r
         public string Source { get; set; }\r
 \r
         /// <summary>\r
-        /// Get or set the destination for the file to be encoded.\r
+        /// Gets or sets the destination for the file to be encoded.\r
         /// </summary>\r
         public string Destination { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets whether or not this instance is empty.\r
+        /// </summary>\r
+        public bool IsEmpty\r
+        {\r
+            get { return Id == 0 && string.IsNullOrEmpty(Query) && string.IsNullOrEmpty(Source) && string.IsNullOrEmpty(Destination); }\r
+        }\r
     }\r
 }
\ No newline at end of file
index 6670e9e..d183af0 100644 (file)
 \r
 using System;\r
 using System.Collections.Generic;\r
+using System.Collections.ObjectModel;\r
 using System.IO;\r
+using System.Threading;\r
 using System.Windows.Forms;\r
 using System.Xml.Serialization;\r
-using System.Threading;\r
 \r
 namespace Handbrake.EncodeQueue\r
 {\r
+    /// <summary>\r
+    /// Provides a handler for encoding jobs and a queue of those jobs.\r
+    /// </summary>\r
     public class QueueHandler\r
     {\r
         public Encode encodeHandler = new Encode();\r
-        private static XmlSerializer ser = new XmlSerializer(typeof(List<Job>));\r
-        List<Job> queue = new List<Job>();\r
-        int id; // Unique identifer number for each job\r
+        private static XmlSerializer serializer = new XmlSerializer(typeof(List<Job>));\r
+        private List<Job> queue = new List<Job>();\r
+        private int nextJobId;\r
 \r
-        #region Queue Handling\r
-        public List<Job> getQueue()\r
+        /// <summary>\r
+        /// Gets the number of items in the queue.\r
+        /// </summary>\r
+        public int Count\r
         {\r
-            return queue;\r
+            get { return queue.Count; }\r
         }\r
 \r
         /// <summary>\r
-        /// Get's the next CLI query for encoding\r
+        /// Gets the last encode that was processed.\r
+        /// </summary>\r
+        /// <returns></returns>\r
+        public Job LastEncode { get; set; }\r
+\r
+        /// <summary>\r
+        /// Gets the current state of the encode queue.\r
         /// </summary>\r
-        /// <returns>String</returns>\r
-        private Job getNextJobForEncoding()\r
+        public ReadOnlyCollection<Job> CurrentQueue\r
         {\r
-            Job job = queue[0];\r
-            lastQueueItem = job;\r
-            remove(0);    // Remove the item which we are about to pass out.\r
+            get { return queue.AsReadOnly(); }\r
+        }\r
 \r
-            updateQueueRecoveryFile("hb_queue_recovery.xml");\r
+        /// <summary>\r
+        /// Fires when an encode job has been started.\r
+        /// </summary>\r
+        public event EventHandler NewJobStarted;\r
 \r
-            return job;\r
-        }\r
+        /// <summary>\r
+        /// Fires when a pause to the encode queue has been requested.\r
+        /// </summary>\r
+        public event EventHandler QueuePauseRequested;\r
 \r
         /// <summary>\r
-        /// Get the last query that was returned by getNextItemForEncoding()\r
+        /// Fires when an encode job has been completed.\r
         /// </summary>\r
-        /// <returns></returns>\r
-        public Job lastQueueItem { get; set; }\r
+        public event EventHandler CurrentJobCompleted;\r
 \r
         /// <summary>\r
-        /// Add's a new item to the queue\r
+        /// Fires when the entire encode queue has completed.\r
         /// </summary>\r
-        /// <param name="query">String</param>\r
-        /// <param name="source"></param>\r
-        /// <param name="destination"></param>\r
-        public void add(string query, string source, string destination)\r
+        public event EventHandler QueueCompleted;\r
+\r
+        #region Queue Handling\r
+\r
+        /// <summary>\r
+        /// Gets and removes the next job in the queue.\r
+        /// </summary>\r
+        /// <returns>The job that was removed from the queue.</returns>\r
+        private Job GetNextJob()\r
         {\r
-            Job newJob = new Job { Id = id, Query = query, Source = source, Destination = destination };\r
-            id++;\r
+            Job job = queue[0];\r
+            LastEncode = job;\r
+            RemoveJob(0); // Remove the item which we are about to pass out.\r
 \r
-            queue.Add(newJob);\r
-            updateQueueRecoveryFile("hb_queue_recovery.xml");\r
+            WriteQueueStateToFile("hb_queue_recovery.xml");\r
+\r
+            return job;\r
         }\r
 \r
         /// <summary>\r
-        /// Removes an item from the queue.\r
+        /// Adds an item to the queue.\r
         /// </summary>\r
-        /// <param name="index">Index</param>\r
-        /// <returns>Bolean true if successful</returns>\r
-        public void remove(int index)\r
+        /// <param name="query">The query that will be passed to the HandBrake CLI.</param>\r
+        /// <param name="source">The location of the source video.</param>\r
+        /// <param name="destination">The location where the encoded video will be.</param>\r
+        public void AddJob(string query, string source, string destination)\r
         {\r
-            queue.RemoveAt(index);\r
-            updateQueueRecoveryFile("hb_queue_recovery.xml");\r
+            Job newJob = new Job { Id = nextJobId++, Query = query, Source = source, Destination = destination };\r
+\r
+            queue.Add(newJob);\r
+            WriteQueueStateToFile("hb_queue_recovery.xml");\r
         }\r
 \r
         /// <summary>\r
-        /// Returns how many items are in the queue\r
+        /// Removes an item from the queue.\r
         /// </summary>\r
-        /// <returns>Int</returns>\r
-        public int count()\r
+        /// <param name="index">The zero-based location of the job in the queue.</param>\r
+        public void RemoveJob(int index)\r
         {\r
-            return queue.Count;\r
+            queue.RemoveAt(index);\r
+            WriteQueueStateToFile("hb_queue_recovery.xml");\r
         }\r
 \r
         /// <summary>\r
-        /// Move an item with an index x, up in the queue\r
+        /// Moves an item up one position in the queue.\r
         /// </summary>\r
-        /// <param name="index">Int</param>\r
-        public void moveUp(int index)\r
+        /// <param name="index">The zero-based location of the job in the queue.</param>\r
+        public void MoveUp(int index)\r
         {\r
             if (index > 0)\r
             {\r
@@ -95,14 +120,15 @@ namespace Handbrake.EncodeQueue
                 queue.RemoveAt(index);\r
                 queue.Insert((index - 1), item);\r
             }\r
-            updateQueueRecoveryFile("hb_queue_recovery.xml"); // Update the queue recovery file\r
+\r
+            WriteQueueStateToFile("hb_queue_recovery.xml"); // Update the queue recovery file\r
         }\r
 \r
         /// <summary>\r
-        /// Move an item with an index x, down in the queue\r
+        /// Moves an item down one position in the queue.\r
         /// </summary>\r
-        /// <param name="index">Int</param>\r
-        public void moveDown(int index)\r
+        /// <param name="index">The zero-based location of the job in the queue.</param>\r
+        public void MoveDown(int index)\r
         {\r
             if (index < queue.Count - 1)\r
             {\r
@@ -111,14 +137,15 @@ namespace Handbrake.EncodeQueue
                 queue.RemoveAt(index);\r
                 queue.Insert((index + 1), item);\r
             }\r
-            updateQueueRecoveryFile("hb_queue_recovery.xml"); // Update the queue recovery file\r
+\r
+            WriteQueueStateToFile("hb_queue_recovery.xml"); // Update the queue recovery file\r
         }\r
 \r
         /// <summary>\r
-        /// Writes the current queue to disk. hb_queue_recovery.xml\r
-        /// This function is called after getNextItemForEncoding()\r
+        /// Writes the current state of the queue to a file.\r
         /// </summary>\r
-        public void updateQueueRecoveryFile(string file)\r
+        /// <param name="file">The location of the file to write the queue to.</param>\r
+        public void WriteQueueStateToFile(string file)\r
         {\r
             string tempPath = file == "hb_queue_recovery.xml" ? Path.Combine(Path.GetTempPath(), "hb_queue_recovery.xml") : file;\r
 \r
@@ -126,7 +153,7 @@ namespace Handbrake.EncodeQueue
             {\r
                 using (FileStream strm = new FileStream(tempPath, FileMode.Create, FileAccess.Write))\r
                 {\r
-                    ser.Serialize(strm, queue);\r
+                    serializer.Serialize(strm, queue);\r
                     strm.Close();\r
                     strm.Dispose();\r
                 }\r
@@ -139,10 +166,10 @@ namespace Handbrake.EncodeQueue
         }\r
 \r
         /// <summary>\r
-        /// Writes the current queue to disk to the location specified in file\r
+        /// Writes the current state of the queue in the form of a batch (.bat) file.\r
         /// </summary>\r
-        /// <param name="file"></param>\r
-        public void writeBatchScript(string file)\r
+        /// <param name="file">The location of the file to write the batch file to.</param>\r
+        public void WriteBatchScriptToFile(string file)\r
         {\r
             string queries = "";\r
             foreach (Job queue_item in queue)\r
@@ -163,9 +190,10 @@ namespace Handbrake.EncodeQueue
                 {\r
                     // Create a StreamWriter and open the file, Write the batch file query to the file and \r
                     // Close the stream\r
-                    StreamWriter line = new StreamWriter(file);\r
-                    line.WriteLine(strCmdLine);\r
-                    line.Close();\r
+                    using (StreamWriter line = new StreamWriter(file))\r
+                    {\r
+                        line.WriteLine(strCmdLine);\r
+                    }\r
 \r
                     MessageBox.Show("Your batch script has been sucessfully saved.", "Status", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);\r
                 }\r
@@ -178,9 +206,10 @@ namespace Handbrake.EncodeQueue
         }\r
 \r
         /// <summary>\r
-        /// Recover the queue from hb_queue_recovery.xml\r
+        /// Reads a serialized XML file that represents a queue of encoding jobs.\r
         /// </summary>\r
-        public void recoverQueue(string file)\r
+        /// <param name="file">The location of the file to read the queue from.</param>\r
+        public void LoadQueueFromFile(string file)\r
         {\r
             string tempPath = file == "hb_queue_recovery.xml" ? Path.Combine(Path.GetTempPath(), "hb_queue_recovery.xml") : file;\r
 \r
@@ -190,50 +219,55 @@ namespace Handbrake.EncodeQueue
                 {\r
                     if (strm.Length != 0)\r
                     {\r
-                        List<Job> list = ser.Deserialize(strm) as List<Job>;\r
+                        List<Job> list = serializer.Deserialize(strm) as List<Job>;\r
 \r
                         if (list != null)\r
                             foreach (Job item in list)\r
                                 queue.Add(item);\r
 \r
                         if (file != "hb_queue_recovery.xml")\r
-                            updateQueueRecoveryFile("hb_queue_recovery.xml");\r
+                            WriteQueueStateToFile("hb_queue_recovery.xml");\r
                     }\r
                 }\r
             }\r
         }\r
 \r
         /// <summary>\r
-        /// Check to see if a destination path is already on the queue\r
+        /// Checks the current queue for an existing instance of the specified destination.\r
         /// </summary>\r
-        /// <param name="destination">Destination path</param>\r
-        /// <returns>Boolean True/False. True = Path Exists</returns>\r
-        public Boolean checkDestinationPath(string destination)\r
+        /// <param name="destination">The destination of the encode.</param>\r
+        /// <returns>Whether or not the supplied destination is already in the queue.</returns>\r
+        public bool CheckForDestinationDuplicate(string destination)\r
         {\r
             foreach (Job checkItem in queue)\r
             {\r
                 if (checkItem.Destination.Contains(destination.Replace("\\\\", "\\")))\r
                     return true;\r
             }\r
+\r
             return false;\r
         }\r
+\r
         #endregion\r
 \r
         #region Encoding\r
 \r
-        public Boolean isEncodeStarted { get; private set; }\r
-        public Boolean isPaused { get; private set; }\r
-        public Boolean isEncoding { get; private set; }\r
+        public bool PauseRequested { get; private set; }\r
+        public bool IsEncoding { get; private set; }\r
 \r
-        public void startEncode()\r
+        /// <summary>\r
+        /// Starts encoding the first job in the queue and continues encoding until all jobs\r
+        /// have been encoded.\r
+        /// </summary>\r
+        public void StartEncodeQueue()\r
         { \r
-            if (this.count() != 0)\r
+            if (this.Count != 0)\r
             {\r
-                if (isPaused)\r
-                    isPaused = false;\r
+                if (PauseRequested)\r
+                    PauseRequested = false;\r
                 else\r
                 {\r
-                    isPaused = false;\r
+                    PauseRequested = false;\r
                     try\r
                     {\r
                         Thread theQueue = new Thread(startProcess) { IsBackground = true };\r
@@ -246,86 +280,63 @@ namespace Handbrake.EncodeQueue
                 }\r
             }\r
         }\r
-        public void pauseEncodeQueue()\r
+\r
+        /// <summary>\r
+        /// Requests a pause of the encode queue.\r
+        /// </summary>\r
+        public void RequestPause()\r
         {\r
-            isPaused = true;\r
-            EncodePaused(null);\r
+            PauseRequested = true;\r
+\r
+            if (QueuePauseRequested != null)\r
+                QueuePauseRequested(this, new EventArgs());\r
         }\r
-        public void endEncode()\r
+\r
+        /// <summary>\r
+        /// Stops the current job.\r
+        /// </summary>\r
+        public void EndEncodeJob()\r
         {\r
             encodeHandler.closeCLI();\r
         }\r
 \r
         private void startProcess(object state)\r
         {\r
-            try\r
+            // Run through each item on the queue\r
+            while (this.Count != 0)\r
             {\r
-                // Run through each item on the queue\r
-                while (this.count() != 0)\r
-                {\r
-                    string query = getNextJobForEncoding().Query;\r
-                    updateQueueRecoveryFile("hb_queue_recovery.xml"); // Update the queue recovery file\r
+                string query = GetNextJob().Query;\r
+                WriteQueueStateToFile("hb_queue_recovery.xml"); // Update the queue recovery file\r
 \r
-                    encodeHandler.runCli(query);\r
-                    EncodeStarted(null);\r
-                    encodeHandler.hbProcess.WaitForExit();\r
+                encodeHandler.runCli(query);\r
 \r
-                    encodeHandler.addCLIQueryToLog(query);\r
-                    encodeHandler.copyLog(lastQueueItem.Destination);\r
+                if (NewJobStarted != null)\r
+                    NewJobStarted(this, new EventArgs());\r
 \r
-                    encodeHandler.hbProcess.Close();\r
-                    encodeHandler.hbProcess.Dispose();\r
-                    EncodeFinished(null);\r
+                encodeHandler.hbProcess.WaitForExit();\r
 \r
-                    while (isPaused) // Need to find a better way of doing this.\r
-                    {\r
-                        Thread.Sleep(5000);\r
-                    }\r
-                }\r
-                EncodeQueueFinished(null);\r
+                encodeHandler.addCLIQueryToLog(query);\r
+                encodeHandler.copyLog(LastEncode.Destination);\r
 \r
-                // After the encode is done, we may want to shutdown, suspend etc.\r
-                encodeHandler.afterEncodeAction();\r
-            }\r
-            catch (Exception exc)\r
-            {\r
-                throw new Exception(exc.ToString());\r
-            }\r
-        }\r
-        #endregion\r
+                encodeHandler.hbProcess.Close();\r
+                encodeHandler.hbProcess.Dispose();\r
 \r
-        #region Events\r
-        public event EventHandler OnEncodeStart;\r
-        public event EventHandler OnPaused;\r
-        public event EventHandler OnEncodeEnded;\r
-        public event EventHandler OnQueueFinished;\r
+                if (CurrentJobCompleted != null)\r
+                    CurrentJobCompleted(this, new EventArgs());\r
 \r
-        // Invoke the Changed event; called whenever encodestatus changes:\r
-        protected virtual void EncodeStarted(EventArgs e)\r
-        {\r
-            if (OnEncodeStart != null)\r
-                OnEncodeStart(this, e);\r
+                while (PauseRequested) // Need to find a better way of doing this.\r
+                {\r
+                    Thread.Sleep(5000);\r
+                }\r
+            }\r
 \r
-            isEncoding = true;\r
-        }\r
-        protected virtual void EncodePaused(EventArgs e)\r
-        {\r
-            if (OnPaused != null)\r
-                OnPaused(this, e);\r
-        }\r
-        protected virtual void EncodeFinished(EventArgs e)\r
-        {\r
-            if (OnEncodeEnded != null)\r
-                OnEncodeEnded(this, e);\r
+            if (QueueCompleted != null)\r
+                QueueCompleted(this, new EventArgs());\r
 \r
-            isEncoding = false;\r
+            // After the encode is done, we may want to shutdown, suspend etc.\r
+            encodeHandler.afterEncodeAction();\r
         }\r
-        protected virtual void EncodeQueueFinished(EventArgs e)\r
-        {\r
-            if (OnQueueFinished != null)\r
-                OnQueueFinished(this, e);\r
-        }\r
-        #endregion\r
 \r
+        #endregion\r
     }\r
 }
\ No newline at end of file
index ea1296f..d740544 100644 (file)
@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------\r
 // <auto-generated>\r
 //     This code was generated by a tool.\r
-//     Runtime Version:2.0.50727.3082\r
+//     Runtime Version:2.0.50727.4918\r
 //\r
 //     Changes to this file may cause incorrect behavior and will be lost if\r
 //     the code is regenerated.\r
@@ -405,5 +405,17 @@ namespace Handbrake.Properties {
                 this["useM4v"] = value;\r
             }\r
         }\r
+        \r
+        [global::System.Configuration.UserScopedSettingAttribute()]\r
+        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
+        [global::System.Configuration.DefaultSettingValueAttribute("True")]\r
+        public bool PromptOnUnmatchingQueries {\r
+            get {\r
+                return ((bool)(this["PromptOnUnmatchingQueries"]));\r
+            }\r
+            set {\r
+                this["PromptOnUnmatchingQueries"] = value;\r
+            }\r
+        }\r
     }\r
 }\r
index feb65c8..5f43ded 100644 (file)
@@ -98,5 +98,8 @@
     <Setting Name="useM4v" Type="System.Boolean" Scope="User">\r
       <Value Profile="(Default)">False</Value>\r
     </Setting>\r
+    <Setting Name="PromptOnUnmatchingQueries" Type="System.Boolean" Scope="User">\r
+      <Value Profile="(Default)">True</Value>\r
+    </Setting>\r
   </Settings>\r
 </SettingsFile>
\ No newline at end of file
index 3422baf..1545f33 100644 (file)
             <setting name="useM4v" serializeAs="String">\r
                 <value>False</value>\r
             </setting>\r
+            <setting name="PromptOnUnmatchingQueries" serializeAs="String">\r
+                <value>True</value>\r
+            </setting>\r
         </Handbrake.Properties.Settings>\r
     </userSettings>\r
 <startup><supportedRuntime version="v2.0.50727"/></startup></configuration>\r
index 887ad7d..bcf01c8 100644 (file)
@@ -36,107 +36,104 @@ namespace Handbrake
         {\r
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAbout));\r
             this.Label3 = new System.Windows.Forms.Label();\r
-            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
             this.label1 = new System.Windows.Forms.Label();\r
             this.lbl_HBBuild = new System.Windows.Forms.Label();\r
             this.PictureBox1 = new System.Windows.Forms.PictureBox();\r
-            this.tableLayoutPanel1.SuspendLayout();\r
+            this.button1 = new System.Windows.Forms.Button();\r
             ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();\r
             this.SuspendLayout();\r
             // \r
             // Label3\r
             // \r
             this.Label3.AutoSize = true;\r
-            this.Label3.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.Label3.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.Label3.Location = new System.Drawing.Point(3, 23);\r
+            this.Label3.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.Label3.Location = new System.Drawing.Point(124, 12);\r
+            this.Label3.Margin = new System.Windows.Forms.Padding(3, 3, 3, 1);\r
             this.Label3.Name = "Label3";\r
-            this.Label3.Size = new System.Drawing.Size(325, 18);\r
+            this.Label3.Size = new System.Drawing.Size(99, 19);\r
             this.Label3.TabIndex = 25;\r
             this.Label3.Text = "HandBrake";\r
             this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;\r
             // \r
-            // tableLayoutPanel1\r
-            // \r
-            this.tableLayoutPanel1.ColumnCount = 1;\r
-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));\r
-            this.tableLayoutPanel1.Controls.Add(this.label1, 0, 2);\r
-            this.tableLayoutPanel1.Controls.Add(this.lbl_HBBuild, 0, 1);\r
-            this.tableLayoutPanel1.Controls.Add(this.Label3, 0, 0);\r
-            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 83);\r
-            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
-            this.tableLayoutPanel1.RowCount = 4;\r
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 69.44444F));\r
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30.55556F));\r
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
-            this.tableLayoutPanel1.Size = new System.Drawing.Size(331, 100);\r
-            this.tableLayoutPanel1.TabIndex = 32;\r
-            // \r
             // label1\r
             // \r
             this.label1.AutoSize = true;\r
-            this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.label1.Location = new System.Drawing.Point(3, 66);\r
+            this.label1.Location = new System.Drawing.Point(125, 63);\r
+            this.label1.Margin = new System.Windows.Forms.Padding(3);\r
             this.label1.Name = "label1";\r
-            this.label1.Size = new System.Drawing.Size(325, 13);\r
+            this.label1.Size = new System.Drawing.Size(224, 13);\r
             this.label1.TabIndex = 33;\r
-            this.label1.Text = "(C) 2003-2009, HandBrake Developers";\r
-            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;\r
+            this.label1.Text = "Copyright  2003-2009 HandBrake Developers";\r
+            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;\r
             // \r
             // lbl_HBBuild\r
             // \r
-            this.lbl_HBBuild.AutoSize = true;\r
-            this.lbl_HBBuild.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.lbl_HBBuild.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.lbl_HBBuild.Location = new System.Drawing.Point(3, 46);\r
+            this.lbl_HBBuild.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.lbl_HBBuild.Location = new System.Drawing.Point(125, 33);\r
+            this.lbl_HBBuild.Margin = new System.Windows.Forms.Padding(3, 1, 3, 3);\r
             this.lbl_HBBuild.Name = "lbl_HBBuild";\r
-            this.lbl_HBBuild.Size = new System.Drawing.Size(325, 13);\r
+            this.lbl_HBBuild.Size = new System.Drawing.Size(152, 13);\r
             this.lbl_HBBuild.TabIndex = 32;\r
             this.lbl_HBBuild.Text = "{Version}";\r
-            this.lbl_HBBuild.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;\r
+            this.lbl_HBBuild.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;\r
             // \r
             // PictureBox1\r
             // \r
             this.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;\r
             this.PictureBox1.Image = global::Handbrake.Properties.Resources.logo128;\r
             this.PictureBox1.InitialImage = null;\r
-            this.PictureBox1.Location = new System.Drawing.Point(120, 12);\r
+            this.PictureBox1.Location = new System.Drawing.Point(9, 9);\r
+            this.PictureBox1.Margin = new System.Windows.Forms.Padding(0);\r
             this.PictureBox1.Name = "PictureBox1";\r
-            this.PictureBox1.Size = new System.Drawing.Size(84, 84);\r
+            this.PictureBox1.Size = new System.Drawing.Size(96, 96);\r
             this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;\r
             this.PictureBox1.TabIndex = 33;\r
             this.PictureBox1.TabStop = false;\r
             // \r
+            // button1\r
+            // \r
+            this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;\r
+            this.button1.Location = new System.Drawing.Point(274, 82);\r
+            this.button1.Name = "button1";\r
+            this.button1.Size = new System.Drawing.Size(75, 23);\r
+            this.button1.TabIndex = 35;\r
+            this.button1.Text = "OK";\r
+            this.button1.UseVisualStyleBackColor = true;\r
+            // \r
             // frmAbout\r
             // \r
-            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);\r
+            this.AcceptButton = this.button1;\r
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
-            this.ClientSize = new System.Drawing.Size(331, 183);\r
+            this.CancelButton = this.button1;\r
+            this.ClientSize = new System.Drawing.Size(363, 117);\r
+            this.Controls.Add(this.button1);\r
+            this.Controls.Add(this.label1);\r
             this.Controls.Add(this.PictureBox1);\r
-            this.Controls.Add(this.tableLayoutPanel1);\r
-            this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.Controls.Add(this.lbl_HBBuild);\r
+            this.Controls.Add(this.Label3);\r
+            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;\r
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
             this.MaximizeBox = false;\r
             this.MinimizeBox = false;\r
             this.Name = "frmAbout";\r
+            this.ShowIcon = false;\r
+            this.ShowInTaskbar = false;\r
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
             this.Text = "About HandBrake";\r
-            this.tableLayoutPanel1.ResumeLayout(false);\r
-            this.tableLayoutPanel1.PerformLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();\r
             this.ResumeLayout(false);\r
+            this.PerformLayout();\r
 \r
         }\r
 \r
         #endregion\r
 \r
         internal System.Windows.Forms.Label Label3;\r
-        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
         internal System.Windows.Forms.Label label1;\r
         internal System.Windows.Forms.Label lbl_HBBuild;\r
         internal System.Windows.Forms.PictureBox PictureBox1;\r
+        private System.Windows.Forms.Button button1;\r
     }\r
 }
\ No newline at end of file
index 9ad5e16..9d25318 100644 (file)
@@ -64,7 +64,7 @@ namespace Handbrake
             this.rtf_actLog.Location = new System.Drawing.Point(0, 25);\r
             this.rtf_actLog.Name = "rtf_actLog";\r
             this.rtf_actLog.ReadOnly = true;\r
-            this.rtf_actLog.Size = new System.Drawing.Size(471, 530);\r
+            this.rtf_actLog.Size = new System.Drawing.Size(404, 530);\r
             this.rtf_actLog.TabIndex = 29;\r
             this.rtf_actLog.Text = "";\r
             // \r
@@ -74,13 +74,13 @@ namespace Handbrake
             this.mnu_copy_log,\r
             this.mnu_openLogFolder});\r
             this.rightClickMenu.Name = "rightClickMenu";\r
-            this.rightClickMenu.Size = new System.Drawing.Size(247, 48);\r
+            this.rightClickMenu.Size = new System.Drawing.Size(254, 48);\r
             // \r
             // mnu_copy_log\r
             // \r
             this.mnu_copy_log.Image = global::Handbrake.Properties.Resources.copy;\r
             this.mnu_copy_log.Name = "mnu_copy_log";\r
-            this.mnu_copy_log.Size = new System.Drawing.Size(246, 22);\r
+            this.mnu_copy_log.Size = new System.Drawing.Size(253, 22);\r
             this.mnu_copy_log.Text = "Copy";\r
             this.mnu_copy_log.Click += new System.EventHandler(this.mnu_copy_log_Click);\r
             // \r
@@ -88,7 +88,7 @@ namespace Handbrake
             // \r
             this.mnu_openLogFolder.Image = global::Handbrake.Properties.Resources.folder;\r
             this.mnu_openLogFolder.Name = "mnu_openLogFolder";\r
-            this.mnu_openLogFolder.Size = new System.Drawing.Size(246, 22);\r
+            this.mnu_openLogFolder.Size = new System.Drawing.Size(253, 22);\r
             this.mnu_openLogFolder.Text = "Open Individual Log File Directory";\r
             this.mnu_openLogFolder.Click += new System.EventHandler(this.mnu_openLogFolder_Click);\r
             // \r
@@ -105,7 +105,7 @@ namespace Handbrake
             this.toolStrip1.Location = new System.Drawing.Point(0, 0);\r
             this.toolStrip1.Name = "toolStrip1";\r
             this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;\r
-            this.toolStrip1.Size = new System.Drawing.Size(471, 25);\r
+            this.toolStrip1.Size = new System.Drawing.Size(404, 25);\r
             this.toolStrip1.TabIndex = 96;\r
             this.toolStrip1.Text = "toolStrip1";\r
             // \r
@@ -119,14 +119,14 @@ namespace Handbrake
             this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";\r
-            this.toolStripDropDownButton1.Size = new System.Drawing.Size(85, 22);\r
+            this.toolStripDropDownButton1.Size = new System.Drawing.Size(90, 22);\r
             this.toolStripDropDownButton1.Text = "Select Log";\r
             // \r
             // btn_encode_log\r
             // \r
             this.btn_encode_log.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;\r
             this.btn_encode_log.Name = "btn_encode_log";\r
-            this.btn_encode_log.Size = new System.Drawing.Size(140, 22);\r
+            this.btn_encode_log.Size = new System.Drawing.Size(152, 22);\r
             this.btn_encode_log.Text = "Encode Log";\r
             this.btn_encode_log.Click += new System.EventHandler(this.btn_encode_log_Click);\r
             // \r
@@ -134,7 +134,7 @@ namespace Handbrake
             // \r
             this.btn_scan_log.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;\r
             this.btn_scan_log.Name = "btn_scan_log";\r
-            this.btn_scan_log.Size = new System.Drawing.Size(140, 22);\r
+            this.btn_scan_log.Size = new System.Drawing.Size(152, 22);\r
             this.btn_scan_log.Text = "Scan Log";\r
             this.btn_scan_log.Click += new System.EventHandler(this.btn_scan_log_Click);\r
             // \r
@@ -144,7 +144,7 @@ namespace Handbrake
             this.btn_copy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_copy.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_copy.Name = "btn_copy";\r
-            this.btn_copy.Size = new System.Drawing.Size(111, 22);\r
+            this.btn_copy.Size = new System.Drawing.Size(122, 22);\r
             this.btn_copy.Text = "Copy to clipboard";\r
             this.btn_copy.Click += new System.EventHandler(this.btn_copy_Click);\r
             // \r
@@ -153,7 +153,7 @@ namespace Handbrake
             this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.panel1.Location = new System.Drawing.Point(0, 25);\r
             this.panel1.Name = "panel1";\r
-            this.panel1.Size = new System.Drawing.Size(471, 552);\r
+            this.panel1.Size = new System.Drawing.Size(404, 552);\r
             this.panel1.TabIndex = 97;\r
             // \r
             // statusStrip1\r
@@ -163,36 +163,37 @@ namespace Handbrake
             this.txt_log});\r
             this.statusStrip1.Location = new System.Drawing.Point(0, 555);\r
             this.statusStrip1.Name = "statusStrip1";\r
-            this.statusStrip1.Size = new System.Drawing.Size(471, 22);\r
+            this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 12, 0);\r
+            this.statusStrip1.Size = new System.Drawing.Size(404, 22);\r
             this.statusStrip1.TabIndex = 98;\r
             this.statusStrip1.Text = "statusStrip1";\r
             // \r
             // lbl_slb\r
             // \r
             this.lbl_slb.BackColor = System.Drawing.Color.Transparent;\r
-            this.lbl_slb.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.lbl_slb.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.lbl_slb.Name = "lbl_slb";\r
-            this.lbl_slb.Size = new System.Drawing.Size(94, 17);\r
+            this.lbl_slb.Size = new System.Drawing.Size(85, 17);\r
             this.lbl_slb.Text = "Selected Log: ";\r
             // \r
             // txt_log\r
             // \r
             this.txt_log.BackColor = System.Drawing.Color.Transparent;\r
             this.txt_log.Name = "txt_log";\r
-            this.txt_log.Size = new System.Drawing.Size(74, 17);\r
+            this.txt_log.Size = new System.Drawing.Size(78, 17);\r
             this.txt_log.Text = "{selected log}";\r
             // \r
             // frmActivityWindow\r
             // \r
-            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);\r
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
             this.BackColor = System.Drawing.SystemColors.ControlLight;\r
-            this.ClientSize = new System.Drawing.Size(471, 577);\r
+            this.ClientSize = new System.Drawing.Size(404, 577);\r
             this.Controls.Add(this.rtf_actLog);\r
             this.Controls.Add(this.statusStrip1);\r
             this.Controls.Add(this.panel1);\r
             this.Controls.Add(this.toolStrip1);\r
-            this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
             this.MaximizeBox = false;\r
             this.MinimizeBox = false;\r
index 76364d7..c308990 100644 (file)
@@ -68,9 +68,9 @@ namespace Handbrake
             rtf_actLog.AppendText(String.Format("### Install Dir: {0} \n", Application.StartupPath));\r
             rtf_actLog.AppendText(String.Format("### Data Dir: {0} \n", Application.UserAppDataPath));\r
             rtf_actLog.AppendText("#########################################\n\n");\r
-            if (encodeQueue.isEncoding && encodeQueue.lastQueueItem.Query != String.Empty)\r
+            if (encodeQueue.IsEncoding && encodeQueue.LastEncode.Query != String.Empty)\r
             {\r
-                rtf_actLog.AppendText("### CLI Query: " + encodeQueue.lastQueueItem.Query + "\n\n");\r
+                rtf_actLog.AppendText("### CLI Query: " + encodeQueue.LastEncode.Query + "\n\n");\r
                 rtf_actLog.AppendText("#########################################\n\n");\r
             }\r
         }\r
@@ -114,7 +114,7 @@ namespace Handbrake
                 updateTextFromThread();\r
                 while (true)\r
                 {\r
-                    if (encodeQueue.isEncoding || mainWin.isScanning)\r
+                    if (encodeQueue.IsEncoding || mainWin.isScanning)\r
                         updateTextFromThread();\r
                     else\r
                     {\r
index 3d9888b..833a519 100644 (file)
   <data name="btn_copy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
     <value>\r
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8\r
-        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAeVJREFUOE+lk99P\r
-        kmEYhv1TSsdcdewf0FpZrTbbah7UQVvZOuJAjzpq2WzLNWy0iSHNwtIB9iE0l1KJEIgSYSL2AxfZVrCh\r
-        7vuURPTDruBlSdCGbj7bffbe1/Pc7/O+NTX7Laf3MwVJ7qiQZTRMv3OKqeB79sQumCvL7Ahwrf0ZE17v\r
-        7hD7eLTMn9v+TffAK1z+KBdbu3BPeKpDLGMzAuCKgfQBInGFB+aXSD4Fm1fG6pF5PCajH14Reu2bLwf2\r
-        OwM7E2xu5VDWsiRSaQGorI7BJRpa/DhcoRLEZPOIc33+LXSjCrekn7Q9iTPwZvk/QKsxhXNa4UizA2lk\r
-        sggx5PMWcq9nVJbkDIuJVT7GlzGNJAWgU8oJRRZWuaxLcrj5BYfOD1Hf9LQIKOTdyKo7nbWmGNcN89y3\r
-        LpZNoPxSWfixgX9uDaMUQnP2UQmgpLN8+pZi5kuCQOQ77ndfae8rrvfmYBqtIcmlezHO3Z4VMkpBNKd7\r
-        SoCGU1eoVJt+VgDUfLyUrDIXX2c8rGB/u8LDoQB1jfrq673aMS0A/3b+O0GPbZLa47rqgAs3PGQ2tzEN\r
-        h+m1hzA+D4rOBbPB4uPgsbvVAY1aV/62rUL1TWY0Z3qpO9lN7YmuvLmTA0fv7P7M9/SZ9nvoD8uZ5Oms\r
-        OGJjAAAAAElFTkSuQmCC\r
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHlSURBVDhPpZPfT5JhGIb9U0rHXHXsH9BaWa0222oe1EFb\r
+        2TriQI86atlsyzVstIkhzcLSAfYhNJdSiRCIEmEi9gMX2Vawoe77lET0w67gZUnQhm4+23323tfz3O/z\r
+        vjU1+y2n9zMFSe6okGU0TL9ziqnge/bELpgry+wIcK39GRNe7+4Q+3i0zJ/b/k33wCtc/igXW7twT3iq\r
+        QyxjMwLgioH0ASJxhQfml0g+BZtXxuqReTwmox9eEXrtmy8H9jsDOxNsbuVQ1rIkUmkBqKyOwSUaWvw4\r
+        XKESxGTziHN9/i10owq3pJ+0PYkz8Gb5P0CrMYVzWuFIswNpZLIIMeTzFnKvZ1SW5AyLiVU+xpcxjSQF\r
+        oFPKCUUWVrmsS3K4+QWHzg9R3/S0CCjk3ciqO521phjXDfPcty6WTaD8Uln4sYF/bg2jFEJz9lEJoKSz\r
+        fPqWYuZLgkDkO+53X2nvK6735mAarSHJpXsxzt2eFTJKQTSne0qAhlNXqFSbflYA1Hy8lKwyF19nPKxg\r
+        f7vCw6EAdY366uu92jEtAP92/jtBj22S2uO66oALNzxkNrcxDYfptYcwPg+KzgWzweLj4LG71QGNWlf+\r
+        tq1C9U1mNGd6qTvZTe2Jrry5kwNH7+z+zPf0mfZ76A/LmeTprDhiYwAAAABJRU5ErkJggg==\r
 </value>\r
   </data>\r
   <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
index a50372a..8378390 100644 (file)
@@ -43,35 +43,39 @@ namespace Handbrake
             this.check_pictureSettings = new System.Windows.Forms.CheckBox();\r
             this.toolTip = new System.Windows.Forms.ToolTip(this.components);\r
             this.label1 = new System.Windows.Forms.Label();\r
+            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.tableLayoutPanel1.SuspendLayout();\r
             this.SuspendLayout();\r
             // \r
             // lbl_name\r
             // \r
+            this.lbl_name.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.lbl_name.AutoSize = true;\r
-            this.lbl_name.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.lbl_name.Location = new System.Drawing.Point(14, 20);\r
+            this.lbl_name.Location = new System.Drawing.Point(3, 7);\r
             this.lbl_name.Name = "lbl_name";\r
-            this.lbl_name.Size = new System.Drawing.Size(89, 13);\r
+            this.lbl_name.Size = new System.Drawing.Size(75, 13);\r
             this.lbl_name.TabIndex = 1;\r
             this.lbl_name.Text = "Preset Name: ";\r
             // \r
             // txt_preset_name\r
             // \r
-            this.txt_preset_name.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.txt_preset_name.Location = new System.Drawing.Point(109, 17);\r
+            this.txt_preset_name.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.tableLayoutPanel1.SetColumnSpan(this.txt_preset_name, 2);\r
+            this.txt_preset_name.Location = new System.Drawing.Point(84, 3);\r
             this.txt_preset_name.Name = "txt_preset_name";\r
-            this.txt_preset_name.Size = new System.Drawing.Size(241, 21);\r
+            this.txt_preset_name.Size = new System.Drawing.Size(208, 21);\r
             this.txt_preset_name.TabIndex = 0;\r
             // \r
             // btn_add\r
             // \r
+            this.btn_add.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
             this.btn_add.BackColor = System.Drawing.Color.Transparent;\r
             this.btn_add.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
-            this.btn_add.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_add.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_add.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_add.Location = new System.Drawing.Point(209, 109);\r
+            this.btn_add.Location = new System.Drawing.Point(172, 72);\r
             this.btn_add.Name = "btn_add";\r
-            this.btn_add.Size = new System.Drawing.Size(66, 22);\r
+            this.btn_add.Size = new System.Drawing.Size(57, 22);\r
             this.btn_add.TabIndex = 2;\r
             this.btn_add.Text = "Add";\r
             this.btn_add.UseVisualStyleBackColor = false;\r
@@ -81,11 +85,11 @@ namespace Handbrake
             // \r
             this.btn_cancel.BackColor = System.Drawing.Color.Transparent;\r
             this.btn_cancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
-            this.btn_cancel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_cancel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_cancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_cancel.Location = new System.Drawing.Point(281, 109);\r
+            this.btn_cancel.Location = new System.Drawing.Point(235, 72);\r
             this.btn_cancel.Name = "btn_cancel";\r
-            this.btn_cancel.Size = new System.Drawing.Size(66, 22);\r
+            this.btn_cancel.Size = new System.Drawing.Size(57, 22);\r
             this.btn_cancel.TabIndex = 3;\r
             this.btn_cancel.Text = "Cancel";\r
             this.btn_cancel.UseVisualStyleBackColor = false;\r
@@ -93,10 +97,12 @@ namespace Handbrake
             // \r
             // check_pictureSettings\r
             // \r
+            this.check_pictureSettings.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_pictureSettings.AutoSize = true;\r
-            this.check_pictureSettings.Location = new System.Drawing.Point(109, 44);\r
+            this.tableLayoutPanel1.SetColumnSpan(this.check_pictureSettings, 2);\r
+            this.check_pictureSettings.Location = new System.Drawing.Point(84, 30);\r
             this.check_pictureSettings.Name = "check_pictureSettings";\r
-            this.check_pictureSettings.Size = new System.Drawing.Size(155, 17);\r
+            this.check_pictureSettings.Size = new System.Drawing.Size(132, 17);\r
             this.check_pictureSettings.TabIndex = 1;\r
             this.check_pictureSettings.Text = "Store Cropping Values";\r
             this.toolTip.SetToolTip(this.check_pictureSettings, "Save Picture Width/Height and Crop Values");\r
@@ -104,34 +110,64 @@ namespace Handbrake
             // \r
             // label1\r
             // \r
+            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.label1.AutoSize = true;\r
-            this.label1.Location = new System.Drawing.Point(106, 64);\r
+            this.tableLayoutPanel1.SetColumnSpan(this.label1, 2);\r
+            this.label1.Location = new System.Drawing.Point(84, 53);\r
+            this.label1.Margin = new System.Windows.Forms.Padding(3);\r
             this.label1.Name = "label1";\r
-            this.label1.Size = new System.Drawing.Size(236, 13);\r
+            this.label1.Size = new System.Drawing.Size(200, 13);\r
             this.label1.TabIndex = 4;\r
             this.label1.Text = "Note: Subtitles are not stored in presets";\r
             // \r
+            // tableLayoutPanel1\r
+            // \r
+            this.tableLayoutPanel1.AutoSize = true;\r
+            this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.tableLayoutPanel1.ColumnCount = 3;\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_name, 0, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.btn_cancel, 2, 3);\r
+            this.tableLayoutPanel1.Controls.Add(this.label1, 1, 2);\r
+            this.tableLayoutPanel1.Controls.Add(this.btn_add, 1, 3);\r
+            this.tableLayoutPanel1.Controls.Add(this.txt_preset_name, 1, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.check_pictureSettings, 1, 1);\r
+            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tableLayoutPanel1.Location = new System.Drawing.Point(9, 9);\r
+            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
+            this.tableLayoutPanel1.RowCount = 4;\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.Size = new System.Drawing.Size(295, 125);\r
+            this.tableLayoutPanel1.TabIndex = 5;\r
+            // \r
             // frmAddPreset\r
             // \r
-            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);\r
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
-            this.ClientSize = new System.Drawing.Size(365, 143);\r
-            this.Controls.Add(this.label1);\r
-            this.Controls.Add(this.check_pictureSettings);\r
-            this.Controls.Add(this.btn_cancel);\r
-            this.Controls.Add(this.btn_add);\r
-            this.Controls.Add(this.txt_preset_name);\r
-            this.Controls.Add(this.lbl_name);\r
-            this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);\r
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;\r
+            this.AutoSize = true;\r
+            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.ClientSize = new System.Drawing.Size(313, 143);\r
+            this.Controls.Add(this.tableLayoutPanel1);\r
+            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;\r
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
             this.MaximizeBox = false;\r
             this.MinimizeBox = false;\r
             this.Name = "frmAddPreset";\r
+            this.Padding = new System.Windows.Forms.Padding(9);\r
+            this.ShowIcon = false;\r
             this.ShowInTaskbar = false;\r
             this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;\r
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
             this.Text = "Add Preset";\r
             this.TopMost = true;\r
+            this.tableLayoutPanel1.ResumeLayout(false);\r
+            this.tableLayoutPanel1.PerformLayout();\r
             this.ResumeLayout(false);\r
             this.PerformLayout();\r
 \r
@@ -146,5 +182,6 @@ namespace Handbrake
         private System.Windows.Forms.CheckBox check_pictureSettings;\r
         private System.Windows.Forms.ToolTip toolTip;\r
         private System.Windows.Forms.Label label1;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
     }\r
 }
\ No newline at end of file
index 5d0f452..f987979 100644 (file)
@@ -37,70 +37,99 @@ namespace Handbrake
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDownload));\r
             this.lblProgress = new System.Windows.Forms.Label();\r
             this.progress_download = new System.Windows.Forms.ProgressBar();\r
-            this.PictureBox1 = new System.Windows.Forms.PictureBox();\r
             this.btn_cancel = new System.Windows.Forms.Button();\r
+            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.PictureBox1 = new System.Windows.Forms.PictureBox();\r
+            this.tableLayoutPanel1.SuspendLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();\r
             this.SuspendLayout();\r
             // \r
             // lblProgress\r
             // \r
             this.lblProgress.AutoSize = true;\r
-            this.lblProgress.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.lblProgress.Location = new System.Drawing.Point(93, 38);\r
+            this.lblProgress.Location = new System.Drawing.Point(73, 29);\r
             this.lblProgress.Name = "lblProgress";\r
-            this.lblProgress.Size = new System.Drawing.Size(115, 13);\r
+            this.lblProgress.Size = new System.Drawing.Size(98, 13);\r
             this.lblProgress.TabIndex = 10;\r
             this.lblProgress.Text = "Awaiting Download";\r
             // \r
             // progress_download\r
             // \r
-            this.progress_download.Location = new System.Drawing.Point(93, 12);\r
+            this.progress_download.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.progress_download.Location = new System.Drawing.Point(73, 3);\r
             this.progress_download.Name = "progress_download";\r
-            this.progress_download.Size = new System.Drawing.Size(318, 23);\r
+            this.progress_download.Size = new System.Drawing.Size(273, 23);\r
             this.progress_download.Style = System.Windows.Forms.ProgressBarStyle.Continuous;\r
             this.progress_download.TabIndex = 9;\r
             // \r
-            // PictureBox1\r
-            // \r
-            this.PictureBox1.Image = global::Handbrake.Properties.Resources.logo64;\r
-            this.PictureBox1.InitialImage = null;\r
-            this.PictureBox1.Location = new System.Drawing.Point(12, 12);\r
-            this.PictureBox1.Name = "PictureBox1";\r
-            this.PictureBox1.Size = new System.Drawing.Size(75, 64);\r
-            this.PictureBox1.TabIndex = 25;\r
-            this.PictureBox1.TabStop = false;\r
-            // \r
             // btn_cancel\r
             // \r
+            this.btn_cancel.Anchor = System.Windows.Forms.AnchorStyles.Right;\r
             this.btn_cancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
-            this.btn_cancel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_cancel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_cancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_cancel.Location = new System.Drawing.Point(321, 54);\r
+            this.btn_cancel.Location = new System.Drawing.Point(275, 45);\r
             this.btn_cancel.Name = "btn_cancel";\r
-            this.btn_cancel.Size = new System.Drawing.Size(90, 22);\r
-            this.btn_cancel.TabIndex = 56;\r
+            this.btn_cancel.Size = new System.Drawing.Size(71, 22);\r
+            this.btn_cancel.TabIndex = 26;\r
+            this.btn_cancel.TabStop = false;\r
             this.btn_cancel.Text = "Cancel";\r
-            this.btn_cancel.UseVisualStyleBackColor = false;\r
+            this.btn_cancel.UseVisualStyleBackColor = true;\r
             this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);\r
             // \r
+            // tableLayoutPanel1\r
+            // \r
+            this.tableLayoutPanel1.ColumnCount = 2;\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.Controls.Add(this.PictureBox1, 0, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.btn_cancel, 1, 2);\r
+            this.tableLayoutPanel1.Controls.Add(this.progress_download, 1, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.lblProgress, 1, 1);\r
+            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tableLayoutPanel1.Location = new System.Drawing.Point(9, 9);\r
+            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
+            this.tableLayoutPanel1.RowCount = 3;\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.Size = new System.Drawing.Size(349, 70);\r
+            this.tableLayoutPanel1.TabIndex = 27;\r
+            // \r
+            // PictureBox1\r
+            // \r
+            this.PictureBox1.Image = global::Handbrake.Properties.Resources.logo64;\r
+            this.PictureBox1.InitialImage = null;\r
+            this.PictureBox1.Location = new System.Drawing.Point(3, 3);\r
+            this.PictureBox1.Name = "PictureBox1";\r
+            this.tableLayoutPanel1.SetRowSpan(this.PictureBox1, 3);\r
+            this.PictureBox1.Size = new System.Drawing.Size(64, 64);\r
+            this.PictureBox1.TabIndex = 25;\r
+            this.PictureBox1.TabStop = false;\r
+            // \r
             // frmDownload\r
             // \r
-            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);\r
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
-            this.ClientSize = new System.Drawing.Size(426, 87);\r
-            this.Controls.Add(this.btn_cancel);\r
-            this.Controls.Add(this.PictureBox1);\r
-            this.Controls.Add(this.lblProgress);\r
-            this.Controls.Add(this.progress_download);\r
-            this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.AutoSize = true;\r
+            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.ClientSize = new System.Drawing.Size(367, 88);\r
+            this.Controls.Add(this.tableLayoutPanel1);\r
+            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;\r
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
+            this.MaximizeBox = false;\r
+            this.MinimizeBox = false;\r
             this.Name = "frmDownload";\r
+            this.Padding = new System.Windows.Forms.Padding(9);\r
             this.ShowIcon = false;\r
+            this.ShowInTaskbar = false;\r
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;\r
             this.Text = "Downloading Update";\r
+            this.tableLayoutPanel1.ResumeLayout(false);\r
+            this.tableLayoutPanel1.PerformLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();\r
             this.ResumeLayout(false);\r
-            this.PerformLayout();\r
 \r
         }\r
 \r
@@ -108,7 +137,8 @@ namespace Handbrake
 \r
         private System.Windows.Forms.Label lblProgress;\r
         private System.Windows.Forms.ProgressBar progress_download;\r
-        internal System.Windows.Forms.PictureBox PictureBox1;\r
         internal System.Windows.Forms.Button btn_cancel;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
+        internal System.Windows.Forms.PictureBox PictureBox1;\r
     }\r
 }
\ No newline at end of file
index acd18f3..3168859 100644 (file)
@@ -40,7 +40,7 @@ namespace Handbrake
             this.components = new System.ComponentModel.Container();\r
             System.Windows.Forms.ContextMenuStrip notifyIconMenu;\r
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();\r
             this.btn_restore = new System.Windows.Forms.ToolStripMenuItem();\r
             this.DVD_Save = new System.Windows.Forms.SaveFileDialog();\r
             this.ToolTip = new System.Windows.Forms.ToolTip(this.components);\r
@@ -64,7 +64,6 @@ namespace Handbrake
             this.drop_chapterFinish = new System.Windows.Forms.ComboBox();\r
             this.drop_chapterStart = new System.Windows.Forms.ComboBox();\r
             this.drop_angle = new System.Windows.Forms.ComboBox();\r
-            this.drp_dvdtitle = new System.Windows.Forms.ComboBox();\r
             this.DVD_Open = new System.Windows.Forms.FolderBrowserDialog();\r
             this.File_Open = new System.Windows.Forms.OpenFileDialog();\r
             this.ISO_Open = new System.Windows.Forms.OpenFileDialog();\r
@@ -96,7 +95,6 @@ namespace Handbrake
             this.Label47 = new System.Windows.Forms.Label();\r
             this.Label3 = new System.Windows.Forms.Label();\r
             this.tab_audio = new System.Windows.Forms.TabPage();\r
-            this.AudioSettings = new Handbrake.Controls.AudioPanel();\r
             this.AudioMenuRowHeightHack = new System.Windows.Forms.ImageList(this.components);\r
             this.tab_video = new System.Windows.Forms.TabPage();\r
             this.radio_cq = new System.Windows.Forms.RadioButton();\r
@@ -108,17 +106,13 @@ namespace Handbrake
             this.SliderValue = new System.Windows.Forms.Label();\r
             this.Label46 = new System.Windows.Forms.Label();\r
             this.tab_picture = new System.Windows.Forms.TabPage();\r
-            this.PictureSettings = new Handbrake.Controls.PictureSettings();\r
             this.Check_ChapterMarkers = new System.Windows.Forms.CheckBox();\r
             this.tabs_panel = new System.Windows.Forms.TabControl();\r
             this.tab_filters = new System.Windows.Forms.TabPage();\r
-            this.Filters = new Handbrake.Controls.Filters();\r
             this.tab_subtitles = new System.Windows.Forms.TabPage();\r
-            this.Subtitles = new Handbrake.Controls.Subtitles();\r
             this.tab_chapters = new System.Windows.Forms.TabPage();\r
             this.label31 = new System.Windows.Forms.Label();\r
             this.tab_advanced = new System.Windows.Forms.TabPage();\r
-            this.x264Panel = new Handbrake.Controls.x264Panel();\r
             this.tab_query = new System.Windows.Forms.TabPage();\r
             this.btn_clear = new System.Windows.Forms.Button();\r
             this.label34 = new System.Windows.Forms.Label();\r
@@ -157,16 +151,23 @@ namespace Handbrake
             this.btn_destBrowse = new System.Windows.Forms.Button();\r
             this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();\r
             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
-            this.Label10 = new System.Windows.Forms.Label();\r
             this.lbl_angle = new System.Windows.Forms.Label();\r
             this.Label9 = new System.Windows.Forms.Label();\r
             this.Label13 = new System.Windows.Forms.Label();\r
             this.label_duration = new System.Windows.Forms.Label();\r
             this.lbl_duration = new System.Windows.Forms.Label();\r
-            this.labelStaticSource = new System.Windows.Forms.Label();\r
-            this.labelSource = new System.Windows.Forms.Label();\r
             this.labelStaticDestination = new System.Windows.Forms.Label();\r
             this.labelPreset = new System.Windows.Forms.Label();\r
+            this.drp_dvdtitle = new System.Windows.Forms.ComboBox();\r
+            this.labelSource = new System.Windows.Forms.Label();\r
+            this.Label10 = new System.Windows.Forms.Label();\r
+            this.labelStaticSource = new System.Windows.Forms.Label();\r
+            this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();\r
+            this.PictureSettings = new Handbrake.Controls.PictureSettings();\r
+            this.Filters = new Handbrake.Controls.Filters();\r
+            this.AudioSettings = new Handbrake.Controls.AudioPanel();\r
+            this.Subtitles = new Handbrake.Controls.Subtitles();\r
+            this.x264Panel = new Handbrake.Controls.x264Panel();\r
             notifyIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components);\r
             notifyIconMenu.SuspendLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).BeginInit();\r
@@ -191,6 +192,7 @@ namespace Handbrake
             this.tableLayoutPanel2.SuspendLayout();\r
             this.tableLayoutPanel3.SuspendLayout();\r
             this.tableLayoutPanel1.SuspendLayout();\r
+            this.flowLayoutPanel1.SuspendLayout();\r
             this.SuspendLayout();\r
             // \r
             // notifyIconMenu\r
@@ -199,12 +201,12 @@ namespace Handbrake
             this.btn_restore});\r
             notifyIconMenu.Name = "notifyIconMenu";\r
             notifyIconMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;\r
-            notifyIconMenu.Size = new System.Drawing.Size(124, 26);\r
+            notifyIconMenu.Size = new System.Drawing.Size(114, 26);\r
             // \r
             // btn_restore\r
             // \r
             this.btn_restore.Name = "btn_restore";\r
-            this.btn_restore.Size = new System.Drawing.Size(123, 22);\r
+            this.btn_restore.Size = new System.Drawing.Size(113, 22);\r
             this.btn_restore.Text = "Restore";\r
             this.btn_restore.Click += new System.EventHandler(this.btn_restore_Click);\r
             // \r
@@ -251,7 +253,7 @@ namespace Handbrake
             this.check_largeFile.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_largeFile.AutoSize = true;\r
             this.check_largeFile.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_largeFile.Location = new System.Drawing.Point(166, 5);\r
+            this.check_largeFile.Location = new System.Drawing.Point(179, 5);\r
             this.check_largeFile.Name = "check_largeFile";\r
             this.check_largeFile.Size = new System.Drawing.Size(91, 17);\r
             this.check_largeFile.TabIndex = 4;\r
@@ -275,6 +277,7 @@ namespace Handbrake
             // \r
             // drp_videoFramerate\r
             // \r
+            this.drp_videoFramerate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drp_videoFramerate.FormattingEnabled = true;\r
             this.drp_videoFramerate.Items.AddRange(new object[] {\r
             "Same as source",\r
@@ -290,7 +293,6 @@ namespace Handbrake
             this.drp_videoFramerate.Name = "drp_videoFramerate";\r
             this.drp_videoFramerate.Size = new System.Drawing.Size(126, 21);\r
             this.drp_videoFramerate.TabIndex = 2;\r
-            this.drp_videoFramerate.Text = "Same as source";\r
             this.ToolTip.SetToolTip(this.drp_videoFramerate, "Can be left to \"Same as source\" in most cases.");\r
             // \r
             // slider_videoQuality\r
@@ -345,7 +347,7 @@ namespace Handbrake
             this.check_optimiseMP4.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_optimiseMP4.AutoSize = true;\r
             this.check_optimiseMP4.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_optimiseMP4.Location = new System.Drawing.Point(263, 5);\r
+            this.check_optimiseMP4.Location = new System.Drawing.Point(276, 5);\r
             this.check_optimiseMP4.Name = "check_optimiseMP4";\r
             this.check_optimiseMP4.Size = new System.Drawing.Size(96, 17);\r
             this.check_optimiseMP4.TabIndex = 25;\r
@@ -360,7 +362,7 @@ namespace Handbrake
             this.check_iPodAtom.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_iPodAtom.AutoSize = true;\r
             this.check_iPodAtom.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_iPodAtom.Location = new System.Drawing.Point(365, 5);\r
+            this.check_iPodAtom.Location = new System.Drawing.Point(378, 5);\r
             this.check_iPodAtom.Name = "check_iPodAtom";\r
             this.check_iPodAtom.Size = new System.Drawing.Size(102, 17);\r
             this.check_iPodAtom.TabIndex = 26;\r
@@ -388,9 +390,9 @@ namespace Handbrake
             // \r
             // number\r
             // \r
-            dataGridViewCellStyle2.Format = "N0";\r
-            dataGridViewCellStyle2.NullValue = null;\r
-            this.number.DefaultCellStyle = dataGridViewCellStyle2;\r
+            dataGridViewCellStyle1.Format = "N0";\r
+            dataGridViewCellStyle1.NullValue = null;\r
+            this.number.DefaultCellStyle = dataGridViewCellStyle1;\r
             this.number.Frozen = true;\r
             this.number.HeaderText = "Chapter Number";\r
             this.number.MaxInputLength = 3;\r
@@ -441,7 +443,7 @@ namespace Handbrake
             this.drop_format.Items.AddRange(new object[] {\r
             "MP4 File",\r
             "MKV File"});\r
-            this.drop_format.Location = new System.Drawing.Point(54, 3);\r
+            this.drop_format.Location = new System.Drawing.Point(67, 3);\r
             this.drop_format.Name = "drop_format";\r
             this.drop_format.Size = new System.Drawing.Size(106, 21);\r
             this.drop_format.TabIndex = 28;\r
@@ -450,23 +452,23 @@ namespace Handbrake
             // \r
             // drop_chapterFinish\r
             // \r
+            this.drop_chapterFinish.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drop_chapterFinish.FormattingEnabled = true;\r
             this.drop_chapterFinish.Location = new System.Drawing.Point(447, 3);\r
             this.drop_chapterFinish.Name = "drop_chapterFinish";\r
             this.drop_chapterFinish.Size = new System.Drawing.Size(69, 21);\r
             this.drop_chapterFinish.TabIndex = 10;\r
-            this.drop_chapterFinish.Text = "Auto";\r
             this.ToolTip.SetToolTip(this.drop_chapterFinish, "Select the chapter range you would like to enocde. (default: All Chapters)");\r
             this.drop_chapterFinish.SelectedIndexChanged += new System.EventHandler(this.drop_chapterFinish_SelectedIndexChanged);\r
             // \r
             // drop_chapterStart\r
             // \r
+            this.drop_chapterStart.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
             this.drop_chapterStart.FormattingEnabled = true;\r
             this.drop_chapterStart.Location = new System.Drawing.Point(321, 3);\r
             this.drop_chapterStart.Name = "drop_chapterStart";\r
             this.drop_chapterStart.Size = new System.Drawing.Size(69, 21);\r
             this.drop_chapterStart.TabIndex = 9;\r
-            this.drop_chapterStart.Text = "Auto";\r
             this.ToolTip.SetToolTip(this.drop_chapterStart, "Select the chapter range you would like to enocde. (default: All Chapters)");\r
             this.drop_chapterStart.SelectedIndexChanged += new System.EventHandler(this.drop_chapterStart_SelectedIndexChanged);\r
             // \r
@@ -480,21 +482,6 @@ namespace Handbrake
             this.drop_angle.TabIndex = 45;\r
             this.ToolTip.SetToolTip(this.drop_angle, "Select the chapter range you would like to enocde. (default: All Chapters)");\r
             // \r
-            // drp_dvdtitle\r
-            // \r
-            this.drp_dvdtitle.FormattingEnabled = true;\r
-            this.drp_dvdtitle.Items.AddRange(new object[] {\r
-            "Automatic"});\r
-            this.drp_dvdtitle.Location = new System.Drawing.Point(40, 3);\r
-            this.drp_dvdtitle.Name = "drp_dvdtitle";\r
-            this.drp_dvdtitle.Size = new System.Drawing.Size(119, 21);\r
-            this.drp_dvdtitle.TabIndex = 7;\r
-            this.drp_dvdtitle.Text = "Automatic";\r
-            this.ToolTip.SetToolTip(this.drp_dvdtitle, "Select the title you wish to encode.\r\nThe longest title is selected by default af" +\r
-                    "ter you have scanned a source.");\r
-            this.drp_dvdtitle.SelectedIndexChanged += new System.EventHandler(this.drp_dvdtitle_SelectedIndexChanged);\r
-            this.drp_dvdtitle.Click += new System.EventHandler(this.drp_dvdtitle_Click);\r
-            // \r
             // DVD_Open\r
             // \r
             this.DVD_Open.Description = "Select the \"VIDEO_TS\" folder from your DVD Drive.";\r
@@ -517,13 +504,13 @@ namespace Handbrake
             this.mnu_killCLI,\r
             this.mnu_exit});\r
             this.FileToolStripMenuItem.Name = "FileToolStripMenuItem";\r
-            this.FileToolStripMenuItem.Size = new System.Drawing.Size(35, 20);\r
+            this.FileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);\r
             this.FileToolStripMenuItem.Text = "&File";\r
             // \r
             // mnu_killCLI\r
             // \r
             this.mnu_killCLI.Name = "mnu_killCLI";\r
-            this.mnu_killCLI.Size = new System.Drawing.Size(143, 22);\r
+            this.mnu_killCLI.Size = new System.Drawing.Size(138, 22);\r
             this.mnu_killCLI.Text = "Cancel Scan";\r
             this.mnu_killCLI.Visible = false;\r
             this.mnu_killCLI.Click += new System.EventHandler(this.mnu_killCLI_Click);\r
@@ -531,7 +518,7 @@ namespace Handbrake
             // mnu_exit\r
             // \r
             this.mnu_exit.Name = "mnu_exit";\r
-            this.mnu_exit.Size = new System.Drawing.Size(143, 22);\r
+            this.mnu_exit.Size = new System.Drawing.Size(138, 22);\r
             this.mnu_exit.Text = "E&xit";\r
             this.mnu_exit.Click += new System.EventHandler(this.mnu_exit_Click);\r
             // \r
@@ -548,7 +535,7 @@ namespace Handbrake
             this.ToolStripSeparator5,\r
             this.mnu_options});\r
             this.ToolsToolStripMenuItem.Name = "ToolsToolStripMenuItem";\r
-            this.ToolsToolStripMenuItem.Size = new System.Drawing.Size(44, 20);\r
+            this.ToolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20);\r
             this.ToolsToolStripMenuItem.Text = "&Tools";\r
             // \r
             // mnu_encode\r
@@ -556,7 +543,7 @@ namespace Handbrake
             this.mnu_encode.Image = global::Handbrake.Properties.Resources.Queue_Small;\r
             this.mnu_encode.Name = "mnu_encode";\r
             this.mnu_encode.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q)));\r
-            this.mnu_encode.Size = new System.Drawing.Size(186, 22);\r
+            this.mnu_encode.Size = new System.Drawing.Size(184, 22);\r
             this.mnu_encode.Text = "Show Queue";\r
             this.mnu_encode.Click += new System.EventHandler(this.mnu_encode_Click);\r
             // \r
@@ -564,20 +551,20 @@ namespace Handbrake
             // \r
             this.mnu_encodeLog.Image = global::Handbrake.Properties.Resources.ActivityWindow_small;\r
             this.mnu_encodeLog.Name = "mnu_encodeLog";\r
-            this.mnu_encodeLog.Size = new System.Drawing.Size(186, 22);\r
+            this.mnu_encodeLog.Size = new System.Drawing.Size(184, 22);\r
             this.mnu_encodeLog.Text = "Activity Window";\r
             this.mnu_encodeLog.Click += new System.EventHandler(this.mnu_encodeLog_Click);\r
             // \r
             // ToolStripSeparator5\r
             // \r
             this.ToolStripSeparator5.Name = "ToolStripSeparator5";\r
-            this.ToolStripSeparator5.Size = new System.Drawing.Size(183, 6);\r
+            this.ToolStripSeparator5.Size = new System.Drawing.Size(181, 6);\r
             // \r
             // mnu_options\r
             // \r
             this.mnu_options.Image = global::Handbrake.Properties.Resources.Pref_Small;\r
             this.mnu_options.Name = "mnu_options";\r
-            this.mnu_options.Size = new System.Drawing.Size(186, 22);\r
+            this.mnu_options.Size = new System.Drawing.Size(184, 22);\r
             this.mnu_options.Text = "Options";\r
             this.mnu_options.Click += new System.EventHandler(this.mnu_options_Click);\r
             // \r
@@ -590,7 +577,7 @@ namespace Handbrake
             this.btn_new_preset,\r
             this.mnu_SelectDefault});\r
             this.PresetsToolStripMenuItem.Name = "PresetsToolStripMenuItem";\r
-            this.PresetsToolStripMenuItem.Size = new System.Drawing.Size(55, 20);\r
+            this.PresetsToolStripMenuItem.Size = new System.Drawing.Size(56, 20);\r
             this.PresetsToolStripMenuItem.Text = "&Presets";\r
             // \r
             // mnu_presetReset\r
@@ -639,14 +626,14 @@ namespace Handbrake
             this.toolStripSeparator6,\r
             this.mnu_about});\r
             this.HelpToolStripMenuItem.Name = "HelpToolStripMenuItem";\r
-            this.HelpToolStripMenuItem.Size = new System.Drawing.Size(40, 20);\r
+            this.HelpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);\r
             this.HelpToolStripMenuItem.Text = "&Help";\r
             // \r
             // mnu_user_guide\r
             // \r
             this.mnu_user_guide.Image = global::Handbrake.Properties.Resources.Help16;\r
             this.mnu_user_guide.Name = "mnu_user_guide";\r
-            this.mnu_user_guide.Size = new System.Drawing.Size(192, 22);\r
+            this.mnu_user_guide.Size = new System.Drawing.Size(194, 22);\r
             this.mnu_user_guide.Text = "HandBrake User Guide";\r
             this.mnu_user_guide.Click += new System.EventHandler(this.mnu_user_guide_Click);\r
             // \r
@@ -654,39 +641,39 @@ namespace Handbrake
             // \r
             this.mnu_handbrake_home.Image = global::Handbrake.Properties.Resources.info16;\r
             this.mnu_handbrake_home.Name = "mnu_handbrake_home";\r
-            this.mnu_handbrake_home.Size = new System.Drawing.Size(192, 22);\r
+            this.mnu_handbrake_home.Size = new System.Drawing.Size(194, 22);\r
             this.mnu_handbrake_home.Text = "HandBrake Homepage";\r
             this.mnu_handbrake_home.Click += new System.EventHandler(this.mnu_handbrake_home_Click);\r
             // \r
             // mnu_handbrake_forums\r
             // \r
             this.mnu_handbrake_forums.Name = "mnu_handbrake_forums";\r
-            this.mnu_handbrake_forums.Size = new System.Drawing.Size(192, 22);\r
+            this.mnu_handbrake_forums.Size = new System.Drawing.Size(194, 22);\r
             this.mnu_handbrake_forums.Text = "HandBrake Forums";\r
             this.mnu_handbrake_forums.Click += new System.EventHandler(this.mnu_handbrake_forums_Click);\r
             // \r
             // ToolStripSeparator3\r
             // \r
             this.ToolStripSeparator3.Name = "ToolStripSeparator3";\r
-            this.ToolStripSeparator3.Size = new System.Drawing.Size(189, 6);\r
+            this.ToolStripSeparator3.Size = new System.Drawing.Size(191, 6);\r
             // \r
             // mnu_UpdateCheck\r
             // \r
             this.mnu_UpdateCheck.Name = "mnu_UpdateCheck";\r
-            this.mnu_UpdateCheck.Size = new System.Drawing.Size(192, 22);\r
+            this.mnu_UpdateCheck.Size = new System.Drawing.Size(194, 22);\r
             this.mnu_UpdateCheck.Text = "Check for Updates";\r
             this.mnu_UpdateCheck.Click += new System.EventHandler(this.mnu_UpdateCheck_Click);\r
             // \r
             // toolStripSeparator6\r
             // \r
             this.toolStripSeparator6.Name = "toolStripSeparator6";\r
-            this.toolStripSeparator6.Size = new System.Drawing.Size(189, 6);\r
+            this.toolStripSeparator6.Size = new System.Drawing.Size(191, 6);\r
             // \r
             // mnu_about\r
             // \r
             this.mnu_about.Image = global::Handbrake.Properties.Resources.hb16;\r
             this.mnu_about.Name = "mnu_about";\r
-            this.mnu_about.Size = new System.Drawing.Size(192, 22);\r
+            this.mnu_about.Size = new System.Drawing.Size(194, 22);\r
             this.mnu_about.Text = "About...";\r
             this.mnu_about.Click += new System.EventHandler(this.mnu_about_Click);\r
             // \r
@@ -711,9 +698,9 @@ namespace Handbrake
             this.label5.ForeColor = System.Drawing.Color.Black;\r
             this.label5.Location = new System.Drawing.Point(3, 7);\r
             this.label5.Name = "label5";\r
-            this.label5.Size = new System.Drawing.Size(45, 13);\r
+            this.label5.Size = new System.Drawing.Size(58, 13);\r
             this.label5.TabIndex = 27;\r
-            this.label5.Text = "Format:";\r
+            this.label5.Text = "Container:";\r
             // \r
             // Label47\r
             // \r
@@ -749,15 +736,6 @@ namespace Handbrake
             this.tab_audio.Text = "Audio";\r
             this.tab_audio.UseVisualStyleBackColor = true;\r
             // \r
-            // AudioSettings\r
-            // \r
-            this.AudioSettings.BackColor = System.Drawing.Color.Transparent;\r
-            this.AudioSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.AudioSettings.Location = new System.Drawing.Point(0, 0);\r
-            this.AudioSettings.Name = "AudioSettings";\r
-            this.AudioSettings.Size = new System.Drawing.Size(715, 310);\r
-            this.AudioSettings.TabIndex = 0;\r
-            // \r
             // AudioMenuRowHeightHack\r
             // \r
             this.AudioMenuRowHeightHack.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;\r
@@ -891,16 +869,9 @@ namespace Handbrake
             this.tab_picture.Padding = new System.Windows.Forms.Padding(3);\r
             this.tab_picture.Size = new System.Drawing.Size(724, 308);\r
             this.tab_picture.TabIndex = 0;\r
-            this.tab_picture.Text = "Picture Settings";\r
+            this.tab_picture.Text = "Picture";\r
             this.tab_picture.UseVisualStyleBackColor = true;\r
             // \r
-            // PictureSettings\r
-            // \r
-            this.PictureSettings.Enabled = false;\r
-            this.PictureSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.PictureSettings.Name = "PictureSettings";\r
-            this.PictureSettings.Size = new System.Drawing.Size(666, 279);\r
-            this.PictureSettings.TabIndex = 0;\r
             // \r
             // Check_ChapterMarkers\r
             // \r
@@ -941,15 +912,6 @@ namespace Handbrake
             this.tab_filters.Text = "Video Filters";\r
             this.tab_filters.UseVisualStyleBackColor = true;\r
             // \r
-            // Filters\r
-            // \r
-            this.Filters.BackColor = System.Drawing.Color.Transparent;\r
-            this.Filters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.Filters.Location = new System.Drawing.Point(0, 0);\r
-            this.Filters.Name = "Filters";\r
-            this.Filters.Size = new System.Drawing.Size(713, 310);\r
-            this.Filters.TabIndex = 0;\r
-            // \r
             // tab_subtitles\r
             // \r
             this.tab_subtitles.Controls.Add(this.Subtitles);\r
@@ -961,15 +923,6 @@ namespace Handbrake
             this.tab_subtitles.Text = "Subtitles";\r
             this.tab_subtitles.UseVisualStyleBackColor = true;\r
             // \r
-            // Subtitles\r
-            // \r
-            this.Subtitles.BackColor = System.Drawing.Color.Transparent;\r
-            this.Subtitles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.Subtitles.Location = new System.Drawing.Point(0, 0);\r
-            this.Subtitles.Name = "Subtitles";\r
-            this.Subtitles.Size = new System.Drawing.Size(722, 310);\r
-            this.Subtitles.TabIndex = 0;\r
-            // \r
             // tab_chapters\r
             // \r
             this.tab_chapters.BackColor = System.Drawing.Color.Transparent;\r
@@ -1006,16 +959,6 @@ namespace Handbrake
             this.tab_advanced.Text = "Advanced";\r
             this.tab_advanced.UseVisualStyleBackColor = true;\r
             // \r
-            // x264Panel\r
-            // \r
-            this.x264Panel.BackColor = System.Drawing.Color.Transparent;\r
-            this.x264Panel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.x264Panel.Location = new System.Drawing.Point(0, 0);\r
-            this.x264Panel.Name = "x264Panel";\r
-            this.x264Panel.Size = new System.Drawing.Size(720, 306);\r
-            this.x264Panel.TabIndex = 0;\r
-            this.x264Panel.x264Query = "";\r
-            // \r
             // tab_query\r
             // \r
             this.tab_query.Controls.Add(this.btn_clear);\r
@@ -1144,40 +1087,40 @@ namespace Handbrake
             this.pmnu_saveChanges,\r
             this.pmnu_delete});\r
             this.presets_menu.Name = "presets_menu";\r
-            this.presets_menu.Size = new System.Drawing.Size(155, 98);\r
+            this.presets_menu.Size = new System.Drawing.Size(148, 98);\r
             this.presets_menu.Text = ";";\r
             this.presets_menu.Opening += new System.ComponentModel.CancelEventHandler(this.presets_menu_Opening);\r
             // \r
             // pmnu_expandAll\r
             // \r
             this.pmnu_expandAll.Name = "pmnu_expandAll";\r
-            this.pmnu_expandAll.Size = new System.Drawing.Size(154, 22);\r
+            this.pmnu_expandAll.Size = new System.Drawing.Size(147, 22);\r
             this.pmnu_expandAll.Text = "Expand All";\r
             this.pmnu_expandAll.Click += new System.EventHandler(this.pmnu_expandAll_Click);\r
             // \r
             // pmnu_collapse\r
             // \r
             this.pmnu_collapse.Name = "pmnu_collapse";\r
-            this.pmnu_collapse.Size = new System.Drawing.Size(154, 22);\r
+            this.pmnu_collapse.Size = new System.Drawing.Size(147, 22);\r
             this.pmnu_collapse.Text = "Collapse All";\r
             this.pmnu_collapse.Click += new System.EventHandler(this.pmnu_collapse_Click);\r
             // \r
             // sep1\r
             // \r
             this.sep1.Name = "sep1";\r
-            this.sep1.Size = new System.Drawing.Size(151, 6);\r
+            this.sep1.Size = new System.Drawing.Size(144, 6);\r
             // \r
             // pmnu_saveChanges\r
             // \r
             this.pmnu_saveChanges.Name = "pmnu_saveChanges";\r
-            this.pmnu_saveChanges.Size = new System.Drawing.Size(154, 22);\r
+            this.pmnu_saveChanges.Size = new System.Drawing.Size(147, 22);\r
             this.pmnu_saveChanges.Text = "Save Changes";\r
             this.pmnu_saveChanges.Click += new System.EventHandler(this.pmnu_saveChanges_Click);\r
             // \r
             // pmnu_delete\r
             // \r
             this.pmnu_delete.Name = "pmnu_delete";\r
-            this.pmnu_delete.Size = new System.Drawing.Size(154, 22);\r
+            this.pmnu_delete.Size = new System.Drawing.Size(147, 22);\r
             this.pmnu_delete.Text = "Delete";\r
             this.pmnu_delete.Click += new System.EventHandler(this.pmnu_delete_click);\r
             // \r
@@ -1211,7 +1154,7 @@ namespace Handbrake
             this.btn_source.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_source.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_source.Name = "btn_source";\r
-            this.btn_source.Size = new System.Drawing.Size(85, 36);\r
+            this.btn_source.Size = new System.Drawing.Size(88, 36);\r
             this.btn_source.Text = "Source";\r
             this.btn_source.ToolTipText = "Open a new source file or folder.";\r
             this.btn_source.Click += new System.EventHandler(this.btn_source_Click);\r
@@ -1220,7 +1163,7 @@ namespace Handbrake
             // \r
             this.btn_file_source.Image = global::Handbrake.Properties.Resources.Movies_Small;\r
             this.btn_file_source.Name = "btn_file_source";\r
-            this.btn_file_source.Size = new System.Drawing.Size(194, 22);\r
+            this.btn_file_source.Size = new System.Drawing.Size(192, 22);\r
             this.btn_file_source.Text = "Video File";\r
             this.btn_file_source.Click += new System.EventHandler(this.btn_file_source_Click);\r
             // \r
@@ -1229,20 +1172,20 @@ namespace Handbrake
             this.btn_dvd_source.Image = ((System.Drawing.Image)(resources.GetObject("btn_dvd_source.Image")));\r
             this.btn_dvd_source.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_dvd_source.Name = "btn_dvd_source";\r
-            this.btn_dvd_source.Size = new System.Drawing.Size(194, 22);\r
+            this.btn_dvd_source.Size = new System.Drawing.Size(192, 22);\r
             this.btn_dvd_source.Text = "DVD/ VIDEO_TS Folder";\r
             this.btn_dvd_source.Click += new System.EventHandler(this.btn_dvd_source_Click);\r
             // \r
             // toolStripSeparator1\r
             // \r
             this.toolStripSeparator1.Name = "toolStripSeparator1";\r
-            this.toolStripSeparator1.Size = new System.Drawing.Size(191, 6);\r
+            this.toolStripSeparator1.Size = new System.Drawing.Size(189, 6);\r
             // \r
             // mnu_dvd_drive\r
             // \r
             this.mnu_dvd_drive.Image = global::Handbrake.Properties.Resources.disc_small;\r
             this.mnu_dvd_drive.Name = "mnu_dvd_drive";\r
-            this.mnu_dvd_drive.Size = new System.Drawing.Size(194, 22);\r
+            this.mnu_dvd_drive.Size = new System.Drawing.Size(192, 22);\r
             this.mnu_dvd_drive.Text = "[No DVD Drive Ready]";\r
             this.mnu_dvd_drive.Visible = false;\r
             this.mnu_dvd_drive.Click += new System.EventHandler(this.mnu_dvd_drive_Click);\r
@@ -1269,7 +1212,7 @@ namespace Handbrake
             this.btn_add2Queue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_add2Queue.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_add2Queue.Name = "btn_add2Queue";\r
-            this.btn_add2Queue.Size = new System.Drawing.Size(110, 36);\r
+            this.btn_add2Queue.Size = new System.Drawing.Size(117, 36);\r
             this.btn_add2Queue.Text = "Add to Queue";\r
             this.btn_add2Queue.ToolTipText = "Add a new item to the Queue";\r
             this.btn_add2Queue.Click += new System.EventHandler(this.btn_add2Queue_Click);\r
@@ -1280,7 +1223,7 @@ namespace Handbrake
             this.btn_showQueue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_showQueue.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_showQueue.Name = "btn_showQueue";\r
-            this.btn_showQueue.Size = new System.Drawing.Size(104, 36);\r
+            this.btn_showQueue.Size = new System.Drawing.Size(110, 36);\r
             this.btn_showQueue.Tag = "";\r
             this.btn_showQueue.Text = "Show Queue";\r
             this.btn_showQueue.Click += new System.EventHandler(this.btn_showQueue_Click);\r
@@ -1296,7 +1239,7 @@ namespace Handbrake
             this.tb_preview.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.tb_preview.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.tb_preview.Name = "tb_preview";\r
-            this.tb_preview.Size = new System.Drawing.Size(81, 36);\r
+            this.tb_preview.Size = new System.Drawing.Size(84, 36);\r
             this.tb_preview.Text = "Preview";\r
             this.tb_preview.Click += new System.EventHandler(this.tb_preview_Click);\r
             // \r
@@ -1306,7 +1249,7 @@ namespace Handbrake
             this.btn_ActivityWindow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_ActivityWindow.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_ActivityWindow.Name = "btn_ActivityWindow";\r
-            this.btn_ActivityWindow.Size = new System.Drawing.Size(120, 36);\r
+            this.btn_ActivityWindow.Size = new System.Drawing.Size(130, 36);\r
             this.btn_ActivityWindow.Text = "Activity Window";\r
             this.btn_ActivityWindow.ToolTipText = "Displays the activity window which displays the log of the last completed or curr" +\r
                 "ently running encode.";\r
@@ -1448,17 +1391,6 @@ namespace Handbrake
             this.tableLayoutPanel1.Size = new System.Drawing.Size(723, 27);\r
             this.tableLayoutPanel1.TabIndex = 49;\r
             // \r
-            // Label10\r
-            // \r
-            this.Label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
-            this.Label10.AutoSize = true;\r
-            this.Label10.ForeColor = System.Drawing.Color.Black;\r
-            this.Label10.Location = new System.Drawing.Point(3, 7);\r
-            this.Label10.Name = "Label10";\r
-            this.Label10.Size = new System.Drawing.Size(31, 13);\r
-            this.Label10.TabIndex = 6;\r
-            this.Label10.Text = "Title:";\r
-            // \r
             // lbl_angle\r
             // \r
             this.lbl_angle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
@@ -1513,30 +1445,11 @@ namespace Handbrake
             this.lbl_duration.TabIndex = 43;\r
             this.lbl_duration.Text = "--:--:--";\r
             // \r
-            // labelStaticSource\r
-            // \r
-            this.labelStaticSource.AutoSize = true;\r
-            this.labelStaticSource.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.labelStaticSource.Location = new System.Drawing.Point(12, 70);\r
-            this.labelStaticSource.Name = "labelStaticSource";\r
-            this.labelStaticSource.Size = new System.Drawing.Size(49, 13);\r
-            this.labelStaticSource.TabIndex = 51;\r
-            this.labelStaticSource.Text = "Source:";\r
-            // \r
-            // labelSource\r
-            // \r
-            this.labelSource.AutoSize = true;\r
-            this.labelSource.Location = new System.Drawing.Point(67, 70);\r
-            this.labelSource.Name = "labelSource";\r
-            this.labelSource.Size = new System.Drawing.Size(137, 13);\r
-            this.labelSource.TabIndex = 52;\r
-            this.labelSource.Text = "Select \"Source\" to continue";\r
-            // \r
             // labelStaticDestination\r
             // \r
             this.labelStaticDestination.AutoSize = true;\r
             this.labelStaticDestination.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.labelStaticDestination.Location = new System.Drawing.Point(12, 116);\r
+            this.labelStaticDestination.Location = new System.Drawing.Point(9, 116);\r
             this.labelStaticDestination.Name = "labelStaticDestination";\r
             this.labelStaticDestination.Size = new System.Drawing.Size(75, 13);\r
             this.labelStaticDestination.TabIndex = 53;\r
@@ -1546,29 +1459,133 @@ namespace Handbrake
             // \r
             this.labelPreset.AutoSize = true;\r
             this.labelPreset.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.labelPreset.Location = new System.Drawing.Point(13, 164);\r
+            this.labelPreset.Location = new System.Drawing.Point(9, 164);\r
             this.labelPreset.Name = "labelPreset";\r
             this.labelPreset.Size = new System.Drawing.Size(180, 13);\r
             this.labelPreset.TabIndex = 54;\r
             this.labelPreset.Text = "Output Settings (Preset: None)";\r
             // \r
+            // drp_dvdtitle\r
+            // \r
+            this.drp_dvdtitle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
+            this.drp_dvdtitle.FormattingEnabled = true;\r
+            this.drp_dvdtitle.Items.AddRange(new object[] {\r
+            "Automatic"});\r
+            this.drp_dvdtitle.Location = new System.Drawing.Point(40, 3);\r
+            this.drp_dvdtitle.Name = "drp_dvdtitle";\r
+            this.drp_dvdtitle.Size = new System.Drawing.Size(119, 21);\r
+            this.drp_dvdtitle.TabIndex = 7;\r
+            this.ToolTip.SetToolTip(this.drp_dvdtitle, "Select the title you wish to encode.\r\nThe longest title is selected by default af" +\r
+                    "ter you have scanned a source.");\r
+            this.drp_dvdtitle.SelectedIndexChanged += new System.EventHandler(this.drp_dvdtitle_SelectedIndexChanged);\r
+            this.drp_dvdtitle.Click += new System.EventHandler(this.drp_dvdtitle_Click);\r
+            // \r
+            // labelSource\r
+            // \r
+            this.labelSource.AutoSize = true;\r
+            this.labelSource.Location = new System.Drawing.Point(55, 0);\r
+            this.labelSource.Name = "labelSource";\r
+            this.labelSource.Size = new System.Drawing.Size(137, 13);\r
+            this.labelSource.TabIndex = 52;\r
+            this.labelSource.Text = "Select \"Source\" to continue";\r
+            // \r
+            // Label10\r
+            // \r
+            this.Label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.Label10.AutoSize = true;\r
+            this.Label10.ForeColor = System.Drawing.Color.Black;\r
+            this.Label10.Location = new System.Drawing.Point(3, 7);\r
+            this.Label10.Name = "Label10";\r
+            this.Label10.Size = new System.Drawing.Size(31, 13);\r
+            this.Label10.TabIndex = 6;\r
+            this.Label10.Text = "Title:";\r
+            // \r
+            // labelStaticSource\r
+            // \r
+            this.labelStaticSource.AutoSize = true;\r
+            this.labelStaticSource.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.labelStaticSource.Location = new System.Drawing.Point(0, 0);\r
+            this.labelStaticSource.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);\r
+            this.labelStaticSource.Name = "labelStaticSource";\r
+            this.labelStaticSource.Size = new System.Drawing.Size(49, 13);\r
+            this.labelStaticSource.TabIndex = 51;\r
+            this.labelStaticSource.Text = "Source:";\r
+            // \r
+            // flowLayoutPanel1\r
+            // \r
+            this.flowLayoutPanel1.AutoSize = true;\r
+            this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.flowLayoutPanel1.Controls.Add(this.labelStaticSource);\r
+            this.flowLayoutPanel1.Controls.Add(this.labelSource);\r
+            this.flowLayoutPanel1.Location = new System.Drawing.Point(9, 70);\r
+            this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);\r
+            this.flowLayoutPanel1.Name = "flowLayoutPanel1";\r
+            this.flowLayoutPanel1.Size = new System.Drawing.Size(195, 13);\r
+            this.flowLayoutPanel1.TabIndex = 55;\r
+            // \r
+            // PictureSettings\r
+            // \r
+            this.PictureSettings.BackColor = System.Drawing.Color.Transparent;\r
+            this.PictureSettings.Enabled = false;\r
+            this.PictureSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.PictureSettings.Location = new System.Drawing.Point(0, 0);\r
+            this.PictureSettings.Name = "PictureSettings";\r
+            this.PictureSettings.Size = new System.Drawing.Size(666, 279);\r
+            this.PictureSettings.TabIndex = 0;\r
+            // \r
+            // Filters\r
+            // \r
+            this.Filters.BackColor = System.Drawing.Color.Transparent;\r
+            this.Filters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.Filters.Location = new System.Drawing.Point(0, 0);\r
+            this.Filters.Name = "Filters";\r
+            this.Filters.Size = new System.Drawing.Size(713, 310);\r
+            this.Filters.TabIndex = 0;\r
+            // \r
+            // AudioSettings\r
+            // \r
+            this.AudioSettings.BackColor = System.Drawing.Color.Transparent;\r
+            this.AudioSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.AudioSettings.Location = new System.Drawing.Point(0, 0);\r
+            this.AudioSettings.Name = "AudioSettings";\r
+            this.AudioSettings.Size = new System.Drawing.Size(715, 310);\r
+            this.AudioSettings.TabIndex = 0;\r
+            // \r
+            // Subtitles\r
+            // \r
+            this.Subtitles.BackColor = System.Drawing.Color.Transparent;\r
+            this.Subtitles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.Subtitles.Location = new System.Drawing.Point(0, 0);\r
+            this.Subtitles.Name = "Subtitles";\r
+            this.Subtitles.Size = new System.Drawing.Size(722, 310);\r
+            this.Subtitles.TabIndex = 0;\r
+            // \r
+            // x264Panel\r
+            // \r
+            this.x264Panel.BackColor = System.Drawing.Color.Transparent;\r
+            this.x264Panel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.x264Panel.Location = new System.Drawing.Point(0, 0);\r
+            this.x264Panel.Name = "x264Panel";\r
+            this.x264Panel.Size = new System.Drawing.Size(720, 306);\r
+            this.x264Panel.TabIndex = 0;\r
+            this.x264Panel.x264Query = "";\r
+            // \r
             // frmMain\r
             // \r
             this.AllowDrop = true;\r
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
             this.ClientSize = new System.Drawing.Size(1000, 582);\r
-            this.Controls.Add(this.labelStaticSource);\r
-            this.Controls.Add(this.labelSource);\r
             this.Controls.Add(this.tableLayoutPanel3);\r
-            this.Controls.Add(this.labelStaticDestination);\r
             this.Controls.Add(this.toolStrip1);\r
-            this.Controls.Add(this.labelPreset);\r
+            this.Controls.Add(this.flowLayoutPanel1);\r
             this.Controls.Add(this.frmMainMenu);\r
             this.Controls.Add(this.tableLayoutPanel2);\r
-            this.Controls.Add(this.tableLayoutPanel1);\r
+            this.Controls.Add(this.labelPreset);\r
             this.Controls.Add(this.groupBox2);\r
             this.Controls.Add(this.StatusStrip);\r
+            this.Controls.Add(this.labelStaticDestination);\r
+            this.Controls.Add(this.tableLayoutPanel1);\r
             this.Controls.Add(this.tabs_panel);\r
             this.DoubleBuffered = true;\r
             this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
@@ -1608,6 +1625,8 @@ namespace Handbrake
             this.tableLayoutPanel3.PerformLayout();\r
             this.tableLayoutPanel1.ResumeLayout(false);\r
             this.tableLayoutPanel1.PerformLayout();\r
+            this.flowLayoutPanel1.ResumeLayout(false);\r
+            this.flowLayoutPanel1.PerformLayout();\r
             this.ResumeLayout(false);\r
             this.PerformLayout();\r
 \r
@@ -1726,8 +1745,6 @@ namespace Handbrake
         private Button btn_destBrowse;\r
         private TableLayoutPanel tableLayoutPanel3;\r
         private TableLayoutPanel tableLayoutPanel1;\r
-        internal Label Label10;\r
-        internal ComboBox drp_dvdtitle;\r
         internal Label lbl_angle;\r
         internal ComboBox drop_angle;\r
         internal Label Label9;\r
@@ -1737,11 +1754,12 @@ namespace Handbrake
         internal Label label_duration;\r
         internal Label lbl_duration;\r
         private Label labelStaticDestination;\r
-        private Label labelSource;\r
-        private Label labelStaticSource;\r
         internal Label labelPreset;\r
         internal Handbrake.Controls.PictureSettings PictureSettings;\r
-\r
\r
+        private Label labelSource;\r
+        internal ComboBox drp_dvdtitle;\r
+        internal Label Label10;\r
+        private Label labelStaticSource;\r
+        private FlowLayoutPanel flowLayoutPanel1;\r
     }\r
 }
\ No newline at end of file
index 684bd97..aa48932 100644 (file)
@@ -164,7 +164,7 @@ namespace Handbrake
                 DialogResult result = MessageBox.Show("HandBrake has detected unfinished items on the queue from the last time the application was launched. Would you like to recover these?", "Queue Recovery Possible", MessageBoxButtons.YesNo, MessageBoxIcon.Question);\r
 \r
                 if (result == DialogResult.Yes)\r
-                    encodeQueue.recoverQueue("hb_queue_recovery.xml"); // Start Recovery\r
+                    encodeQueue.LoadQueueFromFile("hb_queue_recovery.xml"); // Start Recovery\r
                 else\r
                 {\r
                     // Remove the Queue recovery file if the user doesn't want to recovery the last queue.\r
@@ -188,9 +188,9 @@ namespace Handbrake
                 this.Resize += new EventHandler(frmMain_Resize);\r
 \r
             // Handle Encode Start / Finish / Pause\r
-            encodeQueue.OnEncodeEnded += new EventHandler(encodeEnded);\r
-            encodeQueue.OnPaused += new EventHandler(encodePaused);\r
-            encodeQueue.OnEncodeStart += new EventHandler(encodeStarted);\r
+            encodeQueue.CurrentJobCompleted += new EventHandler(encodeEnded);\r
+            encodeQueue.QueuePauseRequested += new EventHandler(encodePaused);\r
+            encodeQueue.NewJobStarted += new EventHandler(encodeStarted);\r
 \r
             // Handle a file being draged onto the GUI.\r
             this.DragEnter += new DragEventHandler(frmMain_DragEnter);\r
@@ -617,7 +617,7 @@ namespace Handbrake
                 if (result == DialogResult.Yes)\r
                 {\r
                     // Pause The Queue\r
-                    encodeQueue.pauseEncodeQueue();\r
+                    encodeQueue.RequestPause();\r
 \r
                     // Allow the CLI to exit cleanly\r
                     Win32.SetForegroundWindow((int)encodeQueue.encodeHandler.processHandle);\r
@@ -629,9 +629,44 @@ namespace Handbrake
             }\r
             else\r
             {\r
-                if (encodeQueue.count() != 0 || (!string.IsNullOrEmpty(sourcePath) && !string.IsNullOrEmpty(text_destination.Text)))\r
+                if (encodeQueue.Count != 0 || (!string.IsNullOrEmpty(sourcePath) && !string.IsNullOrEmpty(text_destination.Text)))\r
                 {\r
-                    String query = rtf_query.Text != "" ? rtf_query.Text : queryGen.generateTheQuery(this);\r
+                    string generatedQuery = queryGen.generateTheQuery(this);\r
+                    string specifiedQuery = rtf_query.Text != "" ? rtf_query.Text : queryGen.generateTheQuery(this);\r
+                    string query = string.Empty;\r
+\r
+                    // Check to make sure the generated query matches the GUI settings\r
+                    if (Properties.Settings.Default.PromptOnUnmatchingQueries && !string.IsNullOrEmpty(specifiedQuery) && generatedQuery != specifiedQuery)\r
+                    {\r
+                        DialogResult result = MessageBox.Show("The query under the \"Query Editor\" tab " +\r
+                            "does not match the current GUI settings. Because the manual query takes " +\r
+                            "priority over the GUI, your recently updated settings will not be taken " +\r
+                            "into account when encoding this job." + Environment.NewLine + Environment.NewLine +\r
+                            "Do you want to replace the manual query with the GUI-generated query?",\r
+                            "Manual Query does not Match GUI",\r
+                            MessageBoxButtons.YesNoCancel, MessageBoxIcon.Asterisk,\r
+                            MessageBoxDefaultButton.Button3);\r
+\r
+                        switch (result)\r
+                        {\r
+                            case DialogResult.Yes:\r
+                                // Replace the manual query with the generated one\r
+                                query = generatedQuery;\r
+                                rtf_query.Text = generatedQuery;\r
+                                break;\r
+                            case DialogResult.No:\r
+                                // Use the manual query\r
+                                query = specifiedQuery;\r
+                                break;\r
+                            case DialogResult.Cancel:\r
+                                // Don't start the encode\r
+                                return;\r
+                        }\r
+                    }\r
+                    else\r
+                    {\r
+                        query = generatedQuery;\r
+                    }\r
 \r
                     DialogResult overwrite = DialogResult.Yes;\r
                     if (text_destination.Text != "")\r
@@ -640,15 +675,15 @@ namespace Handbrake
 \r
                     if (overwrite == DialogResult.Yes)\r
                     {\r
-                        if (encodeQueue.count() == 0)\r
-                            encodeQueue.add(query, sourcePath, text_destination.Text);\r
+                        if (encodeQueue.Count == 0)\r
+                            encodeQueue.AddJob(query, sourcePath, text_destination.Text);\r
 \r
                         queueWindow.setQueue();\r
-                        if (encodeQueue.count() > 1)\r
+                        if (encodeQueue.Count > 1)\r
                             queueWindow.Show(false);\r
 \r
                         setEncodeStarted(); // Encode is running, so setup the GUI appropriately\r
-                        encodeQueue.startEncode(); // Start The Queue Encoding Process\r
+                        encodeQueue.StartEncodeQueue(); // Start The Queue Encoding Process\r
                         lastAction = "encode";   // Set the last action to encode - Used for activity window.\r
                     }\r
                     this.Focus();\r
@@ -667,16 +702,16 @@ namespace Handbrake
                 if (rtf_query.Text != "")\r
                     query = rtf_query.Text;\r
 \r
-                if (encodeQueue.checkDestinationPath(text_destination.Text))\r
+                if (encodeQueue.CheckForDestinationDuplicate(text_destination.Text))\r
                 {\r
                     DialogResult result = MessageBox.Show("There is already a queue item for this destination path. \n\n If you continue, the encode will be overwritten. Do you wish to continue?",\r
                   "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);\r
                     if (result == DialogResult.Yes)\r
-                        encodeQueue.add(query, sourcePath, text_destination.Text);\r
+                        encodeQueue.AddJob(query, sourcePath, text_destination.Text);\r
 \r
                 }\r
                 else\r
-                    encodeQueue.add(query, sourcePath, text_destination.Text);\r
+                    encodeQueue.AddJob(query, sourcePath, text_destination.Text);\r
 \r
                 queueWindow.Show();\r
             }\r
@@ -1630,7 +1665,7 @@ namespace Handbrake
         protected override void OnFormClosing(FormClosingEventArgs e)\r
         {\r
             // If currently encoding, the queue isn't paused, and there are queue items to process, prompt to confirm close.\r
-            if ((encodeQueue.isEncoding) && (!encodeQueue.isPaused) && (encodeQueue.count() > 0))\r
+            if ((encodeQueue.IsEncoding) && (!encodeQueue.PauseRequested) && (encodeQueue.Count > 0))\r
             {\r
                 DialogResult result = MessageBox.Show("HandBrake has queue items to process. Closing HandBrake will not stop the current encoding, but will stop processing the queue.\n\nDo you want to close HandBrake?",\r
                     "Close HandBrake?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);\r
index e34b502..57ce99c 100644 (file)
@@ -166,18 +166,17 @@ Note: Do not change any of the chapter numbers!</value>
   <data name="btn_dvd_source.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
     <value>\r
         iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8\r
-        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAlpJREFUOE+tk21I\r
-        k1EYhif0oyA0sqIQCix/+GcQFFH9CCmiUBTLLEjShJofVBgL2fxoU9Pp5ubUlS5rU9f8rCyjsA+pUCRC\r
-        TR1ppmVFUSlmhq78unrnQF1KGHTg/nEOz30993PO+7qJFrmUeiv2n+Mij+XLRLLYULdF2pxlEVIDcw0p\r
-        AsyxD5fmI/rQ94pqi26eOlsfuZj+7BgSm01QdA4ih7m73Yx9qGpavwatjPebqCzOprPt8YKQgzFagqL0\r
-        BEjyEFWVaBkdLHMxT34uYNwWR9nVTEoL0zHlp2DMSeaSRk6eKt4VWm5WM/rVPNN5SjDTLQebZEHNA1wr\r
-        UvHjk3E6tsNcV62e1r3KLGqtKm6WplNpSsVqVFJsOM8VfSKFWjkGtcyZptSYzvC7XByx3zQoqCnTMvlG\r
-        CX1prnornPUmQJcUXsbSVhGK5bIOkcmQyveeTHiv4VZ5Nk33Nc6iuSO8CIfmECYa/bE/8ON1iRipJNh5\r
-        F0V6Bd86lfQ1JlFj1TDVq4COKCegLVIwHmGiKRB7/V6G7+5koHozymgfYRy5E1CgTWKgXcZ1i5qWp0KS\r
-        rjgBcAJawph6FszYk/2M1O1isGYLX8p9ab6wgqP+3rMvYciS01GfzA1LFvQkQ6sQ9/khxhoCGHnox1Dt\r
-        NvorxXw0b8Km8UQh2cip6GOzgNyMeKqKM7HdjqFZJ5pRk2YJ9aql3EnxoCJxNaZ4Ly6e3UDY3O6OEXRp\r
-        59ApTpIhiyDh9GHORAZyPHQPB/ZtZ/cOMVvFPvh6e7F+3SrWrHRnraf7Xz/xf/rJ/kvxb84I3U1y+9/W\r
-        AAAAAElFTkSuQmCC\r
+        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJQSURBVDhPlZNdSNNRGMb/F110ZZEVhVBgeeHNICiiuggp\r
+        olAUyyxI0oSaH1QYC3N+tKnp5ubm1JUua5uuqdPKMgr7kApFItTUkWZqVhSVYmao5Nev/xyoQ4k88Nyc\r
+        8z6/93nP4QjCfy6lwc4ltZVso4P/tMyXRcmMHqZ0EeY6jZQVInzuf0e1Tb9Ina3P/tkpLD6XkNg8BJe5\r
+        u93C+HDVrP4M2ZkcMOOw5tLZ9nxJyJE4HSExBoKkBQhVpTrGhso9zNPfiph0JlB+U01ZcRbmwnRMeWlc\r
+        08opUCV6QissGsZ+WOY6z4hmuuXglC6pRYBbJSp+fzXNxnaZ66o1s3rkyKHWruJuWRYOcwZ2kxKr8TI3\r
+        DCkU6+QYNUnuNGWmLEY+5uOK3degoKZcx3SfEvozPfVB3OtNhi4ZvI2nrTIc23U9gtmYwa8eNXzScq8i\r
+        l6bHWnfRwhHeREJzGFONgYw/CeB9qQSZNNR9FyUGBT87lfQ3plJj1zLTq4COGDegLVo0HmeqKZjx+gOM\r
+        PNzDYPU2lLF+4jhyN6BIl8pgexK3bRpaXopJuhJEwGloiWDmVSgTLw4xWreXoZrtfK/wp/nKak4E+s6/\r
+        hDFHTkd9GndsOdCTBq1i3NdHmWgIYvRpAMO1OxlwSPhi2YpT641CuoWzsSfnAfnZiVRZ1Tjvx9GsF+bU\r
+        pF1BvWolD9JXUZmyDnOiD1cvbCZiYXfXCPrMi+gVZ8hOiiL53DHORwdzKnw/hw/uYt9uCTskfvj7+rBp\r
+        41rWr/Fig7fX8j/Tsn/fcgx/ARfG3ml6M3rzAAAAAElFTkSuQmCC\r
 </value>\r
   </data>\r
   <metadata name="notifyIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
index 6e6a51c..697ca26 100644 (file)
@@ -40,54 +40,60 @@ namespace Handbrake
             this.drp_completeOption = new System.Windows.Forms.ComboBox();\r
             this.tab_options = new System.Windows.Forms.TabControl();\r
             this.tab_general = new System.Windows.Forms.TabPage();\r
-            this.check_m4v = new System.Windows.Forms.CheckBox();\r
+            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.label1 = new System.Windows.Forms.Label();\r
+            this.drop_updateCheckDays = new System.Windows.Forms.ComboBox();\r
             this.label7 = new System.Windows.Forms.Label();\r
-            this.label5 = new System.Windows.Forms.Label();\r
+            this.check_updateCheck = new System.Windows.Forms.CheckBox();\r
             this.txt_autoNameFormat = new System.Windows.Forms.TextBox();\r
-            this.btn_browse = new System.Windows.Forms.Button();\r
-            this.label10 = new System.Windows.Forms.Label();\r
-            this.text_an_path = new System.Windows.Forms.TextBox();\r
-            this.check_autoNaming = new System.Windows.Forms.CheckBox();\r
+            this.label5 = new System.Windows.Forms.Label();\r
+            this.label2 = new System.Windows.Forms.Label();\r
             this.label13 = new System.Windows.Forms.Label();\r
+            this.btn_browse = new System.Windows.Forms.Button();\r
             this.check_tooltip = new System.Windows.Forms.CheckBox();\r
-            this.check_updateCheck = new System.Windows.Forms.CheckBox();\r
+            this.text_an_path = new System.Windows.Forms.TextBox();\r
+            this.label10 = new System.Windows.Forms.Label();\r
             this.check_userDefaultSettings = new System.Windows.Forms.CheckBox();\r
-            this.label1 = new System.Windows.Forms.Label();\r
-            this.label2 = new System.Windows.Forms.Label();\r
+            this.check_autoNaming = new System.Windows.Forms.CheckBox();\r
+            this.check_m4v = new System.Windows.Forms.CheckBox();\r
             this.tab_picture = new System.Windows.Forms.TabPage();\r
+            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.label29 = new System.Windows.Forms.Label();\r
             this.btn_vlcPath = new System.Windows.Forms.Button();\r
             this.txt_vlcPath = new System.Windows.Forms.TextBox();\r
-            this.label29 = new System.Windows.Forms.Label();\r
             this.tab_cli = new System.Windows.Forms.TabPage();\r
-            this.btn_viewLogs = new System.Windows.Forms.Button();\r
-            this.btn_clearLogs = new System.Windows.Forms.Button();\r
-            this.check_logsInSpecifiedLocation = new System.Windows.Forms.CheckBox();\r
-            this.cb_logVerboseLvl = new System.Windows.Forms.ComboBox();\r
-            this.label3 = new System.Windows.Forms.Label();\r
-            this.check_saveLogWithVideo = new System.Windows.Forms.CheckBox();\r
+            this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.label12 = new System.Windows.Forms.Label();\r
+            this.check_cli_minimized = new System.Windows.Forms.CheckBox();\r
+            this.label9 = new System.Windows.Forms.Label();\r
             this.btn_saveLog = new System.Windows.Forms.Button();\r
+            this.check_logsInSpecifiedLocation = new System.Windows.Forms.CheckBox();\r
             this.label14 = new System.Windows.Forms.Label();\r
+            this.Label11 = new System.Windows.Forms.Label();\r
+            this.check_saveLogWithVideo = new System.Windows.Forms.CheckBox();\r
+            this.Label4 = new System.Windows.Forms.Label();\r
+            this.label3 = new System.Windows.Forms.Label();\r
             this.text_logPath = new System.Windows.Forms.TextBox();\r
-            this.label9 = new System.Windows.Forms.Label();\r
-            this.check_cli_minimized = new System.Windows.Forms.CheckBox();\r
-            this.label12 = new System.Windows.Forms.Label();\r
+            this.cb_logVerboseLvl = new System.Windows.Forms.ComboBox();\r
             this.drp_Priority = new System.Windows.Forms.ComboBox();\r
-            this.Label11 = new System.Windows.Forms.Label();\r
             this.drp_processors = new System.Windows.Forms.ComboBox();\r
-            this.Label4 = new System.Windows.Forms.Label();\r
+            this.btn_viewLogs = new System.Windows.Forms.Button();\r
+            this.btn_clearLogs = new System.Windows.Forms.Button();\r
             this.tab_advanced = new System.Windows.Forms.TabPage();\r
-            this.check_trayStatusAlerts = new System.Windows.Forms.CheckBox();\r
-            this.check_inGuiStatus = new System.Windows.Forms.CheckBox();\r
-            this.check_disablePresetNotification = new System.Windows.Forms.CheckBox();\r
+            this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.check_promptOnUnmatchingQueries = new System.Windows.Forms.CheckBox();\r
             this.check_dvdnav = new System.Windows.Forms.CheckBox();\r
+            this.check_trayStatusAlerts = new System.Windows.Forms.CheckBox();\r
             this.label32 = new System.Windows.Forms.Label();\r
-            this.label30 = new System.Windows.Forms.Label();\r
+            this.label6 = new System.Windows.Forms.Label();\r
             this.drop_x264step = new System.Windows.Forms.ComboBox();\r
+            this.label30 = new System.Windows.Forms.Label();\r
+            this.btn_drive_detect = new System.Windows.Forms.CheckBox();\r
+            this.check_mainMinimize = new System.Windows.Forms.CheckBox();\r
             this.label28 = new System.Windows.Forms.Label();\r
             this.check_queryEditorTab = new System.Windows.Forms.CheckBox();\r
-            this.check_mainMinimize = new System.Windows.Forms.CheckBox();\r
-            this.btn_drive_detect = new System.Windows.Forms.CheckBox();\r
-            this.label6 = new System.Windows.Forms.Label();\r
+            this.check_disablePresetNotification = new System.Windows.Forms.CheckBox();\r
+            this.check_inGuiStatus = new System.Windows.Forms.CheckBox();\r
             this.label8 = new System.Windows.Forms.Label();\r
             this.pictureBox2 = new System.Windows.Forms.PictureBox();\r
             this.pathFinder = new System.Windows.Forms.FolderBrowserDialog();\r
@@ -121,22 +127,28 @@ namespace Handbrake
             this.label26 = new System.Windows.Forms.Label();\r
             this.label27 = new System.Windows.Forms.Label();\r
             this.openFile_vlc = new System.Windows.Forms.OpenFileDialog();\r
-            this.drop_updateCheckDays = new System.Windows.Forms.ComboBox();\r
+            this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();\r
             this.tab_options.SuspendLayout();\r
             this.tab_general.SuspendLayout();\r
+            this.tableLayoutPanel1.SuspendLayout();\r
             this.tab_picture.SuspendLayout();\r
+            this.tableLayoutPanel2.SuspendLayout();\r
             this.tab_cli.SuspendLayout();\r
+            this.tableLayoutPanel3.SuspendLayout();\r
             this.tab_advanced.SuspendLayout();\r
+            this.tableLayoutPanel4.SuspendLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();\r
+            this.tableLayoutPanel5.SuspendLayout();\r
             this.SuspendLayout();\r
             // \r
             // btn_close\r
             // \r
+            this.btn_close.Anchor = System.Windows.Forms.AnchorStyles.Right;\r
             this.btn_close.BackColor = System.Drawing.SystemColors.ControlLight;\r
             this.btn_close.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
             this.btn_close.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_close.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_close.Location = new System.Drawing.Point(437, 389);\r
+            this.btn_close.Location = new System.Drawing.Point(519, 378);\r
             this.btn_close.Name = "btn_close";\r
             this.btn_close.Size = new System.Drawing.Size(72, 22);\r
             this.btn_close.TabIndex = 53;\r
@@ -146,18 +158,19 @@ namespace Handbrake
             // \r
             // drp_completeOption\r
             // \r
+            this.drp_completeOption.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.tableLayoutPanel1.SetColumnSpan(this.drp_completeOption, 4);\r
             this.drp_completeOption.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
-            this.drp_completeOption.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.drp_completeOption.FormattingEnabled = true;\r
             this.drp_completeOption.Items.AddRange(new object[] {\r
-            "Do Nothing",\r
+            "Do nothing",\r
             "Shutdown",\r
             "Suspend",\r
             "Hibernate",\r
-            "Lock System",\r
-            "Log Off",\r
+            "Lock system",\r
+            "Log off",\r
             "Quit HandBrake"});\r
-            this.drp_completeOption.Location = new System.Drawing.Point(114, 126);\r
+            this.drp_completeOption.Location = new System.Drawing.Point(106, 119);\r
             this.drp_completeOption.Name = "drp_completeOption";\r
             this.drp_completeOption.Size = new System.Drawing.Size(166, 21);\r
             this.drp_completeOption.TabIndex = 43;\r
@@ -166,222 +179,331 @@ namespace Handbrake
             // \r
             // tab_options\r
             // \r
+            this.tableLayoutPanel5.SetColumnSpan(this.tab_options, 2);\r
             this.tab_options.Controls.Add(this.tab_general);\r
             this.tab_options.Controls.Add(this.tab_picture);\r
             this.tab_options.Controls.Add(this.tab_cli);\r
             this.tab_options.Controls.Add(this.tab_advanced);\r
-            this.tab_options.Location = new System.Drawing.Point(12, 55);\r
+            this.tab_options.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tab_options.Location = new System.Drawing.Point(3, 38);\r
             this.tab_options.Name = "tab_options";\r
             this.tab_options.SelectedIndex = 0;\r
-            this.tab_options.Size = new System.Drawing.Size(497, 328);\r
+            this.tab_options.Size = new System.Drawing.Size(588, 332);\r
             this.tab_options.TabIndex = 58;\r
             // \r
             // tab_general\r
             // \r
-            this.tab_general.Controls.Add(this.drop_updateCheckDays);\r
-            this.tab_general.Controls.Add(this.check_m4v);\r
-            this.tab_general.Controls.Add(this.label7);\r
-            this.tab_general.Controls.Add(this.label5);\r
-            this.tab_general.Controls.Add(this.txt_autoNameFormat);\r
-            this.tab_general.Controls.Add(this.btn_browse);\r
-            this.tab_general.Controls.Add(this.label10);\r
-            this.tab_general.Controls.Add(this.text_an_path);\r
-            this.tab_general.Controls.Add(this.check_autoNaming);\r
-            this.tab_general.Controls.Add(this.label13);\r
-            this.tab_general.Controls.Add(this.check_tooltip);\r
-            this.tab_general.Controls.Add(this.check_updateCheck);\r
-            this.tab_general.Controls.Add(this.check_userDefaultSettings);\r
-            this.tab_general.Controls.Add(this.label1);\r
-            this.tab_general.Controls.Add(this.label2);\r
-            this.tab_general.Controls.Add(this.drp_completeOption);\r
+            this.tab_general.Controls.Add(this.tableLayoutPanel1);\r
             this.tab_general.Location = new System.Drawing.Point(4, 22);\r
             this.tab_general.Name = "tab_general";\r
-            this.tab_general.Size = new System.Drawing.Size(489, 302);\r
+            this.tab_general.Padding = new System.Windows.Forms.Padding(10);\r
+            this.tab_general.Size = new System.Drawing.Size(580, 306);\r
             this.tab_general.TabIndex = 3;\r
             this.tab_general.Text = "General";\r
             this.tab_general.UseVisualStyleBackColor = true;\r
             // \r
-            // check_m4v\r
+            // tableLayoutPanel1\r
+            // \r
+            this.tableLayoutPanel1.AutoSize = true;\r
+            this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.tableLayoutPanel1.ColumnCount = 6;\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.Controls.Add(this.label1, 0, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.drop_updateCheckDays, 3, 1);\r
+            this.tableLayoutPanel1.Controls.Add(this.label7, 4, 12);\r
+            this.tableLayoutPanel1.Controls.Add(this.check_updateCheck, 2, 0);\r
+            this.tableLayoutPanel1.Controls.Add(this.txt_autoNameFormat, 4, 11);\r
+            this.tableLayoutPanel1.Controls.Add(this.label5, 2, 11);\r
+            this.tableLayoutPanel1.Controls.Add(this.label2, 0, 6);\r
+            this.tableLayoutPanel1.Controls.Add(this.label13, 0, 9);\r
+            this.tableLayoutPanel1.Controls.Add(this.btn_browse, 5, 10);\r
+            this.tableLayoutPanel1.Controls.Add(this.check_tooltip, 2, 2);\r
+            this.tableLayoutPanel1.Controls.Add(this.text_an_path, 4, 10);\r
+            this.tableLayoutPanel1.Controls.Add(this.label10, 2, 10);\r
+            this.tableLayoutPanel1.Controls.Add(this.check_userDefaultSettings, 2, 3);\r
+            this.tableLayoutPanel1.Controls.Add(this.drp_completeOption, 2, 6);\r
+            this.tableLayoutPanel1.Controls.Add(this.check_autoNaming, 2, 9);\r
+            this.tableLayoutPanel1.Controls.Add(this.check_m4v, 2, 13);\r
+            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tableLayoutPanel1.Location = new System.Drawing.Point(10, 10);\r
+            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
+            this.tableLayoutPanel1.RowCount = 15;\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.Size = new System.Drawing.Size(560, 286);\r
+            this.tableLayoutPanel1.TabIndex = 98;\r
             // \r
-            this.check_m4v.AutoSize = true;\r
-            this.check_m4v.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_m4v.Location = new System.Drawing.Point(114, 273);\r
-            this.check_m4v.Name = "check_m4v";\r
-            this.check_m4v.Size = new System.Drawing.Size(334, 17);\r
-            this.check_m4v.TabIndex = 82;\r
-            this.check_m4v.Text = "Use iPod/iTunes friendly (.m4v) file extension for MP4";\r
-            this.ToolTip.SetToolTip(this.check_m4v, "Use .m4v instead of .mp4 for MP4 files");\r
-            this.check_m4v.UseVisualStyleBackColor = true;\r
-            this.check_m4v.CheckedChanged += new System.EventHandler(this.check_m4v_CheckedChanged);\r
+            // label1\r
+            // \r
+            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.label1.AutoSize = true;\r
+            this.label1.BackColor = System.Drawing.Color.Transparent;\r
+            this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label1.Location = new System.Drawing.Point(14, 5);\r
+            this.label1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0);\r
+            this.label1.Name = "label1";\r
+            this.tableLayoutPanel1.SetRowSpan(this.label1, 2);\r
+            this.label1.Size = new System.Drawing.Size(66, 13);\r
+            this.label1.TabIndex = 67;\r
+            this.label1.Text = "At Launch:";\r
+            // \r
+            // drop_updateCheckDays\r
+            // \r
+            this.drop_updateCheckDays.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.tableLayoutPanel1.SetColumnSpan(this.drop_updateCheckDays, 3);\r
+            this.drop_updateCheckDays.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
+            this.drop_updateCheckDays.FormattingEnabled = true;\r
+            this.drop_updateCheckDays.Items.AddRange(new object[] {\r
+            "Daily",\r
+            "Weekly",\r
+            "Monthly"});\r
+            this.drop_updateCheckDays.Location = new System.Drawing.Point(126, 26);\r
+            this.drop_updateCheckDays.Name = "drop_updateCheckDays";\r
+            this.drop_updateCheckDays.Size = new System.Drawing.Size(97, 21);\r
+            this.drop_updateCheckDays.TabIndex = 97;\r
+            this.ToolTip.SetToolTip(this.drop_updateCheckDays, "The number of processor\'s / processor cores. Unless your having problems, leave o" +\r
+                    "n Automatic.");\r
+            this.drop_updateCheckDays.SelectedIndexChanged += new System.EventHandler(this.drop_updateCheckDays_SelectedIndexChanged);\r
             // \r
             // label7\r
             // \r
+            this.label7.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.label7.AutoSize = true;\r
-            this.label7.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label7.Location = new System.Drawing.Point(197, 248);\r
+            this.tableLayoutPanel1.SetColumnSpan(this.label7, 2);\r
+            this.label7.Location = new System.Drawing.Point(183, 245);\r
+            this.label7.Margin = new System.Windows.Forms.Padding(3);\r
             this.label7.Name = "label7";\r
-            this.label7.Size = new System.Drawing.Size(242, 12);\r
+            this.label7.Size = new System.Drawing.Size(225, 13);\r
             this.label7.TabIndex = 81;\r
             this.label7.Text = "Available Options: {source} {title} {chapters}";\r
             // \r
-            // label5\r
+            // check_updateCheck\r
             // \r
-            this.label5.AutoSize = true;\r
-            this.label5.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label5.Location = new System.Drawing.Point(111, 227);\r
-            this.label5.Name = "label5";\r
-            this.label5.Size = new System.Drawing.Size(52, 13);\r
-            this.label5.TabIndex = 80;\r
-            this.label5.Text = "Format:";\r
+            this.check_updateCheck.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_updateCheck.AutoSize = true;\r
+            this.check_updateCheck.BackColor = System.Drawing.Color.Transparent;\r
+            this.tableLayoutPanel1.SetColumnSpan(this.check_updateCheck, 4);\r
+            this.check_updateCheck.Location = new System.Drawing.Point(106, 3);\r
+            this.check_updateCheck.Name = "check_updateCheck";\r
+            this.check_updateCheck.Size = new System.Drawing.Size(114, 17);\r
+            this.check_updateCheck.TabIndex = 68;\r
+            this.check_updateCheck.Text = "Check for updates";\r
+            this.ToolTip.SetToolTip(this.check_updateCheck, "Enables the built in update checker. This check is performed when the application" +\r
+                    " starts.");\r
+            this.check_updateCheck.UseVisualStyleBackColor = false;\r
+            this.check_updateCheck.CheckedChanged += new System.EventHandler(this.check_updateCheck_CheckedChanged);\r
             // \r
             // txt_autoNameFormat\r
             // \r
-            this.txt_autoNameFormat.Location = new System.Drawing.Point(199, 224);\r
+            this.txt_autoNameFormat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.tableLayoutPanel1.SetColumnSpan(this.txt_autoNameFormat, 2);\r
+            this.txt_autoNameFormat.Location = new System.Drawing.Point(183, 218);\r
             this.txt_autoNameFormat.Name = "txt_autoNameFormat";\r
-            this.txt_autoNameFormat.Size = new System.Drawing.Size(255, 21);\r
+            this.txt_autoNameFormat.Size = new System.Drawing.Size(374, 21);\r
             this.txt_autoNameFormat.TabIndex = 79;\r
             this.ToolTip.SetToolTip(this.txt_autoNameFormat, "Define the format of the automatically named file.\r\ne.g  {source}_{title}_some-te" +\r
                     "xt\r\n{source} {title} {chapters} will be automatically substituted for the input " +\r
                     "sources values.");\r
             this.txt_autoNameFormat.TextChanged += new System.EventHandler(this.txt_autoNameFormat_TextChanged);\r
             // \r
-            // btn_browse\r
-            // \r
-            this.btn_browse.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
-            this.btn_browse.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.btn_browse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_browse.Location = new System.Drawing.Point(386, 197);\r
-            this.btn_browse.Name = "btn_browse";\r
-            this.btn_browse.Size = new System.Drawing.Size(68, 22);\r
-            this.btn_browse.TabIndex = 78;\r
-            this.btn_browse.Text = "Browse";\r
-            this.btn_browse.UseVisualStyleBackColor = true;\r
-            this.btn_browse.Click += new System.EventHandler(this.btn_browse_Click);\r
-            // \r
-            // label10\r
-            // \r
-            this.label10.AutoSize = true;\r
-            this.label10.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label10.Location = new System.Drawing.Point(111, 200);\r
-            this.label10.Name = "label10";\r
-            this.label10.Size = new System.Drawing.Size(82, 13);\r
-            this.label10.TabIndex = 77;\r
-            this.label10.Text = "Default Path:";\r
-            // \r
-            // text_an_path\r
+            // label5\r
             // \r
-            this.text_an_path.Location = new System.Drawing.Point(199, 197);\r
-            this.text_an_path.Name = "text_an_path";\r
-            this.text_an_path.Size = new System.Drawing.Size(181, 21);\r
-            this.text_an_path.TabIndex = 76;\r
-            this.ToolTip.SetToolTip(this.text_an_path, "The default location where auto named files are stored.");\r
-            this.text_an_path.TextChanged += new System.EventHandler(this.text_an_path_TextChanged);\r
+            this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.label5.AutoSize = true;\r
+            this.tableLayoutPanel1.SetColumnSpan(this.label5, 2);\r
+            this.label5.Location = new System.Drawing.Point(106, 222);\r
+            this.label5.Name = "label5";\r
+            this.label5.Size = new System.Drawing.Size(45, 13);\r
+            this.label5.TabIndex = 80;\r
+            this.label5.Text = "Format:";\r
             // \r
-            // check_autoNaming\r
+            // label2\r
             // \r
-            this.check_autoNaming.AutoSize = true;\r
-            this.check_autoNaming.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_autoNaming.Location = new System.Drawing.Point(114, 174);\r
-            this.check_autoNaming.Name = "check_autoNaming";\r
-            this.check_autoNaming.Size = new System.Drawing.Size(206, 17);\r
-            this.check_autoNaming.TabIndex = 72;\r
-            this.check_autoNaming.Text = "Automatically name output files";\r
-            this.ToolTip.SetToolTip(this.check_autoNaming, "Automatically name output files");\r
-            this.check_autoNaming.UseVisualStyleBackColor = true;\r
-            this.check_autoNaming.CheckedChanged += new System.EventHandler(this.check_autoNaming_CheckedChanged);\r
+            this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;\r
+            this.label2.AutoSize = true;\r
+            this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label2.Location = new System.Drawing.Point(6, 123);\r
+            this.label2.Name = "label2";\r
+            this.label2.Size = new System.Drawing.Size(74, 13);\r
+            this.label2.TabIndex = 54;\r
+            this.label2.Text = "When Done:";\r
             // \r
             // label13\r
             // \r
+            this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
             this.label13.AutoSize = true;\r
-            this.label13.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label13.Location = new System.Drawing.Point(10, 175);\r
+            this.label13.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label13.Location = new System.Drawing.Point(3, 168);\r
+            this.label13.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0);\r
             this.label13.Name = "label13";\r
-            this.label13.Size = new System.Drawing.Size(86, 13);\r
+            this.tableLayoutPanel1.SetRowSpan(this.label13, 2);\r
+            this.label13.Size = new System.Drawing.Size(77, 13);\r
             this.label13.TabIndex = 71;\r
-            this.label13.Text = "Output files:";\r
+            this.label13.Text = "Output Files:";\r
+            // \r
+            // btn_browse\r
+            // \r
+            this.btn_browse.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.btn_browse.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
+            this.btn_browse.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_browse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
+            this.btn_browse.Location = new System.Drawing.Point(482, 189);\r
+            this.btn_browse.Name = "btn_browse";\r
+            this.btn_browse.Size = new System.Drawing.Size(75, 23);\r
+            this.btn_browse.TabIndex = 78;\r
+            this.btn_browse.Text = "Browse";\r
+            this.btn_browse.UseVisualStyleBackColor = true;\r
+            this.btn_browse.Click += new System.EventHandler(this.btn_browse_Click);\r
             // \r
             // check_tooltip\r
             // \r
+            this.check_tooltip.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_tooltip.AutoSize = true;\r
             this.check_tooltip.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_tooltip.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_tooltip.Location = new System.Drawing.Point(114, 67);\r
+            this.tableLayoutPanel1.SetColumnSpan(this.check_tooltip, 4);\r
+            this.check_tooltip.Location = new System.Drawing.Point(106, 53);\r
             this.check_tooltip.Name = "check_tooltip";\r
-            this.check_tooltip.Size = new System.Drawing.Size(135, 17);\r
+            this.check_tooltip.Size = new System.Drawing.Size(117, 17);\r
             this.check_tooltip.TabIndex = 70;\r
             this.check_tooltip.Text = "Enable GUI tooltips";\r
             this.ToolTip.SetToolTip(this.check_tooltip, "Enable the built in tooltips for gui controls. (Requires Restart)");\r
             this.check_tooltip.UseVisualStyleBackColor = false;\r
             this.check_tooltip.CheckedChanged += new System.EventHandler(this.check_tooltip_CheckedChanged);\r
             // \r
-            // check_updateCheck\r
+            // text_an_path\r
             // \r
-            this.check_updateCheck.AutoSize = true;\r
-            this.check_updateCheck.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_updateCheck.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_updateCheck.Location = new System.Drawing.Point(114, 18);\r
-            this.check_updateCheck.Name = "check_updateCheck";\r
-            this.check_updateCheck.Size = new System.Drawing.Size(131, 17);\r
-            this.check_updateCheck.TabIndex = 68;\r
-            this.check_updateCheck.Text = "Check for updates";\r
-            this.ToolTip.SetToolTip(this.check_updateCheck, "Enables the built in update checker. This check is performed when the application" +\r
-                    " starts.");\r
-            this.check_updateCheck.UseVisualStyleBackColor = false;\r
-            this.check_updateCheck.CheckedChanged += new System.EventHandler(this.check_updateCheck_CheckedChanged);\r
+            this.text_an_path.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.text_an_path.Location = new System.Drawing.Point(183, 190);\r
+            this.text_an_path.Name = "text_an_path";\r
+            this.text_an_path.Size = new System.Drawing.Size(293, 21);\r
+            this.text_an_path.TabIndex = 76;\r
+            this.ToolTip.SetToolTip(this.text_an_path, "The default location where auto named files are stored.");\r
+            this.text_an_path.TextChanged += new System.EventHandler(this.text_an_path_TextChanged);\r
+            // \r
+            // label10\r
+            // \r
+            this.label10.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.label10.AutoSize = true;\r
+            this.tableLayoutPanel1.SetColumnSpan(this.label10, 2);\r
+            this.label10.Location = new System.Drawing.Point(106, 194);\r
+            this.label10.Name = "label10";\r
+            this.label10.Size = new System.Drawing.Size(71, 13);\r
+            this.label10.TabIndex = 77;\r
+            this.label10.Text = "Default Path:";\r
             // \r
             // check_userDefaultSettings\r
             // \r
+            this.check_userDefaultSettings.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_userDefaultSettings.AutoSize = true;\r
             this.check_userDefaultSettings.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_userDefaultSettings.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_userDefaultSettings.Location = new System.Drawing.Point(114, 90);\r
+            this.tableLayoutPanel1.SetColumnSpan(this.check_userDefaultSettings, 4);\r
+            this.check_userDefaultSettings.Location = new System.Drawing.Point(106, 76);\r
             this.check_userDefaultSettings.Name = "check_userDefaultSettings";\r
-            this.check_userDefaultSettings.Size = new System.Drawing.Size(158, 17);\r
+            this.check_userDefaultSettings.Size = new System.Drawing.Size(137, 17);\r
             this.check_userDefaultSettings.TabIndex = 69;\r
             this.check_userDefaultSettings.Text = "Load my default preset";\r
             this.ToolTip.SetToolTip(this.check_userDefaultSettings, "Loads the users default settings rather than the Normal preset.");\r
             this.check_userDefaultSettings.UseVisualStyleBackColor = false;\r
             this.check_userDefaultSettings.CheckedChanged += new System.EventHandler(this.check_userDefaultSettings_CheckedChanged);\r
             // \r
-            // label1\r
+            // check_autoNaming\r
             // \r
-            this.label1.AutoSize = true;\r
-            this.label1.BackColor = System.Drawing.Color.Transparent;\r
-            this.label1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label1.Location = new System.Drawing.Point(21, 19);\r
-            this.label1.Name = "label1";\r
-            this.label1.Size = new System.Drawing.Size(75, 13);\r
-            this.label1.TabIndex = 67;\r
-            this.label1.Text = "At Launch:";\r
+            this.check_autoNaming.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_autoNaming.AutoSize = true;\r
+            this.tableLayoutPanel1.SetColumnSpan(this.check_autoNaming, 4);\r
+            this.check_autoNaming.Location = new System.Drawing.Point(106, 166);\r
+            this.check_autoNaming.Name = "check_autoNaming";\r
+            this.check_autoNaming.Size = new System.Drawing.Size(176, 17);\r
+            this.check_autoNaming.TabIndex = 72;\r
+            this.check_autoNaming.Text = "Automatically name output files";\r
+            this.ToolTip.SetToolTip(this.check_autoNaming, "Automatically name output files");\r
+            this.check_autoNaming.UseVisualStyleBackColor = true;\r
+            this.check_autoNaming.CheckedChanged += new System.EventHandler(this.check_autoNaming_CheckedChanged);\r
             // \r
-            // label2\r
+            // check_m4v\r
             // \r
-            this.label2.AutoSize = true;\r
-            this.label2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label2.Location = new System.Drawing.Point(12, 129);\r
-            this.label2.Name = "label2";\r
-            this.label2.Size = new System.Drawing.Size(84, 13);\r
-            this.label2.TabIndex = 54;\r
-            this.label2.Text = "When Done:";\r
+            this.check_m4v.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_m4v.AutoSize = true;\r
+            this.tableLayoutPanel1.SetColumnSpan(this.check_m4v, 4);\r
+            this.check_m4v.Location = new System.Drawing.Point(106, 264);\r
+            this.check_m4v.Name = "check_m4v";\r
+            this.check_m4v.Size = new System.Drawing.Size(283, 17);\r
+            this.check_m4v.TabIndex = 82;\r
+            this.check_m4v.Text = "Use iPod/iTunes friendly file extension (.m4v) for MP4";\r
+            this.ToolTip.SetToolTip(this.check_m4v, "Use .m4v instead of .mp4 for MP4 files");\r
+            this.check_m4v.UseVisualStyleBackColor = true;\r
+            this.check_m4v.CheckedChanged += new System.EventHandler(this.check_m4v_CheckedChanged);\r
             // \r
             // tab_picture\r
             // \r
-            this.tab_picture.Controls.Add(this.btn_vlcPath);\r
-            this.tab_picture.Controls.Add(this.txt_vlcPath);\r
-            this.tab_picture.Controls.Add(this.label29);\r
+            this.tab_picture.Controls.Add(this.tableLayoutPanel2);\r
             this.tab_picture.Location = new System.Drawing.Point(4, 22);\r
             this.tab_picture.Name = "tab_picture";\r
-            this.tab_picture.Size = new System.Drawing.Size(489, 302);\r
+            this.tab_picture.Padding = new System.Windows.Forms.Padding(10);\r
+            this.tab_picture.Size = new System.Drawing.Size(580, 306);\r
             this.tab_picture.TabIndex = 5;\r
             this.tab_picture.Text = "Picture";\r
             this.tab_picture.UseVisualStyleBackColor = true;\r
             // \r
+            // tableLayoutPanel2\r
+            // \r
+            this.tableLayoutPanel2.AutoSize = true;\r
+            this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.tableLayoutPanel2.ColumnCount = 4;\r
+            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel2.Controls.Add(this.label29, 0, 0);\r
+            this.tableLayoutPanel2.Controls.Add(this.btn_vlcPath, 3, 0);\r
+            this.tableLayoutPanel2.Controls.Add(this.txt_vlcPath, 2, 0);\r
+            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tableLayoutPanel2.Location = new System.Drawing.Point(10, 10);\r
+            this.tableLayoutPanel2.Name = "tableLayoutPanel2";\r
+            this.tableLayoutPanel2.RowCount = 2;\r
+            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.tableLayoutPanel2.Size = new System.Drawing.Size(560, 286);\r
+            this.tableLayoutPanel2.TabIndex = 84;\r
+            // \r
+            // label29\r
+            // \r
+            this.label29.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.label29.AutoSize = true;\r
+            this.label29.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label29.Location = new System.Drawing.Point(3, 5);\r
+            this.label29.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0);\r
+            this.label29.Name = "label29";\r
+            this.tableLayoutPanel2.SetRowSpan(this.label29, 2);\r
+            this.label29.Size = new System.Drawing.Size(59, 13);\r
+            this.label29.TabIndex = 79;\r
+            this.label29.Text = "VLC Path:";\r
+            // \r
             // btn_vlcPath\r
             // \r
+            this.btn_vlcPath.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.btn_vlcPath.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
-            this.btn_vlcPath.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_vlcPath.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_vlcPath.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_vlcPath.Location = new System.Drawing.Point(398, 15);\r
+            this.btn_vlcPath.Location = new System.Drawing.Point(489, 3);\r
             this.btn_vlcPath.Name = "btn_vlcPath";\r
             this.btn_vlcPath.Size = new System.Drawing.Size(68, 22);\r
             this.btn_vlcPath.TabIndex = 83;\r
@@ -391,195 +513,229 @@ namespace Handbrake
             // \r
             // txt_vlcPath\r
             // \r
-            this.txt_vlcPath.Location = new System.Drawing.Point(98, 15);\r
+            this.txt_vlcPath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.txt_vlcPath.Location = new System.Drawing.Point(88, 3);\r
             this.txt_vlcPath.Name = "txt_vlcPath";\r
-            this.txt_vlcPath.Size = new System.Drawing.Size(294, 21);\r
+            this.txt_vlcPath.Size = new System.Drawing.Size(395, 21);\r
             this.txt_vlcPath.TabIndex = 81;\r
             this.ToolTip.SetToolTip(this.txt_vlcPath, "The path where VLC is installed on this system.\r\nThis is used for the video previ" +\r
                     "ew feature.");\r
             this.txt_vlcPath.TextChanged += new System.EventHandler(this.txt_vlcPath_TextChanged);\r
             // \r
-            // label29\r
-            // \r
-            this.label29.AutoSize = true;\r
-            this.label29.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label29.Location = new System.Drawing.Point(17, 20);\r
-            this.label29.Name = "label29";\r
-            this.label29.Size = new System.Drawing.Size(67, 13);\r
-            this.label29.TabIndex = 79;\r
-            this.label29.Text = "VLC Path:";\r
-            // \r
             // tab_cli\r
             // \r
-            this.tab_cli.Controls.Add(this.btn_viewLogs);\r
-            this.tab_cli.Controls.Add(this.btn_clearLogs);\r
-            this.tab_cli.Controls.Add(this.check_logsInSpecifiedLocation);\r
-            this.tab_cli.Controls.Add(this.cb_logVerboseLvl);\r
-            this.tab_cli.Controls.Add(this.label3);\r
-            this.tab_cli.Controls.Add(this.check_saveLogWithVideo);\r
-            this.tab_cli.Controls.Add(this.btn_saveLog);\r
-            this.tab_cli.Controls.Add(this.label14);\r
-            this.tab_cli.Controls.Add(this.text_logPath);\r
-            this.tab_cli.Controls.Add(this.label9);\r
-            this.tab_cli.Controls.Add(this.check_cli_minimized);\r
-            this.tab_cli.Controls.Add(this.label12);\r
-            this.tab_cli.Controls.Add(this.drp_Priority);\r
-            this.tab_cli.Controls.Add(this.Label11);\r
-            this.tab_cli.Controls.Add(this.drp_processors);\r
-            this.tab_cli.Controls.Add(this.Label4);\r
+            this.tab_cli.Controls.Add(this.tableLayoutPanel3);\r
             this.tab_cli.Location = new System.Drawing.Point(4, 22);\r
             this.tab_cli.Name = "tab_cli";\r
-            this.tab_cli.Size = new System.Drawing.Size(489, 302);\r
+            this.tab_cli.Padding = new System.Windows.Forms.Padding(10);\r
+            this.tab_cli.Size = new System.Drawing.Size(580, 306);\r
             this.tab_cli.TabIndex = 2;\r
             this.tab_cli.Text = "CLI";\r
             this.tab_cli.UseVisualStyleBackColor = true;\r
             // \r
-            // btn_viewLogs\r
+            // tableLayoutPanel3\r
+            // \r
+            this.tableLayoutPanel3.AutoSize = true;\r
+            this.tableLayoutPanel3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.tableLayoutPanel3.ColumnCount = 7;\r
+            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel3.Controls.Add(this.label12, 0, 0);\r
+            this.tableLayoutPanel3.Controls.Add(this.check_cli_minimized, 2, 0);\r
+            this.tableLayoutPanel3.Controls.Add(this.label9, 0, 4);\r
+            this.tableLayoutPanel3.Controls.Add(this.btn_saveLog, 6, 7);\r
+            this.tableLayoutPanel3.Controls.Add(this.check_logsInSpecifiedLocation, 2, 6);\r
+            this.tableLayoutPanel3.Controls.Add(this.label14, 2, 7);\r
+            this.tableLayoutPanel3.Controls.Add(this.Label11, 2, 1);\r
+            this.tableLayoutPanel3.Controls.Add(this.check_saveLogWithVideo, 2, 5);\r
+            this.tableLayoutPanel3.Controls.Add(this.Label4, 2, 2);\r
+            this.tableLayoutPanel3.Controls.Add(this.label3, 2, 4);\r
+            this.tableLayoutPanel3.Controls.Add(this.text_logPath, 3, 7);\r
+            this.tableLayoutPanel3.Controls.Add(this.cb_logVerboseLvl, 3, 4);\r
+            this.tableLayoutPanel3.Controls.Add(this.drp_Priority, 3, 2);\r
+            this.tableLayoutPanel3.Controls.Add(this.drp_processors, 3, 1);\r
+            this.tableLayoutPanel3.Controls.Add(this.btn_viewLogs, 2, 8);\r
+            this.tableLayoutPanel3.Controls.Add(this.btn_clearLogs, 4, 8);\r
+            this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tableLayoutPanel3.Location = new System.Drawing.Point(10, 10);\r
+            this.tableLayoutPanel3.Name = "tableLayoutPanel3";\r
+            this.tableLayoutPanel3.RowCount = 10;\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel3.Size = new System.Drawing.Size(560, 286);\r
+            this.tableLayoutPanel3.TabIndex = 62;\r
             // \r
-            this.btn_viewLogs.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.btn_viewLogs.ForeColor = System.Drawing.Color.DarkOrange;\r
-            this.btn_viewLogs.Location = new System.Drawing.Point(71, 238);\r
-            this.btn_viewLogs.Name = "btn_viewLogs";\r
-            this.btn_viewLogs.Size = new System.Drawing.Size(139, 23);\r
-            this.btn_viewLogs.TabIndex = 89;\r
-            this.btn_viewLogs.Text = "View Log Directory";\r
-            this.btn_viewLogs.UseVisualStyleBackColor = true;\r
-            this.btn_viewLogs.Click += new System.EventHandler(this.btn_viewLogs_Click);\r
+            // label12\r
             // \r
-            // btn_clearLogs\r
+            this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.label12.AutoSize = true;\r
+            this.label12.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label12.Location = new System.Drawing.Point(11, 5);\r
+            this.label12.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0);\r
+            this.label12.Name = "label12";\r
+            this.tableLayoutPanel3.SetRowSpan(this.label12, 2);\r
+            this.label12.Size = new System.Drawing.Size(28, 13);\r
+            this.label12.TabIndex = 75;\r
+            this.label12.Text = "CLI:";\r
             // \r
-            this.btn_clearLogs.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.btn_clearLogs.ForeColor = System.Drawing.Color.DarkOrange;\r
-            this.btn_clearLogs.Location = new System.Drawing.Point(216, 238);\r
-            this.btn_clearLogs.Name = "btn_clearLogs";\r
-            this.btn_clearLogs.Size = new System.Drawing.Size(135, 23);\r
-            this.btn_clearLogs.TabIndex = 88;\r
-            this.btn_clearLogs.Text = "Clear Log History";\r
-            this.btn_clearLogs.UseVisualStyleBackColor = true;\r
-            this.btn_clearLogs.Click += new System.EventHandler(this.btn_clearLogs_Click);\r
+            // check_cli_minimized\r
+            // \r
+            this.check_cli_minimized.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_cli_minimized.AutoSize = true;\r
+            this.tableLayoutPanel3.SetColumnSpan(this.check_cli_minimized, 5);\r
+            this.check_cli_minimized.Location = new System.Drawing.Point(65, 3);\r
+            this.check_cli_minimized.Name = "check_cli_minimized";\r
+            this.check_cli_minimized.Size = new System.Drawing.Size(137, 17);\r
+            this.check_cli_minimized.TabIndex = 76;\r
+            this.check_cli_minimized.Text = "Start window minimized";\r
+            this.ToolTip.SetToolTip(this.check_cli_minimized, "Starts a CLI window minimized.");\r
+            this.check_cli_minimized.UseVisualStyleBackColor = true;\r
+            this.check_cli_minimized.CheckedChanged += new System.EventHandler(this.check_cli_minimized_CheckedChanged);\r
+            // \r
+            // label9\r
+            // \r
+            this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.label9.AutoSize = true;\r
+            this.label9.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label9.Location = new System.Drawing.Point(3, 102);\r
+            this.label9.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0);\r
+            this.label9.Name = "label9";\r
+            this.tableLayoutPanel3.SetRowSpan(this.label9, 2);\r
+            this.label9.Size = new System.Drawing.Size(36, 13);\r
+            this.label9.TabIndex = 77;\r
+            this.label9.Text = "Logs:";\r
+            // \r
+            // btn_saveLog\r
+            // \r
+            this.btn_saveLog.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.btn_saveLog.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
+            this.btn_saveLog.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_saveLog.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
+            this.btn_saveLog.Location = new System.Drawing.Point(480, 173);\r
+            this.btn_saveLog.Name = "btn_saveLog";\r
+            this.btn_saveLog.Size = new System.Drawing.Size(77, 22);\r
+            this.btn_saveLog.TabIndex = 82;\r
+            this.btn_saveLog.Text = "Browse";\r
+            this.btn_saveLog.UseVisualStyleBackColor = true;\r
+            this.btn_saveLog.Click += new System.EventHandler(this.btn_saveLog_Click);\r
             // \r
             // check_logsInSpecifiedLocation\r
             // \r
+            this.check_logsInSpecifiedLocation.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_logsInSpecifiedLocation.AutoSize = true;\r
-            this.check_logsInSpecifiedLocation.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_logsInSpecifiedLocation.Location = new System.Drawing.Point(71, 187);\r
+            this.tableLayoutPanel3.SetColumnSpan(this.check_logsInSpecifiedLocation, 5);\r
+            this.check_logsInSpecifiedLocation.Location = new System.Drawing.Point(65, 150);\r
             this.check_logsInSpecifiedLocation.Name = "check_logsInSpecifiedLocation";\r
-            this.check_logsInSpecifiedLocation.Size = new System.Drawing.Size(363, 17);\r
+            this.check_logsInSpecifiedLocation.Size = new System.Drawing.Size(306, 17);\r
             this.check_logsInSpecifiedLocation.TabIndex = 87;\r
             this.check_logsInSpecifiedLocation.Text = "Put a copy of individual encode logs in a specified location:";\r
             this.ToolTip.SetToolTip(this.check_logsInSpecifiedLocation, "Place a copy of the encode log in the same folder as the encoded movie.");\r
             this.check_logsInSpecifiedLocation.UseVisualStyleBackColor = true;\r
             this.check_logsInSpecifiedLocation.CheckedChanged += new System.EventHandler(this.check_logsInSpecifiedLocation_CheckedChanged);\r
             // \r
-            // cb_logVerboseLvl\r
+            // label14\r
             // \r
-            this.cb_logVerboseLvl.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
-            this.cb_logVerboseLvl.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.cb_logVerboseLvl.FormattingEnabled = true;\r
-            this.cb_logVerboseLvl.Items.AddRange(new object[] {\r
-            "0",\r
-            "1",\r
-            "2"});\r
-            this.cb_logVerboseLvl.Location = new System.Drawing.Point(198, 119);\r
-            this.cb_logVerboseLvl.Name = "cb_logVerboseLvl";\r
-            this.cb_logVerboseLvl.Size = new System.Drawing.Size(111, 21);\r
-            this.cb_logVerboseLvl.TabIndex = 86;\r
-            this.ToolTip.SetToolTip(this.cb_logVerboseLvl, "Activity Log Verbosity Level");\r
-            this.cb_logVerboseLvl.SelectedIndexChanged += new System.EventHandler(this.cb_logVerboseLvl_SelectedIndexChanged);\r
+            this.label14.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.label14.AutoSize = true;\r
+            this.label14.Location = new System.Drawing.Point(65, 177);\r
+            this.label14.Name = "label14";\r
+            this.label14.Size = new System.Drawing.Size(53, 13);\r
+            this.label14.TabIndex = 81;\r
+            this.label14.Text = "Log Path:";\r
             // \r
-            // label3\r
+            // Label11\r
             // \r
-            this.label3.AutoSize = true;\r
-            this.label3.BackColor = System.Drawing.Color.Transparent;\r
-            this.label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label3.Location = new System.Drawing.Point(68, 122);\r
-            this.label3.Name = "label3";\r
-            this.label3.Size = new System.Drawing.Size(124, 13);\r
-            this.label3.TabIndex = 85;\r
-            this.label3.Text = "Log Verbosity Level:";\r
+            this.Label11.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.Label11.AutoSize = true;\r
+            this.Label11.BackColor = System.Drawing.Color.Transparent;\r
+            this.Label11.Location = new System.Drawing.Point(65, 30);\r
+            this.Label11.Name = "Label11";\r
+            this.Label11.Size = new System.Drawing.Size(87, 13);\r
+            this.Label11.TabIndex = 40;\r
+            this.Label11.Text = "Processor cores:";\r
             // \r
             // check_saveLogWithVideo\r
             // \r
+            this.check_saveLogWithVideo.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_saveLogWithVideo.AutoSize = true;\r
-            this.check_saveLogWithVideo.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_saveLogWithVideo.Location = new System.Drawing.Point(71, 164);\r
+            this.tableLayoutPanel3.SetColumnSpan(this.check_saveLogWithVideo, 5);\r
+            this.check_saveLogWithVideo.Location = new System.Drawing.Point(65, 127);\r
             this.check_saveLogWithVideo.Name = "check_saveLogWithVideo";\r
-            this.check_saveLogWithVideo.Size = new System.Drawing.Size(406, 17);\r
+            this.check_saveLogWithVideo.Size = new System.Drawing.Size(382, 17);\r
             this.check_saveLogWithVideo.TabIndex = 83;\r
-            this.check_saveLogWithVideo.Text = "Put a copy of individual encode logs in the same location as movie";\r
+            this.check_saveLogWithVideo.Text = "Put a copy of individual encode logs in the same location as encoded video";\r
             this.ToolTip.SetToolTip(this.check_saveLogWithVideo, "Place a copy of the encode log in the same folder as the encoded movie.");\r
             this.check_saveLogWithVideo.UseVisualStyleBackColor = true;\r
             this.check_saveLogWithVideo.CheckedChanged += new System.EventHandler(this.check_saveLogWithVideo_CheckedChanged);\r
             // \r
-            // btn_saveLog\r
+            // Label4\r
             // \r
-            this.btn_saveLog.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
-            this.btn_saveLog.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.btn_saveLog.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_saveLog.Location = new System.Drawing.Point(343, 211);\r
-            this.btn_saveLog.Name = "btn_saveLog";\r
-            this.btn_saveLog.Size = new System.Drawing.Size(68, 22);\r
-            this.btn_saveLog.TabIndex = 82;\r
-            this.btn_saveLog.Text = "Browse";\r
-            this.btn_saveLog.UseVisualStyleBackColor = true;\r
-            this.btn_saveLog.Click += new System.EventHandler(this.btn_saveLog_Click);\r
+            this.Label4.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.Label4.AutoSize = true;\r
+            this.Label4.BackColor = System.Drawing.Color.Transparent;\r
+            this.Label4.Location = new System.Drawing.Point(65, 57);\r
+            this.Label4.Name = "Label4";\r
+            this.Label4.Size = new System.Drawing.Size(70, 13);\r
+            this.Label4.TabIndex = 42;\r
+            this.Label4.Text = "Priority level:";\r
             // \r
-            // label14\r
+            // label3\r
             // \r
-            this.label14.AutoSize = true;\r
-            this.label14.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label14.Location = new System.Drawing.Point(68, 214);\r
-            this.label14.Name = "label14";\r
-            this.label14.Size = new System.Drawing.Size(61, 13);\r
-            this.label14.TabIndex = 81;\r
-            this.label14.Text = "Log Path:";\r
+            this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.label3.AutoSize = true;\r
+            this.label3.BackColor = System.Drawing.Color.Transparent;\r
+            this.label3.Location = new System.Drawing.Point(65, 104);\r
+            this.label3.Name = "label3";\r
+            this.label3.Size = new System.Drawing.Size(101, 13);\r
+            this.label3.TabIndex = 85;\r
+            this.label3.Text = "Log verbosity level:";\r
             // \r
             // text_logPath\r
             // \r
-            this.text_logPath.Location = new System.Drawing.Point(135, 211);\r
+            this.text_logPath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.tableLayoutPanel3.SetColumnSpan(this.text_logPath, 3);\r
+            this.text_logPath.Location = new System.Drawing.Point(172, 173);\r
             this.text_logPath.Name = "text_logPath";\r
-            this.text_logPath.Size = new System.Drawing.Size(202, 21);\r
+            this.text_logPath.Size = new System.Drawing.Size(302, 21);\r
             this.text_logPath.TabIndex = 80;\r
             this.ToolTip.SetToolTip(this.text_logPath, "The default location where auto named files are stored.");\r
             this.text_logPath.TextChanged += new System.EventHandler(this.text_logPath_TextChanged);\r
             // \r
-            // label9\r
-            // \r
-            this.label9.AutoSize = true;\r
-            this.label9.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label9.Location = new System.Drawing.Point(12, 122);\r
-            this.label9.Name = "label9";\r
-            this.label9.Size = new System.Drawing.Size(41, 13);\r
-            this.label9.TabIndex = 77;\r
-            this.label9.Text = "Logs:";\r
-            // \r
-            // check_cli_minimized\r
-            // \r
-            this.check_cli_minimized.AutoSize = true;\r
-            this.check_cli_minimized.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_cli_minimized.Location = new System.Drawing.Point(71, 18);\r
-            this.check_cli_minimized.Name = "check_cli_minimized";\r
-            this.check_cli_minimized.Size = new System.Drawing.Size(162, 17);\r
-            this.check_cli_minimized.TabIndex = 76;\r
-            this.check_cli_minimized.Text = "Start window minimized";\r
-            this.ToolTip.SetToolTip(this.check_cli_minimized, "Starts a CLI window minimized.");\r
-            this.check_cli_minimized.UseVisualStyleBackColor = true;\r
-            this.check_cli_minimized.CheckedChanged += new System.EventHandler(this.check_cli_minimized_CheckedChanged);\r
-            // \r
-            // label12\r
+            // cb_logVerboseLvl\r
             // \r
-            this.label12.AutoSize = true;\r
-            this.label12.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label12.Location = new System.Drawing.Point(21, 19);\r
-            this.label12.Name = "label12";\r
-            this.label12.Size = new System.Drawing.Size(32, 13);\r
-            this.label12.TabIndex = 75;\r
-            this.label12.Text = "CLI:";\r
+            this.cb_logVerboseLvl.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.tableLayoutPanel3.SetColumnSpan(this.cb_logVerboseLvl, 4);\r
+            this.cb_logVerboseLvl.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
+            this.cb_logVerboseLvl.FormattingEnabled = true;\r
+            this.cb_logVerboseLvl.Items.AddRange(new object[] {\r
+            "0",\r
+            "1",\r
+            "2"});\r
+            this.cb_logVerboseLvl.Location = new System.Drawing.Point(172, 100);\r
+            this.cb_logVerboseLvl.Name = "cb_logVerboseLvl";\r
+            this.cb_logVerboseLvl.Size = new System.Drawing.Size(111, 21);\r
+            this.cb_logVerboseLvl.TabIndex = 86;\r
+            this.ToolTip.SetToolTip(this.cb_logVerboseLvl, "Activity Log Verbosity Level");\r
+            this.cb_logVerboseLvl.SelectedIndexChanged += new System.EventHandler(this.cb_logVerboseLvl_SelectedIndexChanged);\r
             // \r
             // drp_Priority\r
             // \r
+            this.drp_Priority.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.tableLayoutPanel3.SetColumnSpan(this.drp_Priority, 4);\r
             this.drp_Priority.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
-            this.drp_Priority.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.drp_Priority.FormattingEnabled = true;\r
             this.drp_Priority.Items.AddRange(new object[] {\r
             "Realtime",\r
@@ -588,7 +744,7 @@ namespace Handbrake
             "Normal",\r
             "Below Normal",\r
             "Low"});\r
-            this.drp_Priority.Location = new System.Drawing.Point(198, 75);\r
+            this.drp_Priority.Location = new System.Drawing.Point(172, 53);\r
             this.drp_Priority.Name = "drp_Priority";\r
             this.drp_Priority.Size = new System.Drawing.Size(111, 21);\r
             this.drp_Priority.TabIndex = 43;\r
@@ -596,21 +752,11 @@ namespace Handbrake
                     "w Normal if you wish to use your system whilst encoding with HandBrake.\r\n");\r
             this.drp_Priority.SelectedIndexChanged += new System.EventHandler(this.drp_Priority_SelectedIndexChanged);\r
             // \r
-            // Label11\r
-            // \r
-            this.Label11.AutoSize = true;\r
-            this.Label11.BackColor = System.Drawing.Color.Transparent;\r
-            this.Label11.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.Label11.Location = new System.Drawing.Point(68, 48);\r
-            this.Label11.Name = "Label11";\r
-            this.Label11.Size = new System.Drawing.Size(103, 13);\r
-            this.Label11.TabIndex = 40;\r
-            this.Label11.Text = "Processor cores:";\r
-            // \r
             // drp_processors\r
             // \r
+            this.drp_processors.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.tableLayoutPanel3.SetColumnSpan(this.drp_processors, 4);\r
             this.drp_processors.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
-            this.drp_processors.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.drp_processors.FormattingEnabled = true;\r
             this.drp_processors.Items.AddRange(new object[] {\r
             "Automatic",\r
@@ -622,7 +768,7 @@ namespace Handbrake
             "6",\r
             "7",\r
             "8"});\r
-            this.drp_processors.Location = new System.Drawing.Point(198, 48);\r
+            this.drp_processors.Location = new System.Drawing.Point(172, 26);\r
             this.drp_processors.Name = "drp_processors";\r
             this.drp_processors.Size = new System.Drawing.Size(111, 21);\r
             this.drp_processors.TabIndex = 41;\r
@@ -630,47 +776,122 @@ namespace Handbrake
                     "n Automatic.");\r
             this.drp_processors.SelectedIndexChanged += new System.EventHandler(this.drp_processors_SelectedIndexChanged);\r
             // \r
-            // Label4\r
+            // btn_viewLogs\r
             // \r
-            this.Label4.AutoSize = true;\r
-            this.Label4.BackColor = System.Drawing.Color.Transparent;\r
-            this.Label4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.Label4.Location = new System.Drawing.Point(68, 75);\r
-            this.Label4.Name = "Label4";\r
-            this.Label4.Size = new System.Drawing.Size(84, 13);\r
-            this.Label4.TabIndex = 42;\r
-            this.Label4.Text = "Priority level:";\r
+            this.btn_viewLogs.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.tableLayoutPanel3.SetColumnSpan(this.btn_viewLogs, 2);\r
+            this.btn_viewLogs.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_viewLogs.ForeColor = System.Drawing.Color.DarkOrange;\r
+            this.btn_viewLogs.Location = new System.Drawing.Point(65, 201);\r
+            this.btn_viewLogs.Name = "btn_viewLogs";\r
+            this.btn_viewLogs.Size = new System.Drawing.Size(139, 23);\r
+            this.btn_viewLogs.TabIndex = 89;\r
+            this.btn_viewLogs.Text = "View Log Directory";\r
+            this.btn_viewLogs.UseVisualStyleBackColor = true;\r
+            this.btn_viewLogs.Click += new System.EventHandler(this.btn_viewLogs_Click);\r
+            // \r
+            // btn_clearLogs\r
+            // \r
+            this.btn_clearLogs.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.btn_clearLogs.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.btn_clearLogs.ForeColor = System.Drawing.Color.DarkOrange;\r
+            this.btn_clearLogs.Location = new System.Drawing.Point(210, 201);\r
+            this.btn_clearLogs.Name = "btn_clearLogs";\r
+            this.btn_clearLogs.Size = new System.Drawing.Size(135, 23);\r
+            this.btn_clearLogs.TabIndex = 88;\r
+            this.btn_clearLogs.Text = "Clear Log History";\r
+            this.btn_clearLogs.UseVisualStyleBackColor = true;\r
+            this.btn_clearLogs.Click += new System.EventHandler(this.btn_clearLogs_Click);\r
             // \r
             // tab_advanced\r
             // \r
-            this.tab_advanced.Controls.Add(this.check_trayStatusAlerts);\r
-            this.tab_advanced.Controls.Add(this.check_inGuiStatus);\r
-            this.tab_advanced.Controls.Add(this.check_disablePresetNotification);\r
-            this.tab_advanced.Controls.Add(this.check_dvdnav);\r
-            this.tab_advanced.Controls.Add(this.label32);\r
-            this.tab_advanced.Controls.Add(this.label30);\r
-            this.tab_advanced.Controls.Add(this.drop_x264step);\r
-            this.tab_advanced.Controls.Add(this.label28);\r
-            this.tab_advanced.Controls.Add(this.check_queryEditorTab);\r
-            this.tab_advanced.Controls.Add(this.check_mainMinimize);\r
-            this.tab_advanced.Controls.Add(this.btn_drive_detect);\r
-            this.tab_advanced.Controls.Add(this.label6);\r
+            this.tab_advanced.Controls.Add(this.tableLayoutPanel4);\r
             this.tab_advanced.Location = new System.Drawing.Point(4, 22);\r
             this.tab_advanced.Name = "tab_advanced";\r
-            this.tab_advanced.Padding = new System.Windows.Forms.Padding(3);\r
-            this.tab_advanced.Size = new System.Drawing.Size(489, 302);\r
+            this.tab_advanced.Padding = new System.Windows.Forms.Padding(10);\r
+            this.tab_advanced.Size = new System.Drawing.Size(580, 306);\r
             this.tab_advanced.TabIndex = 4;\r
             this.tab_advanced.Text = "Advanced / Other";\r
             this.tab_advanced.UseVisualStyleBackColor = true;\r
             // \r
+            // tableLayoutPanel4\r
+            // \r
+            this.tableLayoutPanel4.AutoSize = true;\r
+            this.tableLayoutPanel4.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.tableLayoutPanel4.ColumnCount = 6;\r
+            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel4.Controls.Add(this.check_promptOnUnmatchingQueries, 3, 4);\r
+            this.tableLayoutPanel4.Controls.Add(this.check_dvdnav, 2, 10);\r
+            this.tableLayoutPanel4.Controls.Add(this.check_trayStatusAlerts, 3, 2);\r
+            this.tableLayoutPanel4.Controls.Add(this.label32, 0, 10);\r
+            this.tableLayoutPanel4.Controls.Add(this.label6, 0, 0);\r
+            this.tableLayoutPanel4.Controls.Add(this.drop_x264step, 4, 8);\r
+            this.tableLayoutPanel4.Controls.Add(this.label30, 2, 8);\r
+            this.tableLayoutPanel4.Controls.Add(this.btn_drive_detect, 2, 0);\r
+            this.tableLayoutPanel4.Controls.Add(this.check_mainMinimize, 2, 1);\r
+            this.tableLayoutPanel4.Controls.Add(this.label28, 0, 8);\r
+            this.tableLayoutPanel4.Controls.Add(this.check_queryEditorTab, 2, 3);\r
+            this.tableLayoutPanel4.Controls.Add(this.check_disablePresetNotification, 2, 5);\r
+            this.tableLayoutPanel4.Controls.Add(this.check_inGuiStatus, 2, 6);\r
+            this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tableLayoutPanel4.Location = new System.Drawing.Point(10, 10);\r
+            this.tableLayoutPanel4.Name = "tableLayoutPanel4";\r
+            this.tableLayoutPanel4.RowCount = 12;\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel4.Size = new System.Drawing.Size(560, 286);\r
+            this.tableLayoutPanel4.TabIndex = 62;\r
+            // \r
+            // check_promptOnUnmatchingQueries\r
+            // \r
+            this.check_promptOnUnmatchingQueries.AutoSize = true;\r
+            this.tableLayoutPanel4.SetColumnSpan(this.check_promptOnUnmatchingQueries, 3);\r
+            this.check_promptOnUnmatchingQueries.Location = new System.Drawing.Point(87, 95);\r
+            this.check_promptOnUnmatchingQueries.Name = "check_promptOnUnmatchingQueries";\r
+            this.check_promptOnUnmatchingQueries.Size = new System.Drawing.Size(305, 17);\r
+            this.check_promptOnUnmatchingQueries.TabIndex = 63;\r
+            this.check_promptOnUnmatchingQueries.Text = "Prompt when a manual query does not match GUI settings";\r
+            this.check_promptOnUnmatchingQueries.UseVisualStyleBackColor = true;\r
+            this.check_promptOnUnmatchingQueries.CheckedChanged += new System.EventHandler(this.check_promptOnUnmatchingQueries_CheckedChanged);\r
+            // \r
+            // check_dvdnav\r
+            // \r
+            this.check_dvdnav.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_dvdnav.AutoSize = true;\r
+            this.check_dvdnav.BackColor = System.Drawing.Color.Transparent;\r
+            this.tableLayoutPanel4.SetColumnSpan(this.check_dvdnav, 4);\r
+            this.check_dvdnav.Location = new System.Drawing.Point(67, 231);\r
+            this.check_dvdnav.Name = "check_dvdnav";\r
+            this.check_dvdnav.Size = new System.Drawing.Size(250, 17);\r
+            this.check_dvdnav.TabIndex = 90;\r
+            this.check_dvdnav.Text = "Use libdvdnav (instead of libdvdread) for DVDs";\r
+            this.check_dvdnav.UseVisualStyleBackColor = false;\r
+            this.check_dvdnav.CheckedChanged += new System.EventHandler(this.check_dvdnav_CheckedChanged);\r
+            // \r
             // check_trayStatusAlerts\r
             // \r
+            this.check_trayStatusAlerts.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_trayStatusAlerts.AutoSize = true;\r
             this.check_trayStatusAlerts.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_trayStatusAlerts.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_trayStatusAlerts.Location = new System.Drawing.Point(97, 64);\r
+            this.tableLayoutPanel4.SetColumnSpan(this.check_trayStatusAlerts, 3);\r
+            this.check_trayStatusAlerts.Location = new System.Drawing.Point(87, 49);\r
             this.check_trayStatusAlerts.Name = "check_trayStatusAlerts";\r
-            this.check_trayStatusAlerts.Size = new System.Drawing.Size(352, 17);\r
+            this.check_trayStatusAlerts.Size = new System.Drawing.Size(296, 17);\r
             this.check_trayStatusAlerts.TabIndex = 93;\r
             this.check_trayStatusAlerts.Text = "Display status messages from tray icon (balloon popups)";\r
             this.ToolTip.SetToolTip(this.check_trayStatusAlerts, "Minimize the window to the system tray rather than the task bar.\r\nThe system tray" +\r
@@ -679,78 +900,41 @@ namespace Handbrake
             this.check_trayStatusAlerts.UseVisualStyleBackColor = false;\r
             this.check_trayStatusAlerts.CheckedChanged += new System.EventHandler(this.check_trayStatusAlerts_CheckedChanged);\r
             // \r
-            // check_inGuiStatus\r
-            // \r
-            this.check_inGuiStatus.AutoSize = true;\r
-            this.check_inGuiStatus.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_inGuiStatus.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_inGuiStatus.Location = new System.Drawing.Point(76, 133);\r
-            this.check_inGuiStatus.Name = "check_inGuiStatus";\r
-            this.check_inGuiStatus.Size = new System.Drawing.Size(281, 17);\r
-            this.check_inGuiStatus.TabIndex = 92;\r
-            this.check_inGuiStatus.Text = "Enable in-GUI Encode status. (Experimental)";\r
-            this.ToolTip.SetToolTip(this.check_inGuiStatus, "Displays the CLI status in the GUI windows instead of the CLI window.");\r
-            this.check_inGuiStatus.UseVisualStyleBackColor = false;\r
-            this.check_inGuiStatus.CheckedChanged += new System.EventHandler(this.check_inGuiStatus_CheckedChanged);\r
-            // \r
-            // check_disablePresetNotification\r
-            // \r
-            this.check_disablePresetNotification.AutoSize = true;\r
-            this.check_disablePresetNotification.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_disablePresetNotification.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_disablePresetNotification.Location = new System.Drawing.Point(76, 110);\r
-            this.check_disablePresetNotification.Name = "check_disablePresetNotification";\r
-            this.check_disablePresetNotification.Size = new System.Drawing.Size(261, 17);\r
-            this.check_disablePresetNotification.TabIndex = 91;\r
-            this.check_disablePresetNotification.Text = "Disable Built-in preset update notification";\r
-            this.ToolTip.SetToolTip(this.check_disablePresetNotification, "Disables the notification you recieve when presets are updated when a new version" +\r
-                    " of HandBrake is installed.");\r
-            this.check_disablePresetNotification.UseVisualStyleBackColor = false;\r
-            this.check_disablePresetNotification.CheckedChanged += new System.EventHandler(this.check_disablePresetNotification_CheckedChanged);\r
-            // \r
-            // check_dvdnav\r
-            // \r
-            this.check_dvdnav.AutoSize = true;\r
-            this.check_dvdnav.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_dvdnav.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_dvdnav.Location = new System.Drawing.Point(76, 212);\r
-            this.check_dvdnav.Name = "check_dvdnav";\r
-            this.check_dvdnav.Size = new System.Drawing.Size(297, 17);\r
-            this.check_dvdnav.TabIndex = 90;\r
-            this.check_dvdnav.Text = "Use Libdvdnav (instead of libdvdread) for dvd\'s";\r
-            this.check_dvdnav.UseVisualStyleBackColor = false;\r
-            this.check_dvdnav.CheckedChanged += new System.EventHandler(this.check_dvdnav_CheckedChanged);\r
-            // \r
             // label32\r
             // \r
+            this.label32.Anchor = System.Windows.Forms.AnchorStyles.Right;\r
             this.label32.AutoSize = true;\r
-            this.label32.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label32.Location = new System.Drawing.Point(34, 213);\r
+            this.label32.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label32.Location = new System.Drawing.Point(8, 233);\r
             this.label32.Name = "label32";\r
-            this.label32.Size = new System.Drawing.Size(36, 13);\r
+            this.label32.Size = new System.Drawing.Size(33, 13);\r
             this.label32.TabIndex = 89;\r
-            this.label32.Text = "Dvd:";\r
+            this.label32.Text = "DVD:";\r
             // \r
-            // label30\r
+            // label6\r
             // \r
-            this.label30.AutoSize = true;\r
-            this.label30.Location = new System.Drawing.Point(73, 170);\r
-            this.label30.Name = "label30";\r
-            this.label30.Size = new System.Drawing.Size(230, 13);\r
-            this.label30.TabIndex = 87;\r
-            this.label30.Text = "Constant Quality fractional granularity:\r\n";\r
+            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
+            this.label6.AutoSize = true;\r
+            this.label6.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label6.Location = new System.Drawing.Point(10, 5);\r
+            this.label6.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0);\r
+            this.label6.Name = "label6";\r
+            this.tableLayoutPanel4.SetRowSpan(this.label6, 2);\r
+            this.label6.Size = new System.Drawing.Size(31, 13);\r
+            this.label6.TabIndex = 71;\r
+            this.label6.Text = "GUI:";\r
             // \r
             // drop_x264step\r
             // \r
+            this.tableLayoutPanel4.SetColumnSpan(this.drop_x264step, 2);\r
             this.drop_x264step.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
-            this.drop_x264step.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.drop_x264step.FormattingEnabled = true;\r
             this.drop_x264step.Items.AddRange(new object[] {\r
             "1.0",\r
             "0.50",\r
             "0.25",\r
             "0.20"});\r
-            this.drop_x264step.Location = new System.Drawing.Point(323, 167);\r
+            this.drop_x264step.Location = new System.Drawing.Point(266, 184);\r
             this.drop_x264step.Name = "drop_x264step";\r
             this.drop_x264step.Size = new System.Drawing.Size(85, 21);\r
             this.drop_x264step.TabIndex = 86;\r
@@ -758,85 +942,123 @@ namespace Handbrake
                     "n Automatic.");\r
             this.drop_x264step.SelectedIndexChanged += new System.EventHandler(this.x264step_SelectedIndexChanged);\r
             // \r
+            // label30\r
+            // \r
+            this.label30.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.label30.AutoSize = true;\r
+            this.tableLayoutPanel4.SetColumnSpan(this.label30, 2);\r
+            this.label30.Location = new System.Drawing.Point(67, 188);\r
+            this.label30.Name = "label30";\r
+            this.label30.Size = new System.Drawing.Size(193, 13);\r
+            this.label30.TabIndex = 87;\r
+            this.label30.Text = "Constant quality fractional granularity:\r\n";\r
+            // \r
+            // btn_drive_detect\r
+            // \r
+            this.btn_drive_detect.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.btn_drive_detect.AutoSize = true;\r
+            this.tableLayoutPanel4.SetColumnSpan(this.btn_drive_detect, 4);\r
+            this.btn_drive_detect.Location = new System.Drawing.Point(67, 3);\r
+            this.btn_drive_detect.Name = "btn_drive_detect";\r
+            this.btn_drive_detect.Size = new System.Drawing.Size(326, 17);\r
+            this.btn_drive_detect.TabIndex = 72;\r
+            this.btn_drive_detect.Text = "Enable DVD drive detection in \"Source\" button dropdown menu";\r
+            this.ToolTip.SetToolTip(this.btn_drive_detect, "Enables the Source button\'s ability to detect DVD\'s.\r\nIf this option is enabled, " +\r
+                    "DVD\'s will be listed in the source menu.");\r
+            this.btn_drive_detect.UseVisualStyleBackColor = true;\r
+            this.btn_drive_detect.CheckedChanged += new System.EventHandler(this.btn_drive_detect_CheckedChanged);\r
+            // \r
+            // check_mainMinimize\r
+            // \r
+            this.check_mainMinimize.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_mainMinimize.AutoSize = true;\r
+            this.check_mainMinimize.BackColor = System.Drawing.Color.Transparent;\r
+            this.tableLayoutPanel4.SetColumnSpan(this.check_mainMinimize, 4);\r
+            this.check_mainMinimize.Location = new System.Drawing.Point(67, 26);\r
+            this.check_mainMinimize.Name = "check_mainMinimize";\r
+            this.check_mainMinimize.Size = new System.Drawing.Size(138, 17);\r
+            this.check_mainMinimize.TabIndex = 82;\r
+            this.check_mainMinimize.Text = "Minimize to system tray";\r
+            this.ToolTip.SetToolTip(this.check_mainMinimize, "Minimize the window to the system tray rather than the task bar.\r\nThe system tray" +\r
+                    " icon has encode status notifications.\r\nNote: requires restart to take effect!\r\n" +\r
+                    "");\r
+            this.check_mainMinimize.UseVisualStyleBackColor = false;\r
+            this.check_mainMinimize.CheckedChanged += new System.EventHandler(this.check_mainMinimize_CheckedChanged);\r
+            // \r
             // label28\r
             // \r
+            this.label28.Anchor = System.Windows.Forms.AnchorStyles.Right;\r
             this.label28.AutoSize = true;\r
-            this.label28.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label28.Location = new System.Drawing.Point(27, 170);\r
+            this.label28.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label28.Location = new System.Drawing.Point(3, 188);\r
             this.label28.Name = "label28";\r
-            this.label28.Size = new System.Drawing.Size(43, 13);\r
+            this.label28.Size = new System.Drawing.Size(38, 13);\r
             this.label28.TabIndex = 85;\r
             this.label28.Text = "x264:";\r
             // \r
             // check_queryEditorTab\r
             // \r
+            this.check_queryEditorTab.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.check_queryEditorTab.AutoSize = true;\r
             this.check_queryEditorTab.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_queryEditorTab.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_queryEditorTab.Location = new System.Drawing.Point(76, 87);\r
+            this.tableLayoutPanel4.SetColumnSpan(this.check_queryEditorTab, 4);\r
+            this.check_queryEditorTab.Location = new System.Drawing.Point(67, 72);\r
             this.check_queryEditorTab.Name = "check_queryEditorTab";\r
-            this.check_queryEditorTab.Size = new System.Drawing.Size(175, 17);\r
+            this.check_queryEditorTab.Size = new System.Drawing.Size(149, 17);\r
             this.check_queryEditorTab.TabIndex = 84;\r
-            this.check_queryEditorTab.Text = "Enable \"Query Editor\" Tab";\r
+            this.check_queryEditorTab.Text = "Enable \"Query Editor\" tab";\r
             this.ToolTip.SetToolTip(this.check_queryEditorTab, "Enables the Query Editor tab on the main window. Requires program restart to take" +\r
                     " effect.");\r
             this.check_queryEditorTab.UseVisualStyleBackColor = false;\r
             this.check_queryEditorTab.CheckedChanged += new System.EventHandler(this.check_queryEditorTab_CheckedChanged);\r
             // \r
-            // check_mainMinimize\r
-            // \r
-            this.check_mainMinimize.AutoSize = true;\r
-            this.check_mainMinimize.BackColor = System.Drawing.Color.Transparent;\r
-            this.check_mainMinimize.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.check_mainMinimize.Location = new System.Drawing.Point(76, 41);\r
-            this.check_mainMinimize.Name = "check_mainMinimize";\r
-            this.check_mainMinimize.Size = new System.Drawing.Size(286, 17);\r
-            this.check_mainMinimize.TabIndex = 82;\r
-            this.check_mainMinimize.Text = "Minimize to System Tray rather than task bar";\r
-            this.ToolTip.SetToolTip(this.check_mainMinimize, "Minimize the window to the system tray rather than the task bar.\r\nThe system tray" +\r
-                    " icon has encode status notifications.\r\nNote: requires restart to take effect!\r\n" +\r
-                    "");\r
-            this.check_mainMinimize.UseVisualStyleBackColor = false;\r
-            this.check_mainMinimize.CheckedChanged += new System.EventHandler(this.check_mainMinimize_CheckedChanged);\r
-            // \r
-            // btn_drive_detect\r
+            // check_disablePresetNotification\r
             // \r
-            this.btn_drive_detect.AutoSize = true;\r
-            this.btn_drive_detect.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.btn_drive_detect.Location = new System.Drawing.Point(76, 18);\r
-            this.btn_drive_detect.Name = "btn_drive_detect";\r
-            this.btn_drive_detect.Size = new System.Drawing.Size(383, 17);\r
-            this.btn_drive_detect.TabIndex = 72;\r
-            this.btn_drive_detect.Text = "Enable Drive Detection in the \"Source\" button dropdown menu";\r
-            this.ToolTip.SetToolTip(this.btn_drive_detect, "Enables the Source button\'s ability to detect DVD\'s.\r\nIf this option is enabled, " +\r
-                    "DVD\'s will be listed in the source menu.");\r
-            this.btn_drive_detect.UseVisualStyleBackColor = true;\r
-            this.btn_drive_detect.CheckedChanged += new System.EventHandler(this.btn_drive_detect_CheckedChanged);\r
+            this.check_disablePresetNotification.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_disablePresetNotification.AutoSize = true;\r
+            this.check_disablePresetNotification.BackColor = System.Drawing.Color.Transparent;\r
+            this.tableLayoutPanel4.SetColumnSpan(this.check_disablePresetNotification, 4);\r
+            this.check_disablePresetNotification.Location = new System.Drawing.Point(67, 118);\r
+            this.check_disablePresetNotification.Name = "check_disablePresetNotification";\r
+            this.check_disablePresetNotification.Size = new System.Drawing.Size(222, 17);\r
+            this.check_disablePresetNotification.TabIndex = 91;\r
+            this.check_disablePresetNotification.Text = "Disable built-in preset update notification";\r
+            this.ToolTip.SetToolTip(this.check_disablePresetNotification, "Disables the notification you recieve when presets are updated when a new version" +\r
+                    " of HandBrake is installed.");\r
+            this.check_disablePresetNotification.UseVisualStyleBackColor = false;\r
+            this.check_disablePresetNotification.CheckedChanged += new System.EventHandler(this.check_disablePresetNotification_CheckedChanged);\r
             // \r
-            // label6\r
+            // check_inGuiStatus\r
             // \r
-            this.label6.AutoSize = true;\r
-            this.label6.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label6.Location = new System.Drawing.Point(35, 19);\r
-            this.label6.Name = "label6";\r
-            this.label6.Size = new System.Drawing.Size(35, 13);\r
-            this.label6.TabIndex = 71;\r
-            this.label6.Text = "GUI:";\r
+            this.check_inGuiStatus.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+            this.check_inGuiStatus.AutoSize = true;\r
+            this.check_inGuiStatus.BackColor = System.Drawing.Color.Transparent;\r
+            this.tableLayoutPanel4.SetColumnSpan(this.check_inGuiStatus, 4);\r
+            this.check_inGuiStatus.Location = new System.Drawing.Point(67, 141);\r
+            this.check_inGuiStatus.Name = "check_inGuiStatus";\r
+            this.check_inGuiStatus.Size = new System.Drawing.Size(235, 17);\r
+            this.check_inGuiStatus.TabIndex = 92;\r
+            this.check_inGuiStatus.Text = "Enable in-GUI encode status (experimental)";\r
+            this.ToolTip.SetToolTip(this.check_inGuiStatus, "Displays the CLI status in the GUI windows instead of the CLI window.");\r
+            this.check_inGuiStatus.UseVisualStyleBackColor = false;\r
+            this.check_inGuiStatus.CheckedChanged += new System.EventHandler(this.check_inGuiStatus_CheckedChanged);\r
             // \r
             // label8\r
             // \r
+            this.label8.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
             this.label8.AutoSize = true;\r
-            this.label8.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label8.Location = new System.Drawing.Point(50, 24);\r
+            this.label8.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label8.Location = new System.Drawing.Point(41, 11);\r
             this.label8.Name = "label8";\r
-            this.label8.Size = new System.Drawing.Size(131, 13);\r
+            this.label8.Size = new System.Drawing.Size(115, 13);\r
             this.label8.TabIndex = 61;\r
             this.label8.Text = "HandBrake Options";\r
             // \r
             // pictureBox2\r
             // \r
             this.pictureBox2.Image = global::Handbrake.Properties.Resources.General_Preferences;\r
-            this.pictureBox2.Location = new System.Drawing.Point(12, 12);\r
+            this.pictureBox2.Location = new System.Drawing.Point(3, 0);\r
+            this.pictureBox2.Margin = new System.Windows.Forms.Padding(3, 0, 3, 3);\r
             this.pictureBox2.Name = "pictureBox2";\r
             this.pictureBox2.Size = new System.Drawing.Size(32, 32);\r
             this.pictureBox2.TabIndex = 60;\r
@@ -1178,48 +1400,66 @@ namespace Handbrake
             this.openFile_vlc.DefaultExt = "exe";\r
             this.openFile_vlc.Filter = "exe|*.exe";\r
             // \r
-            // drop_updateCheckDays\r
-            // \r
-            this.drop_updateCheckDays.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
-            this.drop_updateCheckDays.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.drop_updateCheckDays.FormattingEnabled = true;\r
-            this.drop_updateCheckDays.Items.AddRange(new object[] {\r
-            "Daily",\r
-            "Weekly",\r
-            "Monthly"});\r
-            this.drop_updateCheckDays.Location = new System.Drawing.Point(134, 40);\r
-            this.drop_updateCheckDays.Name = "drop_updateCheckDays";\r
-            this.drop_updateCheckDays.Size = new System.Drawing.Size(85, 21);\r
-            this.drop_updateCheckDays.TabIndex = 97;\r
-            this.ToolTip.SetToolTip(this.drop_updateCheckDays, "The number of processor\'s / processor cores. Unless your having problems, leave o" +\r
-                    "n Automatic.");\r
-            this.drop_updateCheckDays.SelectedIndexChanged += new System.EventHandler(this.drop_updateCheckDays_SelectedIndexChanged);\r
+            // tableLayoutPanel5\r
+            // \r
+            this.tableLayoutPanel5.AutoSize = true;\r
+            this.tableLayoutPanel5.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.tableLayoutPanel5.ColumnCount = 2;\r
+            this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel5.Controls.Add(this.pictureBox2, 0, 0);\r
+            this.tableLayoutPanel5.Controls.Add(this.btn_close, 1, 2);\r
+            this.tableLayoutPanel5.Controls.Add(this.label8, 1, 0);\r
+            this.tableLayoutPanel5.Controls.Add(this.tab_options, 0, 1);\r
+            this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tableLayoutPanel5.Location = new System.Drawing.Point(12, 12);\r
+            this.tableLayoutPanel5.Name = "tableLayoutPanel5";\r
+            this.tableLayoutPanel5.RowCount = 3;\r
+            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel5.Size = new System.Drawing.Size(594, 405);\r
+            this.tableLayoutPanel5.TabIndex = 62;\r
             // \r
             // frmOptions\r
             // \r
-            this.ClientSize = new System.Drawing.Size(521, 418);\r
-            this.Controls.Add(this.label8);\r
-            this.Controls.Add(this.pictureBox2);\r
-            this.Controls.Add(this.tab_options);\r
-            this.Controls.Add(this.btn_close);\r
-            this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);\r
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;\r
+            this.AutoSize = true;\r
+            this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+            this.ClientSize = new System.Drawing.Size(618, 429);\r
+            this.Controls.Add(this.tableLayoutPanel5);\r
+            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;\r
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
             this.MaximizeBox = false;\r
             this.MinimizeBox = false;\r
             this.Name = "frmOptions";\r
+            this.Padding = new System.Windows.Forms.Padding(12);\r
+            this.ShowIcon = false;\r
+            this.ShowInTaskbar = false;\r
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
-            this.Text = "Options";\r
+            this.Text = "HandBrake Options";\r
             this.tab_options.ResumeLayout(false);\r
             this.tab_general.ResumeLayout(false);\r
             this.tab_general.PerformLayout();\r
+            this.tableLayoutPanel1.ResumeLayout(false);\r
+            this.tableLayoutPanel1.PerformLayout();\r
             this.tab_picture.ResumeLayout(false);\r
             this.tab_picture.PerformLayout();\r
+            this.tableLayoutPanel2.ResumeLayout(false);\r
+            this.tableLayoutPanel2.PerformLayout();\r
             this.tab_cli.ResumeLayout(false);\r
             this.tab_cli.PerformLayout();\r
+            this.tableLayoutPanel3.ResumeLayout(false);\r
+            this.tableLayoutPanel3.PerformLayout();\r
             this.tab_advanced.ResumeLayout(false);\r
             this.tab_advanced.PerformLayout();\r
+            this.tableLayoutPanel4.ResumeLayout(false);\r
+            this.tableLayoutPanel4.PerformLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();\r
+            this.tableLayoutPanel5.ResumeLayout(false);\r
+            this.tableLayoutPanel5.PerformLayout();\r
             this.ResumeLayout(false);\r
             this.PerformLayout();\r
 \r
@@ -1236,10 +1476,8 @@ namespace Handbrake
         private System.Windows.Forms.PictureBox pictureBox2;\r
         private System.Windows.Forms.TabPage tab_general;\r
         private System.Windows.Forms.FolderBrowserDialog pathFinder;\r
-        internal System.Windows.Forms.ComboBox drp_Priority;\r
         internal System.Windows.Forms.Label Label11;\r
         internal System.Windows.Forms.Label Label4;\r
-        internal System.Windows.Forms.ComboBox drp_processors;\r
         internal System.Windows.Forms.CheckBox check_tooltip;\r
         internal System.Windows.Forms.CheckBox check_updateCheck;\r
         internal System.Windows.Forms.CheckBox check_userDefaultSettings;\r
@@ -1313,5 +1551,13 @@ namespace Handbrake
         private System.Windows.Forms.Button btn_clearLogs;\r
         internal System.Windows.Forms.CheckBox check_m4v;\r
         internal System.Windows.Forms.ComboBox drop_updateCheckDays;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;\r
+        internal System.Windows.Forms.ComboBox drp_processors;\r
+        internal System.Windows.Forms.ComboBox drp_Priority;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5;\r
+        private System.Windows.Forms.CheckBox check_promptOnUnmatchingQueries;\r
     }\r
 }
\ No newline at end of file
index 606d9d7..174b860 100644 (file)
@@ -112,6 +112,9 @@ namespace Handbrake
             if (Properties.Settings.Default.QueryEditorTab)\r
                 check_queryEditorTab.CheckState = CheckState.Checked;\r
 \r
+            // Prompt on inconsistant queries\r
+            check_promptOnUnmatchingQueries.Checked = Properties.Settings.Default.PromptOnUnmatchingQueries;\r
+\r
             // Preset update notification\r
             if (Properties.Settings.Default.presetNotification)\r
                 check_disablePresetNotification.CheckState = CheckState.Checked;\r
@@ -284,6 +287,7 @@ namespace Handbrake
         private void check_mainMinimize_CheckedChanged(object sender, EventArgs e)\r
         {\r
             Properties.Settings.Default.MainWindowMinimize = check_mainMinimize.Checked;\r
+            check_trayStatusAlerts.Enabled = check_mainMinimize.Checked;\r
         }\r
 \r
         private void check_trayStatusAlerts_CheckedChanged(object sender, EventArgs e)\r
@@ -294,6 +298,12 @@ namespace Handbrake
         private void check_queryEditorTab_CheckedChanged(object sender, EventArgs e)\r
         {\r
             Properties.Settings.Default.QueryEditorTab = check_queryEditorTab.Checked;\r
+            check_promptOnUnmatchingQueries.Enabled = check_queryEditorTab.Checked;\r
+        }\r
+\r
+        private void check_promptOnUnmatchingQueries_CheckedChanged(object sender, EventArgs e)\r
+        {\r
+            Properties.Settings.Default.PromptOnUnmatchingQueries = check_promptOnUnmatchingQueries.Checked;\r
         }\r
 \r
         private void check_disablePresetNotification_CheckedChanged(object sender, EventArgs e)\r
@@ -352,8 +362,5 @@ namespace Handbrake
             Properties.Settings.Default.Save(); // Small hack for Vista. Seems to work fine on XP without this\r
             this.Close();\r
         }\r
-\r
-        \r
-\r
     }\r
 }
\ No newline at end of file
index bd3f720..cbbf5e5 100644 (file)
@@ -68,7 +68,7 @@
             // \r
             this.lbl_preview.BackColor = System.Drawing.Color.Transparent;\r
             this.lbl_preview.Name = "lbl_preview";\r
-            this.lbl_preview.Size = new System.Drawing.Size(89, 22);\r
+            this.lbl_preview.Size = new System.Drawing.Size(91, 22);\r
             this.lbl_preview.Text = "Start at Preview:";\r
             // \r
             // cb_preview\r
@@ -95,7 +95,7 @@
             // \r
             this.toolStripLabel2.BackColor = System.Drawing.Color.Transparent;\r
             this.toolStripLabel2.Name = "toolStripLabel2";\r
-            this.toolStripLabel2.Size = new System.Drawing.Size(98, 22);\r
+            this.toolStripLabel2.Size = new System.Drawing.Size(107, 22);\r
             this.toolStripLabel2.Text = "Duration (seconds)";\r
             // \r
             // cb_duration\r
             this.btn_playQT.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_playQT.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_playQT.Name = "btn_playQT";\r
-            this.btn_playQT.Size = new System.Drawing.Size(89, 22);\r
+            this.btn_playQT.Size = new System.Drawing.Size(96, 22);\r
             this.btn_playQT.Text = "Play with QT";\r
             this.btn_playQT.Click += new System.EventHandler(this.btn_playQT_Click);\r
             // \r
             this.btn_playVLC.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_playVLC.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_playVLC.Name = "btn_playVLC";\r
-            this.btn_playVLC.Size = new System.Drawing.Size(93, 22);\r
+            this.btn_playVLC.Size = new System.Drawing.Size(101, 22);\r
             this.btn_playVLC.Text = "Play with VLC";\r
             this.btn_playVLC.Click += new System.EventHandler(this.btn_playVLC_Click);\r
             // \r
             this.ClientSize = new System.Drawing.Size(772, 506);\r
             this.Controls.Add(this.panel1);\r
             this.Controls.Add(this.toolBar);\r
+            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
             this.Name = "frmPreview";\r
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;\r
index 98d04d0..f5b379c 100644 (file)
@@ -79,23 +79,27 @@ namespace Handbrake
             this.panel3 = new System.Windows.Forms.Panel();\r
             this.panel2 = new System.Windows.Forms.Panel();\r
             this.panel1 = new System.Windows.Forms.Panel();\r
+            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
             this.toolStrip1.SuspendLayout();\r
             this.mnu_queue.SuspendLayout();\r
             this.statusStrip1.SuspendLayout();\r
             this.splitContainer1.Panel1.SuspendLayout();\r
             this.splitContainer1.Panel2.SuspendLayout();\r
             this.splitContainer1.SuspendLayout();\r
+            this.tableLayoutPanel1.SuspendLayout();\r
             this.SuspendLayout();\r
             // \r
             // btn_down\r
             // \r
+            this.btn_down.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));\r
             this.btn_down.BackColor = System.Drawing.SystemColors.ControlLight;\r
             this.btn_down.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
             this.btn_down.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_down.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_down.Location = new System.Drawing.Point(607, 66);\r
+            this.btn_down.Location = new System.Drawing.Point(625, 52);\r
             this.btn_down.Name = "btn_down";\r
-            this.btn_down.Size = new System.Drawing.Size(75, 22);\r
+            this.tableLayoutPanel1.SetRowSpan(this.btn_down, 2);\r
+            this.btn_down.Size = new System.Drawing.Size(64, 22);\r
             this.btn_down.TabIndex = 33;\r
             this.btn_down.TabStop = false;\r
             this.btn_down.Text = "Down";\r
@@ -105,13 +109,15 @@ namespace Handbrake
             // \r
             // btn_up\r
             // \r
+            this.btn_up.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));\r
             this.btn_up.BackColor = System.Drawing.SystemColors.ControlLight;\r
             this.btn_up.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
             this.btn_up.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_up.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_up.Location = new System.Drawing.Point(537, 66);\r
+            this.btn_up.Location = new System.Drawing.Point(564, 52);\r
             this.btn_up.Name = "btn_up";\r
-            this.btn_up.Size = new System.Drawing.Size(64, 22);\r
+            this.tableLayoutPanel1.SetRowSpan(this.btn_up, 2);\r
+            this.btn_up.Size = new System.Drawing.Size(55, 22);\r
             this.btn_up.TabIndex = 32;\r
             this.btn_up.TabStop = false;\r
             this.btn_up.Text = "Up";\r
@@ -121,13 +127,15 @@ namespace Handbrake
             // \r
             // btn_delete\r
             // \r
+            this.btn_delete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));\r
             this.btn_delete.BackColor = System.Drawing.SystemColors.ControlLight;\r
             this.btn_delete.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
             this.btn_delete.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.btn_delete.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
-            this.btn_delete.Location = new System.Drawing.Point(689, 66);\r
+            this.btn_delete.Location = new System.Drawing.Point(695, 52);\r
             this.btn_delete.Name = "btn_delete";\r
-            this.btn_delete.Size = new System.Drawing.Size(75, 22);\r
+            this.tableLayoutPanel1.SetRowSpan(this.btn_delete, 2);\r
+            this.btn_delete.Size = new System.Drawing.Size(64, 22);\r
             this.btn_delete.TabIndex = 31;\r
             this.btn_delete.TabStop = false;\r
             this.btn_delete.Text = "Delete";\r
@@ -139,8 +147,9 @@ namespace Handbrake
             // \r
             this.label4.AutoSize = true;\r
             this.label4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label4.Location = new System.Drawing.Point(225, 57);\r
+            this.label4.Location = new System.Drawing.Point(125, 49);\r
             this.label4.Name = "label4";\r
+            this.tableLayoutPanel1.SetRowSpan(this.label4, 2);\r
             this.label4.Size = new System.Drawing.Size(48, 26);\r
             this.label4.TabIndex = 70;\r
             this.label4.Text = "Video:\r\nAudio:";\r
@@ -148,9 +157,9 @@ namespace Handbrake
             // lbl_chapt\r
             // \r
             this.lbl_chapt.AutoSize = true;\r
-            this.lbl_chapt.Location = new System.Drawing.Point(158, 69);\r
+            this.lbl_chapt.Location = new System.Drawing.Point(108, 62);\r
             this.lbl_chapt.Name = "lbl_chapt";\r
-            this.lbl_chapt.Size = new System.Drawing.Size(12, 13);\r
+            this.lbl_chapt.Size = new System.Drawing.Size(11, 13);\r
             this.lbl_chapt.TabIndex = 69;\r
             this.lbl_chapt.Text = "-";\r
             // \r
@@ -158,36 +167,36 @@ namespace Handbrake
             // \r
             this.lbl_title.AccessibleRole = System.Windows.Forms.AccessibleRole.None;\r
             this.lbl_title.AutoSize = true;\r
-            this.lbl_title.Location = new System.Drawing.Point(158, 56);\r
+            this.lbl_title.Location = new System.Drawing.Point(108, 49);\r
             this.lbl_title.Name = "lbl_title";\r
-            this.lbl_title.Size = new System.Drawing.Size(12, 13);\r
+            this.lbl_title.Size = new System.Drawing.Size(11, 13);\r
             this.lbl_title.TabIndex = 68;\r
             this.lbl_title.Text = "-";\r
             // \r
             // lbl_aEnc\r
             // \r
             this.lbl_aEnc.AutoSize = true;\r
-            this.lbl_aEnc.Location = new System.Drawing.Point(286, 70);\r
+            this.lbl_aEnc.Location = new System.Drawing.Point(179, 62);\r
             this.lbl_aEnc.Name = "lbl_aEnc";\r
-            this.lbl_aEnc.Size = new System.Drawing.Size(12, 13);\r
+            this.lbl_aEnc.Size = new System.Drawing.Size(11, 13);\r
             this.lbl_aEnc.TabIndex = 67;\r
             this.lbl_aEnc.Text = "-";\r
             // \r
             // lbl_vEnc\r
             // \r
             this.lbl_vEnc.AutoSize = true;\r
-            this.lbl_vEnc.Location = new System.Drawing.Point(286, 57);\r
+            this.lbl_vEnc.Location = new System.Drawing.Point(179, 49);\r
             this.lbl_vEnc.Name = "lbl_vEnc";\r
-            this.lbl_vEnc.Size = new System.Drawing.Size(12, 13);\r
+            this.lbl_vEnc.Size = new System.Drawing.Size(11, 13);\r
             this.lbl_vEnc.TabIndex = 66;\r
             this.lbl_vEnc.Text = "-";\r
             // \r
             // lbl_dest\r
             // \r
             this.lbl_dest.AutoSize = true;\r
-            this.lbl_dest.Location = new System.Drawing.Point(158, 44);\r
+            this.lbl_dest.Location = new System.Drawing.Point(108, 36);\r
             this.lbl_dest.Name = "lbl_dest";\r
-            this.lbl_dest.Size = new System.Drawing.Size(12, 13);\r
+            this.lbl_dest.Size = new System.Drawing.Size(11, 13);\r
             this.lbl_dest.TabIndex = 65;\r
             this.lbl_dest.Text = "-";\r
             this.lbl_dest.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;\r
@@ -195,9 +204,9 @@ namespace Handbrake
             // lbl_source\r
             // \r
             this.lbl_source.AutoSize = true;\r
-            this.lbl_source.Location = new System.Drawing.Point(158, 31);\r
+            this.lbl_source.Location = new System.Drawing.Point(108, 23);\r
             this.lbl_source.Name = "lbl_source";\r
-            this.lbl_source.Size = new System.Drawing.Size(12, 13);\r
+            this.lbl_source.Size = new System.Drawing.Size(11, 13);\r
             this.lbl_source.TabIndex = 64;\r
             this.lbl_source.Text = "-";\r
             // \r
@@ -205,8 +214,9 @@ namespace Handbrake
             // \r
             this.label1.AutoSize = true;\r
             this.label1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label1.Location = new System.Drawing.Point(12, 31);\r
+            this.label1.Location = new System.Drawing.Point(3, 23);\r
             this.label1.Name = "label1";\r
+            this.tableLayoutPanel1.SetRowSpan(this.label1, 4);\r
             this.label1.Size = new System.Drawing.Size(99, 52);\r
             this.label1.TabIndex = 63;\r
             this.label1.Text = "Source:\r\nDestination:\r\nDVD Title:\r\nDVD Chapters:";\r
@@ -215,7 +225,7 @@ namespace Handbrake
             // \r
             this.label3.AutoSize = true;\r
             this.label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label3.Location = new System.Drawing.Point(12, 9);\r
+            this.label3.Location = new System.Drawing.Point(3, 0);\r
             this.label3.Name = "label3";\r
             this.label3.Size = new System.Drawing.Size(82, 13);\r
             this.label3.TabIndex = 62;\r
@@ -232,7 +242,7 @@ namespace Handbrake
             this.toolStrip1.Location = new System.Drawing.Point(0, 0);\r
             this.toolStrip1.Name = "toolStrip1";\r
             this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;\r
-            this.toolStrip1.Size = new System.Drawing.Size(779, 39);\r
+            this.toolStrip1.Size = new System.Drawing.Size(787, 39);\r
             this.toolStrip1.TabIndex = 71;\r
             this.toolStrip1.Text = "toolStrip1";\r
             // \r
@@ -242,7 +252,7 @@ namespace Handbrake
             this.btn_encode.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.btn_encode.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_encode.Name = "btn_encode";\r
-            this.btn_encode.Size = new System.Drawing.Size(78, 36);\r
+            this.btn_encode.Size = new System.Drawing.Size(82, 36);\r
             this.btn_encode.Text = "Encode";\r
             this.btn_encode.Click += new System.EventHandler(this.btn_encode_Click);\r
             // \r
@@ -253,7 +263,7 @@ namespace Handbrake
             this.btn_pause.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.btn_pause.Name = "btn_pause";\r
             this.btn_pause.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never;\r
-            this.btn_pause.Size = new System.Drawing.Size(72, 36);\r
+            this.btn_pause.Size = new System.Drawing.Size(74, 36);\r
             this.btn_pause.Text = "Pause";\r
             this.btn_pause.Visible = false;\r
             this.btn_pause.Click += new System.EventHandler(this.btn_pause_Click);\r
@@ -275,14 +285,14 @@ namespace Handbrake
             this.drop_button_queue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
             this.drop_button_queue.ImageTransparentColor = System.Drawing.Color.Magenta;\r
             this.drop_button_queue.Name = "drop_button_queue";\r
-            this.drop_button_queue.Size = new System.Drawing.Size(84, 36);\r
+            this.drop_button_queue.Size = new System.Drawing.Size(87, 36);\r
             this.drop_button_queue.Text = "Queue";\r
             // \r
             // mnu_batch\r
             // \r
             this.mnu_batch.Image = global::Handbrake.Properties.Resources.Output_Small;\r
             this.mnu_batch.Name = "mnu_batch";\r
-            this.mnu_batch.Size = new System.Drawing.Size(190, 22);\r
+            this.mnu_batch.Size = new System.Drawing.Size(187, 22);\r
             this.mnu_batch.Text = "Generate Batch Script";\r
             this.mnu_batch.Click += new System.EventHandler(this.mnu_batch_Click);\r
             // \r
@@ -290,7 +300,7 @@ namespace Handbrake
             // \r
             this.mnu_import.Image = global::Handbrake.Properties.Resources.folder;\r
             this.mnu_import.Name = "mnu_import";\r
-            this.mnu_import.Size = new System.Drawing.Size(190, 22);\r
+            this.mnu_import.Size = new System.Drawing.Size(187, 22);\r
             this.mnu_import.Text = "Import Queue";\r
             this.mnu_import.Click += new System.EventHandler(this.mnu_import_Click);\r
             // \r
@@ -298,21 +308,21 @@ namespace Handbrake
             // \r
             this.mnu_export.Image = global::Handbrake.Properties.Resources.save;\r
             this.mnu_export.Name = "mnu_export";\r
-            this.mnu_export.Size = new System.Drawing.Size(190, 22);\r
+            this.mnu_export.Size = new System.Drawing.Size(187, 22);\r
             this.mnu_export.Text = "Export Queue";\r
             this.mnu_export.Click += new System.EventHandler(this.mnu_export_Click);\r
             // \r
             // toolStripSeparator2\r
             // \r
             this.toolStripSeparator2.Name = "toolStripSeparator2";\r
-            this.toolStripSeparator2.Size = new System.Drawing.Size(187, 6);\r
+            this.toolStripSeparator2.Size = new System.Drawing.Size(184, 6);\r
             // \r
             // mnu_readd\r
             // \r
             this.mnu_readd.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;\r
             this.mnu_readd.Image = global::Handbrake.Properties.Resources.AddToQueue_small;\r
             this.mnu_readd.Name = "mnu_readd";\r
-            this.mnu_readd.Size = new System.Drawing.Size(190, 22);\r
+            this.mnu_readd.Size = new System.Drawing.Size(187, 22);\r
             this.mnu_readd.Text = "Re-Add Current Job";\r
             this.mnu_readd.Click += new System.EventHandler(this.mnu_readd_Click);\r
             // \r
@@ -335,9 +345,9 @@ namespace Handbrake
             this.list_queue.FullRowSelect = true;\r
             this.list_queue.GridLines = true;\r
             this.list_queue.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;\r
-            this.list_queue.Location = new System.Drawing.Point(15, 0);\r
+            this.list_queue.Location = new System.Drawing.Point(13, 0);\r
             this.list_queue.Name = "list_queue";\r
-            this.list_queue.Size = new System.Drawing.Size(749, 219);\r
+            this.list_queue.Size = new System.Drawing.Size(761, 219);\r
             this.list_queue.TabIndex = 72;\r
             this.list_queue.UseCompatibleStateImageBehavior = false;\r
             this.list_queue.View = System.Windows.Forms.View.Details;\r
@@ -381,31 +391,31 @@ namespace Handbrake
             this.toolStripSeparator3,\r
             this.mnu_delete});\r
             this.mnu_queue.Name = "mnu_queue";\r
-            this.mnu_queue.Size = new System.Drawing.Size(142, 76);\r
+            this.mnu_queue.Size = new System.Drawing.Size(139, 76);\r
             // \r
             // mnu_up\r
             // \r
             this.mnu_up.Name = "mnu_up";\r
-            this.mnu_up.Size = new System.Drawing.Size(141, 22);\r
+            this.mnu_up.Size = new System.Drawing.Size(138, 22);\r
             this.mnu_up.Text = "Move Up";\r
             this.mnu_up.Click += new System.EventHandler(this.mnu_up_Click);\r
             // \r
             // mnu_Down\r
             // \r
             this.mnu_Down.Name = "mnu_Down";\r
-            this.mnu_Down.Size = new System.Drawing.Size(141, 22);\r
+            this.mnu_Down.Size = new System.Drawing.Size(138, 22);\r
             this.mnu_Down.Text = "Move Down";\r
             this.mnu_Down.Click += new System.EventHandler(this.mnu_Down_Click);\r
             // \r
             // toolStripSeparator3\r
             // \r
             this.toolStripSeparator3.Name = "toolStripSeparator3";\r
-            this.toolStripSeparator3.Size = new System.Drawing.Size(138, 6);\r
+            this.toolStripSeparator3.Size = new System.Drawing.Size(135, 6);\r
             // \r
             // mnu_delete\r
             // \r
             this.mnu_delete.Name = "mnu_delete";\r
-            this.mnu_delete.Size = new System.Drawing.Size(141, 22);\r
+            this.mnu_delete.Size = new System.Drawing.Size(138, 22);\r
             this.mnu_delete.Text = "Delete";\r
             this.mnu_delete.Click += new System.EventHandler(this.mnu_delete_Click);\r
             // \r
@@ -415,7 +425,8 @@ namespace Handbrake
             this.lbl_encodesPending});\r
             this.statusStrip1.Location = new System.Drawing.Point(0, 368);\r
             this.statusStrip1.Name = "statusStrip1";\r
-            this.statusStrip1.Size = new System.Drawing.Size(779, 22);\r
+            this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 12, 0);\r
+            this.statusStrip1.Size = new System.Drawing.Size(787, 22);\r
             this.statusStrip1.TabIndex = 73;\r
             this.statusStrip1.Text = "statusStrip1";\r
             // \r
@@ -424,7 +435,7 @@ namespace Handbrake
             this.lbl_encodesPending.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;\r
             this.lbl_encodesPending.Margin = new System.Windows.Forms.Padding(0, 3, 10, 2);\r
             this.lbl_encodesPending.Name = "lbl_encodesPending";\r
-            this.lbl_encodesPending.Size = new System.Drawing.Size(105, 17);\r
+            this.lbl_encodesPending.Size = new System.Drawing.Size(115, 17);\r
             this.lbl_encodesPending.Text = "0 encode(s) pending";\r
             // \r
             // OpenFile\r
@@ -442,18 +453,7 @@ namespace Handbrake
             // \r
             // splitContainer1.Panel1\r
             // \r
-            this.splitContainer1.Panel1.Controls.Add(this.label3);\r
-            this.splitContainer1.Panel1.Controls.Add(this.label1);\r
-            this.splitContainer1.Panel1.Controls.Add(this.btn_down);\r
-            this.splitContainer1.Panel1.Controls.Add(this.lbl_title);\r
-            this.splitContainer1.Panel1.Controls.Add(this.btn_up);\r
-            this.splitContainer1.Panel1.Controls.Add(this.lbl_aEnc);\r
-            this.splitContainer1.Panel1.Controls.Add(this.lbl_source);\r
-            this.splitContainer1.Panel1.Controls.Add(this.label4);\r
-            this.splitContainer1.Panel1.Controls.Add(this.lbl_chapt);\r
-            this.splitContainer1.Panel1.Controls.Add(this.lbl_dest);\r
-            this.splitContainer1.Panel1.Controls.Add(this.lbl_vEnc);\r
-            this.splitContainer1.Panel1.Controls.Add(this.btn_delete);\r
+            this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);\r
             // \r
             // splitContainer1.Panel2\r
             // \r
@@ -461,7 +461,7 @@ namespace Handbrake
             this.splitContainer1.Panel2.Controls.Add(this.panel3);\r
             this.splitContainer1.Panel2.Controls.Add(this.panel2);\r
             this.splitContainer1.Panel2.Controls.Add(this.panel1);\r
-            this.splitContainer1.Size = new System.Drawing.Size(779, 329);\r
+            this.splitContainer1.Size = new System.Drawing.Size(787, 329);\r
             this.splitContainer1.SplitterDistance = 94;\r
             this.splitContainer1.SplitterWidth = 1;\r
             this.splitContainer1.TabIndex = 74;\r
@@ -469,17 +469,17 @@ namespace Handbrake
             // panel3\r
             // \r
             this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.panel3.Location = new System.Drawing.Point(15, 219);\r
+            this.panel3.Location = new System.Drawing.Point(13, 219);\r
             this.panel3.Name = "panel3";\r
-            this.panel3.Size = new System.Drawing.Size(749, 15);\r
+            this.panel3.Size = new System.Drawing.Size(761, 15);\r
             this.panel3.TabIndex = 77;\r
             // \r
             // panel2\r
             // \r
             this.panel2.Dock = System.Windows.Forms.DockStyle.Right;\r
-            this.panel2.Location = new System.Drawing.Point(764, 0);\r
+            this.panel2.Location = new System.Drawing.Point(774, 0);\r
             this.panel2.Name = "panel2";\r
-            this.panel2.Size = new System.Drawing.Size(15, 234);\r
+            this.panel2.Size = new System.Drawing.Size(13, 234);\r
             this.panel2.TabIndex = 76;\r
             // \r
             // panel1\r
@@ -487,20 +487,55 @@ namespace Handbrake
             this.panel1.Dock = System.Windows.Forms.DockStyle.Left;\r
             this.panel1.Location = new System.Drawing.Point(0, 0);\r
             this.panel1.Name = "panel1";\r
-            this.panel1.Size = new System.Drawing.Size(15, 234);\r
+            this.panel1.Size = new System.Drawing.Size(13, 234);\r
             this.panel1.TabIndex = 75;\r
             // \r
+            // tableLayoutPanel1\r
+            // \r
+            this.tableLayoutPanel1.AutoSize = true;\r
+            this.tableLayoutPanel1.ColumnCount = 7;\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.tableLayoutPanel1.Controls.Add(this.label1, 0, 2);\r
+            this.tableLayoutPanel1.Controls.Add(this.btn_delete, 6, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.btn_down, 5, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_aEnc, 3, 5);\r
+            this.tableLayoutPanel1.Controls.Add(this.btn_up, 4, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_source, 1, 2);\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_vEnc, 3, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.label4, 2, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_dest, 1, 3);\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_title, 1, 4);\r
+            this.tableLayoutPanel1.Controls.Add(this.lbl_chapt, 1, 5);\r
+            this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);\r
+            this.tableLayoutPanel1.Location = new System.Drawing.Point(13, 13);\r
+            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
+            this.tableLayoutPanel1.RowCount = 6;\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 10F));\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+            this.tableLayoutPanel1.Size = new System.Drawing.Size(762, 77);\r
+            this.tableLayoutPanel1.TabIndex = 71;\r
+            // \r
             // frmQueue\r
             // \r
-            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);\r
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
-            this.ClientSize = new System.Drawing.Size(779, 390);\r
+            this.ClientSize = new System.Drawing.Size(787, 390);\r
             this.Controls.Add(this.splitContainer1);\r
             this.Controls.Add(this.statusStrip1);\r
             this.Controls.Add(this.toolStrip1);\r
-            this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
-            this.MinimumSize = new System.Drawing.Size(787, 417);\r
+            this.MinimumSize = new System.Drawing.Size(677, 417);\r
             this.Name = "frmQueue";\r
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;\r
             this.Text = "Encode Queue";\r
@@ -513,6 +548,8 @@ namespace Handbrake
             this.splitContainer1.Panel1.PerformLayout();\r
             this.splitContainer1.Panel2.ResumeLayout(false);\r
             this.splitContainer1.ResumeLayout(false);\r
+            this.tableLayoutPanel1.ResumeLayout(false);\r
+            this.tableLayoutPanel1.PerformLayout();\r
             this.ResumeLayout(false);\r
             this.PerformLayout();\r
 \r
@@ -563,5 +600,6 @@ namespace Handbrake
         private System.Windows.Forms.ToolStripMenuItem mnu_Down;\r
         private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;\r
         private System.Windows.Forms.ToolStripMenuItem mnu_delete;\r
+        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
     }\r
 }\r
index c7b280e..d52545b 100644 (file)
@@ -9,22 +9,23 @@ using System.Collections.Generic;
 using System.ComponentModel;\r
 using System.Windows.Forms;\r
 using Handbrake.EncodeQueue;\r
+using System.Collections.ObjectModel;\r
 \r
 namespace Handbrake\r
 {\r
     public partial class frmQueue : Form\r
     {\r
         private delegate void UpdateHandler();\r
-        QueueHandler queue;\r
+        private QueueHandler queue;\r
 \r
         public frmQueue(QueueHandler q)\r
         {\r
             InitializeComponent();\r
 \r
             this.queue = q;\r
-            queue.OnEncodeStart += new EventHandler(queueOnEncodeStart);\r
-            queue.OnQueueFinished += new EventHandler(queueOnQueueFinished);\r
-            queue.OnPaused += new EventHandler(queueOnPaused);\r
+            queue.NewJobStarted += new EventHandler(queueOnEncodeStart);\r
+            queue.QueueCompleted += new EventHandler(queueOnQueueFinished);\r
+            queue.QueuePauseRequested += new EventHandler(queueOnPaused);\r
         }\r
         void queueOnPaused(object sender, EventArgs e)\r
         {\r
@@ -74,19 +75,19 @@ namespace Handbrake
         // Start and Stop Controls\r
         private void btn_encode_Click(object sender, EventArgs e)\r
         {\r
-            if (queue.isPaused)\r
+            if (queue.PauseRequested)\r
             {\r
                 setUIEncodeStarted();\r
                 MessageBox.Show("Encoding restarted", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);\r
             }\r
 \r
-            if (!queue.isEncodeStarted)\r
-                queue.startEncode();\r
+            if (!queue.IsEncoding)\r
+                queue.StartEncodeQueue();\r
 \r
         }\r
         private void btn_pause_Click(object sender, EventArgs e)\r
         {\r
-            queue.pauseEncodeQueue();\r
+            queue.RequestPause();\r
             setUIEncodeFinished();\r
             resetQueue();\r
             MessageBox.Show("No further items on the queue will start. The current encode process will continue until it is finished. \nClick 'Encode' when you wish to continue encoding the queue.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
@@ -141,7 +142,7 @@ namespace Handbrake
             }\r
 \r
             list_queue.Items.Clear();\r
-            List<Job> theQueue = queue.getQueue();\r
+            ReadOnlyCollection<Job> theQueue = queue.CurrentQueue;\r
             foreach (Job queue_item in theQueue)\r
             {\r
                 string q_item = queue_item.Query;\r
@@ -203,9 +204,9 @@ namespace Handbrake
                 }\r
 \r
                 // found query is a global varible\r
-                Functions.QueryParser parsed = Functions.QueryParser.Parse(queue.lastQueueItem.Query);\r
-                lbl_source.Text = queue.lastQueueItem.Source;\r
-                lbl_dest.Text = queue.lastQueueItem.Destination;\r
+                Functions.QueryParser parsed = Functions.QueryParser.Parse(queue.LastEncode.Query);\r
+                lbl_source.Text = queue.LastEncode.Source;\r
+                lbl_dest.Text = queue.LastEncode.Destination;\r
 \r
                 lbl_title.Text = parsed.DVDTitle == 0 ? "Auto" : parsed.DVDTitle.ToString();\r
 \r
@@ -254,7 +255,7 @@ namespace Handbrake
 \r
                 // Remove each selected item\r
                 foreach (int selectedIndex in selectedIndices)\r
-                    queue.remove(selectedIndex);\r
+                    queue.RemoveJob(selectedIndex);\r
 \r
                 updateUIElements();\r
 \r
@@ -308,7 +309,7 @@ namespace Handbrake
 \r
                 // Move up each selected item\r
                 foreach (int selectedIndex in selectedIndices)\r
-                    queue.moveUp(selectedIndex);\r
+                    queue.MoveUp(selectedIndex);\r
 \r
                 updateUIElements();\r
 \r
@@ -336,7 +337,7 @@ namespace Handbrake
 \r
                 // Move down each selected item\r
                 foreach (int selectedIndex in selectedIndices)\r
-                    queue.moveDown(selectedIndex);\r
+                    queue.MoveDown(selectedIndex);\r
 \r
                 updateUIElements();\r
 \r
@@ -356,7 +357,7 @@ namespace Handbrake
             SaveFile.Filter = "Batch|.bat";\r
             SaveFile.ShowDialog();\r
             if (SaveFile.FileName != String.Empty)\r
-                queue.writeBatchScript(SaveFile.FileName);\r
+                queue.WriteBatchScriptToFile(SaveFile.FileName);\r
         }\r
         private void mnu_export_Click(object sender, EventArgs e)\r
         {\r
@@ -364,21 +365,21 @@ namespace Handbrake
             SaveFile.Filter = "HandBrake Queue|*.queue";\r
             SaveFile.ShowDialog();\r
             if (SaveFile.FileName != String.Empty)\r
-                queue.updateQueueRecoveryFile(SaveFile.FileName);\r
+                queue.WriteQueueStateToFile(SaveFile.FileName);\r
         }\r
         private void mnu_import_Click(object sender, EventArgs e)\r
         {\r
             OpenFile.FileName = "";\r
             OpenFile.ShowDialog();\r
             if (OpenFile.FileName != String.Empty)\r
-                queue.recoverQueue(OpenFile.FileName);\r
+                queue.LoadQueueFromFile(OpenFile.FileName);\r
             updateUIElements();\r
         }\r
         private void mnu_readd_Click(object sender, EventArgs e)\r
         {\r
-            if (queue.lastQueueItem != null)\r
+            if (!queue.LastEncode.IsEmpty)\r
             {\r
-                queue.add(queue.lastQueueItem.Query, queue.lastQueueItem.Source, queue.lastQueueItem.Destination);\r
+                queue.AddJob(queue.LastEncode.Query, queue.LastEncode.Source, queue.LastEncode.Destination);\r
                 updateUIElements();\r
             }\r
         }\r
index f5c903a..26b5769 100644 (file)
@@ -63,20 +63,19 @@ namespace Handbrake
             // label1\r
             // \r
             this.label1.AutoSize = true;\r
-            this.label1.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label1.Location = new System.Drawing.Point(82, 12);\r
+            this.label1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label1.Location = new System.Drawing.Point(84, 12);\r
             this.label1.Name = "label1";\r
-            this.label1.Size = new System.Drawing.Size(305, 16);\r
+            this.label1.Size = new System.Drawing.Size(273, 16);\r
             this.label1.TabIndex = 25;\r
             this.label1.Text = "A New Version of Handbrake is available!";\r
             // \r
             // label6\r
             // \r
             this.label6.AutoSize = true;\r
-            this.label6.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
             this.label6.Location = new System.Drawing.Point(82, 49);\r
             this.label6.Name = "label6";\r
-            this.label6.Size = new System.Drawing.Size(208, 13);\r
+            this.label6.Size = new System.Drawing.Size(175, 13);\r
             this.label6.TabIndex = 30;\r
             this.label6.Text = "Would you like to download it now?";\r
             // \r
@@ -131,10 +130,10 @@ namespace Handbrake
             // label3\r
             // \r
             this.label3.AutoSize = true;\r
-            this.label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.label3.Location = new System.Drawing.Point(82, 84);\r
+            this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+            this.label3.Location = new System.Drawing.Point(84, 87);\r
             this.label3.Name = "label3";\r
-            this.label3.Size = new System.Drawing.Size(103, 13);\r
+            this.label3.Size = new System.Drawing.Size(90, 13);\r
             this.label3.TabIndex = 57;\r
             this.label3.Text = "Release Notes:";\r
             // \r
@@ -151,10 +150,9 @@ namespace Handbrake
             // lbl_update_text\r
             // \r
             this.lbl_update_text.AutoSize = true;\r
-            this.lbl_update_text.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
-            this.lbl_update_text.Location = new System.Drawing.Point(82, 34);\r
+            this.lbl_update_text.Location = new System.Drawing.Point(84, 36);\r
             this.lbl_update_text.Name = "lbl_update_text";\r
-            this.lbl_update_text.Size = new System.Drawing.Size(489, 13);\r
+            this.lbl_update_text.Size = new System.Drawing.Size(409, 13);\r
             this.lbl_update_text.TabIndex = 58;\r
             this.lbl_update_text.Text = "HandBrake {0.0.0} (000000000) is now available. (You have: {0.0.0} (000000000))";\r
             // \r