X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=win%2FC%23%2FfrmMain.Designer.cs;h=a5a33516bcf2b7bf30bd576196ca11b6605fc489;hb=01adcc9f552746e1c6b4503c78d4c27891d68f68;hp=6d7edb2937dbf725c093ee0addc5c3221db97791;hpb=1771126c9fe90353db5c64185e88ff808b330fa7;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs index 6d7edb29..a5a33516 100644 --- a/win/C#/frmMain.Designer.cs +++ b/win/C#/frmMain.Designer.cs @@ -1,8 +1,7 @@ /* frmMain.Designer.cs - - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ + This file is part of the HandBrake source code. + Homepage: . + It may be used under the terms of the GNU General Public License. */ using System; using System.Windows.Forms; @@ -40,34 +39,43 @@ namespace Handbrake this.components = new System.ComponentModel.Container(); System.Windows.Forms.ContextMenuStrip notifyIconMenu; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.btn_restore = new System.Windows.Forms.ToolStripMenuItem(); this.DVD_Save = new System.Windows.Forms.SaveFileDialog(); - this.File_Save = new System.Windows.Forms.SaveFileDialog(); this.ToolTip = new System.Windows.Forms.ToolTip(this.components); - this.drop_chapterFinish = new System.Windows.Forms.ComboBox(); - this.drop_chapterStart = new System.Windows.Forms.ComboBox(); - this.drp_dvdtitle = new System.Windows.Forms.ComboBox(); this.text_destination = new System.Windows.Forms.TextBox(); this.drp_videoEncoder = new System.Windows.Forms.ComboBox(); this.check_largeFile = new System.Windows.Forms.CheckBox(); this.check_turbo = new System.Windows.Forms.CheckBox(); this.drp_videoFramerate = new System.Windows.Forms.ComboBox(); this.slider_videoQuality = new System.Windows.Forms.TrackBar(); - this.text_filesize = new System.Windows.Forms.TextBox(); this.text_bitrate = new System.Windows.Forms.TextBox(); - this.btn_setDefault = new System.Windows.Forms.Button(); this.check_optimiseMP4 = new System.Windows.Forms.CheckBox(); this.check_iPodAtom = new System.Windows.Forms.CheckBox(); this.data_chpt = new System.Windows.Forms.DataGridView(); this.number = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.name = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.btn_addPreset = new System.Windows.Forms.Button(); - this.btn_removePreset = new System.Windows.Forms.Button(); + this.ChaptersMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.mnu_resetChapters = new System.Windows.Forms.ToolStripMenuItem(); + this.btn_file_source = new System.Windows.Forms.ToolStripMenuItem(); this.drop_format = new System.Windows.Forms.ComboBox(); + this.drop_chapterFinish = new System.Windows.Forms.ComboBox(); + this.drop_chapterStart = new System.Windows.Forms.ComboBox(); this.drop_angle = new System.Windows.Forms.ComboBox(); - this.lbl_duration = new System.Windows.Forms.Label(); - this.label_duration = new System.Windows.Forms.Label(); + this.drp_dvdtitle = new System.Windows.Forms.ComboBox(); + this.btn_importChapters = new System.Windows.Forms.Button(); + this.btn_export = new System.Windows.Forms.Button(); + this.drop_mode = new System.Windows.Forms.ComboBox(); + this.btn_generate_Query = new System.Windows.Forms.Button(); + this.treeView_presets = new System.Windows.Forms.TreeView(); + this.presets_menu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.pmnu_expandAll = new System.Windows.Forms.ToolStripMenuItem(); + this.pmnu_collapse = new System.Windows.Forms.ToolStripMenuItem(); + this.sep1 = new System.Windows.Forms.ToolStripSeparator(); + this.pmnu_import = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.pmnu_saveChanges = new System.Windows.Forms.ToolStripMenuItem(); + this.pmnu_delete = new System.Windows.Forms.ToolStripMenuItem(); this.DVD_Open = new System.Windows.Forms.FolderBrowserDialog(); this.File_Open = new System.Windows.Forms.OpenFileDialog(); this.ISO_Open = new System.Windows.Forms.OpenFileDialog(); @@ -80,25 +88,7 @@ namespace Handbrake this.mnu_encodeLog = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.mnu_options = new System.Windows.Forms.ToolStripMenuItem(); - this.PresetsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mnu_presetReset = new System.Windows.Forms.ToolStripMenuItem(); - this.mnu_delete_preset = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); - this.btn_new_preset = new System.Windows.Forms.ToolStripMenuItem(); - this.mnu_SelectDefault = new System.Windows.Forms.ToolStripMenuItem(); - this.HelpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.mnu_user_guide = new System.Windows.Forms.ToolStripMenuItem(); - this.mnu_handbrake_home = new System.Windows.Forms.ToolStripMenuItem(); - this.mnu_handbrake_forums = new System.Windows.Forms.ToolStripMenuItem(); - this.ToolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.mnu_UpdateCheck = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); - this.mnu_about = new System.Windows.Forms.ToolStripMenuItem(); this.frmMainMenu = new System.Windows.Forms.MenuStrip(); - this.lbl_angle = new System.Windows.Forms.Label(); - this.Label13 = new System.Windows.Forms.Label(); - this.Label9 = new System.Windows.Forms.Label(); - this.Label10 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.Label47 = new System.Windows.Forms.Label(); this.Label3 = new System.Windows.Forms.Label(); @@ -106,14 +96,15 @@ namespace Handbrake this.AudioSettings = new Handbrake.Controls.AudioPanel(); this.AudioMenuRowHeightHack = new System.Windows.Forms.ImageList(this.components); this.tab_video = new System.Windows.Forms.TabPage(); + this.lbl_rfwarn = new System.Windows.Forms.Label(); + this.checkMaximumFramerate = new System.Windows.Forms.CheckBox(); this.radio_cq = new System.Windows.Forms.RadioButton(); this.radio_avgBitrate = new System.Windows.Forms.RadioButton(); - this.radio_targetFilesize = new System.Windows.Forms.RadioButton(); this.label25 = new System.Windows.Forms.Label(); this.check_2PassEncode = new System.Windows.Forms.CheckBox(); this.Label2 = new System.Windows.Forms.Label(); - this.SliderValue = new System.Windows.Forms.Label(); - this.Label46 = new System.Windows.Forms.Label(); + this.lbl_SliderValue = new System.Windows.Forms.Label(); + this.lbl_framerate = new System.Windows.Forms.Label(); this.tab_picture = new System.Windows.Forms.TabPage(); this.PictureSettings = new Handbrake.Controls.PictureSettings(); this.Check_ChapterMarkers = new System.Windows.Forms.CheckBox(); @@ -129,25 +120,27 @@ namespace Handbrake this.tab_query = new System.Windows.Forms.TabPage(); this.btn_clear = new System.Windows.Forms.Button(); this.label34 = new System.Windows.Forms.Label(); - this.btn_generate_Query = new System.Windows.Forms.Button(); this.label33 = new System.Windows.Forms.Label(); this.rtf_query = new System.Windows.Forms.RichTextBox(); - this.btn_destBrowse = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); - this.treeView_presets = new System.Windows.Forms.TreeView(); - this.presets_menu = new System.Windows.Forms.ContextMenuStrip(this.components); - this.pmnu_expandAll = new System.Windows.Forms.ToolStripMenuItem(); - this.pmnu_collapse = new System.Windows.Forms.ToolStripMenuItem(); - this.sep1 = new System.Windows.Forms.ToolStripSeparator(); - this.pmnu_saveChanges = new System.Windows.Forms.ToolStripMenuItem(); - this.pmnu_delete = new System.Windows.Forms.ToolStripMenuItem(); + this.presetsToolStrip = new System.Windows.Forms.ToolStrip(); + this.BtnAddPreset = new System.Windows.Forms.ToolStripButton(); + this.BtnRemovePreset = new System.Windows.Forms.ToolStripButton(); + this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton(); + this.MnuSetDefaultPreset = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.MnuImportPreset = new System.Windows.Forms.ToolStripMenuItem(); + this.MnuExportPreset = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); + this.MnuResetBuiltInPresets = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.btn_source = new System.Windows.Forms.ToolStripDropDownButton(); - this.btn_file_source = new System.Windows.Forms.ToolStripMenuItem(); this.btn_dvd_source = new System.Windows.Forms.ToolStripMenuItem(); + this.btnTitleSpecific = new System.Windows.Forms.ToolStripMenuItem(); + this.FileTitleSpecificScan = new System.Windows.Forms.ToolStripMenuItem(); + this.FolderTitleSpecificScan = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.mnu_dvd_drive = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); this.btn_start = new System.Windows.Forms.ToolStripButton(); this.btn_add2Queue = new System.Windows.Forms.ToolStripButton(); @@ -155,18 +148,42 @@ namespace Handbrake this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.tb_preview = new System.Windows.Forms.ToolStripButton(); this.btn_ActivityWindow = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); + this.MnuUserGuide = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); + this.MnuCheckForUpdates = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); + this.MnuAboutHandBrake = new System.Windows.Forms.ToolStripMenuItem(); this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components); this.StatusStrip = new System.Windows.Forms.StatusStrip(); + this.ProgressBarStatus = new System.Windows.Forms.ToolStripProgressBar(); this.lbl_encode = new System.Windows.Forms.ToolStripStatusLabel(); + this.lbl_updateCheck = new System.Windows.Forms.ToolStripStatusLabel(); this.hbproc = new System.Diagnostics.Process(); - this.label1 = new System.Windows.Forms.Label(); - this.lbl_source = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.groupBox_output = new System.Windows.Forms.Label(); + this.File_Save = new System.Windows.Forms.SaveFileDialog(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.btn_destBrowse = new System.Windows.Forms.Button(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.Label10 = new System.Windows.Forms.Label(); + this.lbl_angle = new System.Windows.Forms.Label(); + this.Label13 = new System.Windows.Forms.Label(); + this.label_duration = new System.Windows.Forms.Label(); + this.lbl_duration = new System.Windows.Forms.Label(); + this.labelStaticDestination = new System.Windows.Forms.Label(); + this.labelPreset = new System.Windows.Forms.Label(); + this.labelSource = new System.Windows.Forms.Label(); + this.labelStaticSource = new System.Windows.Forms.Label(); + this.SourceLayoutPanel = new System.Windows.Forms.FlowLayoutPanel(); + this.openPreset = new System.Windows.Forms.OpenFileDialog(); + this.File_ChapterImport = new System.Windows.Forms.OpenFileDialog(); notifyIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components); notifyIconMenu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.data_chpt)).BeginInit(); + this.ChaptersMenu.SuspendLayout(); + this.presets_menu.SuspendLayout(); this.frmMainMenu.SuspendLayout(); this.tab_audio.SuspendLayout(); this.tab_video.SuspendLayout(); @@ -178,12 +195,17 @@ namespace Handbrake this.tab_advanced.SuspendLayout(); this.tab_query.SuspendLayout(); this.groupBox2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); - this.presets_menu.SuspendLayout(); + this.presetsToolStrip.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.StatusStrip.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.tableLayoutPanel3.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); + this.SourceLayoutPanel.SuspendLayout(); this.SuspendLayout(); // // notifyIconMenu @@ -192,25 +214,21 @@ namespace Handbrake this.btn_restore}); notifyIconMenu.Name = "notifyIconMenu"; notifyIconMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; - notifyIconMenu.Size = new System.Drawing.Size(124, 26); + notifyIconMenu.Size = new System.Drawing.Size(114, 26); // // btn_restore // + this.btn_restore.Image = global::Handbrake.Properties.Resources.Restore; this.btn_restore.Name = "btn_restore"; - this.btn_restore.Size = new System.Drawing.Size(123, 22); + this.btn_restore.Size = new System.Drawing.Size(113, 22); this.btn_restore.Text = "Restore"; this.btn_restore.Click += new System.EventHandler(this.btn_restore_Click); // // DVD_Save // - this.DVD_Save.Filter = "mp4|*.mp4|m4v|*.m4v|mkv|*.mkv"; + this.DVD_Save.Filter = "mp4|*.mp4;*.m4v|mkv|*.mkv"; this.DVD_Save.SupportMultiDottedExtensions = true; // - // File_Save - // - this.File_Save.DefaultExt = "hb"; - this.File_Save.Filter = "hb|*.hb"; - // // ToolTip // this.ToolTip.Active = false; @@ -218,52 +236,13 @@ namespace Handbrake this.ToolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; this.ToolTip.ToolTipTitle = "Tooltip"; // - // drop_chapterFinish - // - this.drop_chapterFinish.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.drop_chapterFinish.FormattingEnabled = true; - this.drop_chapterFinish.Location = new System.Drawing.Point(506, 96); - this.drop_chapterFinish.Name = "drop_chapterFinish"; - this.drop_chapterFinish.Size = new System.Drawing.Size(69, 21); - this.drop_chapterFinish.TabIndex = 10; - this.drop_chapterFinish.Text = "Auto"; - this.ToolTip.SetToolTip(this.drop_chapterFinish, "Select the chapter range you would like to enocde. (default: All Chapters)"); - this.drop_chapterFinish.SelectedIndexChanged += new System.EventHandler(this.drop_chapterFinish_SelectedIndexChanged); - // - // drop_chapterStart - // - this.drop_chapterStart.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.drop_chapterStart.FormattingEnabled = true; - this.drop_chapterStart.Location = new System.Drawing.Point(374, 96); - this.drop_chapterStart.Name = "drop_chapterStart"; - this.drop_chapterStart.Size = new System.Drawing.Size(69, 21); - this.drop_chapterStart.TabIndex = 9; - this.drop_chapterStart.Text = "Auto"; - this.ToolTip.SetToolTip(this.drop_chapterStart, "Select the chapter range you would like to enocde. (default: All Chapters)"); - this.drop_chapterStart.SelectedIndexChanged += new System.EventHandler(this.drop_chapterStart_SelectedIndexChanged); - // - // drp_dvdtitle - // - this.drp_dvdtitle.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.drp_dvdtitle.FormattingEnabled = true; - this.drp_dvdtitle.Items.AddRange(new object[] { - "Automatic"}); - this.drp_dvdtitle.Location = new System.Drawing.Point(78, 96); - this.drp_dvdtitle.Name = "drp_dvdtitle"; - this.drp_dvdtitle.Size = new System.Drawing.Size(119, 21); - this.drp_dvdtitle.TabIndex = 7; - this.drp_dvdtitle.Text = "Automatic"; - this.ToolTip.SetToolTip(this.drp_dvdtitle, "Select the title you wish to encode.\r\nThe longest title is selected by default af" + - "ter you have scanned a source."); - this.drp_dvdtitle.SelectedIndexChanged += new System.EventHandler(this.drp_dvdtitle_SelectedIndexChanged); - this.drp_dvdtitle.Click += new System.EventHandler(this.drp_dvdtitle_Click); - // // text_destination // - this.text_destination.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.text_destination.Location = new System.Drawing.Point(78, 153); + this.text_destination.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.text_destination.Location = new System.Drawing.Point(36, 3); this.text_destination.Name = "text_destination"; - this.text_destination.Size = new System.Drawing.Size(549, 21); + this.text_destination.Size = new System.Drawing.Size(603, 21); this.text_destination.TabIndex = 1; this.ToolTip.SetToolTip(this.text_destination, "Location where the encoded file will be saved."); this.text_destination.TextChanged += new System.EventHandler(this.text_destination_TextChanged); @@ -271,7 +250,6 @@ namespace Handbrake // drp_videoEncoder // this.drp_videoEncoder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drp_videoEncoder.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.drp_videoEncoder.FormattingEnabled = true; this.drp_videoEncoder.Items.AddRange(new object[] { "MPEG-4 (FFmpeg)", @@ -280,19 +258,19 @@ namespace Handbrake this.drp_videoEncoder.Location = new System.Drawing.Point(125, 35); this.drp_videoEncoder.Name = "drp_videoEncoder"; this.drp_videoEncoder.Size = new System.Drawing.Size(126, 21); - this.drp_videoEncoder.TabIndex = 1; + this.drp_videoEncoder.TabIndex = 6; this.ToolTip.SetToolTip(this.drp_videoEncoder, "Select a video encoder"); this.drp_videoEncoder.SelectedIndexChanged += new System.EventHandler(this.drp_videoEncoder_SelectedIndexChanged); // // check_largeFile // + this.check_largeFile.Anchor = System.Windows.Forms.AnchorStyles.Left; this.check_largeFile.AutoSize = true; this.check_largeFile.BackColor = System.Drawing.Color.Transparent; - this.check_largeFile.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_largeFile.Location = new System.Drawing.Point(196, 218); + this.check_largeFile.Location = new System.Drawing.Point(179, 5); this.check_largeFile.Name = "check_largeFile"; - this.check_largeFile.Size = new System.Drawing.Size(105, 17); - this.check_largeFile.TabIndex = 4; + this.check_largeFile.Size = new System.Drawing.Size(91, 17); + this.check_largeFile.TabIndex = 2; this.check_largeFile.Text = "Large file size"; this.ToolTip.SetToolTip(this.check_largeFile, "Caution: This option will likely break device compatibility with all but the Appl" + "eTV Take 2.\r\nChecking this box enables a 64bit mp4 file which can be over 4GB."); @@ -303,18 +281,17 @@ namespace Handbrake this.check_turbo.AutoSize = true; this.check_turbo.BackColor = System.Drawing.Color.Transparent; this.check_turbo.Enabled = false; - this.check_turbo.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_turbo.Location = new System.Drawing.Point(146, 123); + this.check_turbo.Location = new System.Drawing.Point(146, 143); this.check_turbo.Name = "check_turbo"; - this.check_turbo.Size = new System.Drawing.Size(115, 17); - this.check_turbo.TabIndex = 7; + this.check_turbo.Size = new System.Drawing.Size(99, 17); + this.check_turbo.TabIndex = 9; this.check_turbo.Text = "Turbo first Pass"; this.ToolTip.SetToolTip(this.check_turbo, "Makes the first pass of a 2 pass encode faster."); this.check_turbo.UseVisualStyleBackColor = false; // // drp_videoFramerate // - this.drp_videoFramerate.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.drp_videoFramerate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.drp_videoFramerate.FormattingEnabled = true; this.drp_videoFramerate.Items.AddRange(new object[] { "Same as source", @@ -326,71 +303,44 @@ namespace Handbrake "24", "25", "29.97"}); - this.drp_videoFramerate.Location = new System.Drawing.Point(125, 68); + this.drp_videoFramerate.Location = new System.Drawing.Point(125, 62); this.drp_videoFramerate.Name = "drp_videoFramerate"; - this.drp_videoFramerate.Size = new System.Drawing.Size(126, 21); + this.drp_videoFramerate.Size = new System.Drawing.Size(125, 21); this.drp_videoFramerate.TabIndex = 2; - this.drp_videoFramerate.Text = "Same as source"; this.ToolTip.SetToolTip(this.drp_videoFramerate, "Can be left to \"Same as source\" in most cases."); + this.drp_videoFramerate.SelectedIndexChanged += new System.EventHandler(this.drp_videoFramerate_SelectedIndexChanged); // // slider_videoQuality // + this.slider_videoQuality.BackColor = System.Drawing.SystemColors.Window; this.slider_videoQuality.Enabled = false; - this.slider_videoQuality.Location = new System.Drawing.Point(347, 120); + this.slider_videoQuality.Location = new System.Drawing.Point(376, 90); this.slider_videoQuality.Margin = new System.Windows.Forms.Padding(0); this.slider_videoQuality.Maximum = 100; this.slider_videoQuality.Name = "slider_videoQuality"; this.slider_videoQuality.Size = new System.Drawing.Size(322, 45); - this.slider_videoQuality.TabIndex = 14; + this.slider_videoQuality.TabIndex = 13; this.slider_videoQuality.TickFrequency = 17; - this.ToolTip.SetToolTip(this.slider_videoQuality, "Set the quality level of the video. Typical sane values are between 59~63%. \r\n>70" + - "% will likely result in the output file being larger than the input file."); + this.ToolTip.SetToolTip(this.slider_videoQuality, "Set the quality level of the video. "); this.slider_videoQuality.ValueChanged += new System.EventHandler(this.slider_videoQuality_Scroll); // - // text_filesize - // - this.text_filesize.Enabled = false; - this.text_filesize.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.text_filesize.Location = new System.Drawing.Point(482, 36); - this.text_filesize.Name = "text_filesize"; - this.text_filesize.Size = new System.Drawing.Size(81, 21); - this.text_filesize.TabIndex = 12; - this.ToolTip.SetToolTip(this.text_filesize, "Set the file size you wish the encoded file to be."); - // // text_bitrate // - this.text_bitrate.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.text_bitrate.Location = new System.Drawing.Point(482, 63); + this.text_bitrate.Location = new System.Drawing.Point(511, 33); this.text_bitrate.Name = "text_bitrate"; this.text_bitrate.Size = new System.Drawing.Size(81, 21); - this.text_bitrate.TabIndex = 10; + this.text_bitrate.TabIndex = 14; this.ToolTip.SetToolTip(this.text_bitrate, "Set the bitrate of the video"); // - // btn_setDefault - // - this.btn_setDefault.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btn_setDefault.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_setDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_setDefault.Location = new System.Drawing.Point(135, 8); - this.btn_setDefault.Name = "btn_setDefault"; - this.btn_setDefault.Size = new System.Drawing.Size(101, 22); - this.btn_setDefault.TabIndex = 1; - this.btn_setDefault.TabStop = false; - this.btn_setDefault.Text = "Set Default"; - this.ToolTip.SetToolTip(this.btn_setDefault, "Set current settings as program defaults.\r\nRequires option to be enabled in Tools" + - " > Options"); - this.btn_setDefault.UseVisualStyleBackColor = true; - this.btn_setDefault.Click += new System.EventHandler(this.btn_setDefault_Click); - // // check_optimiseMP4 // + this.check_optimiseMP4.Anchor = System.Windows.Forms.AnchorStyles.Left; this.check_optimiseMP4.AutoSize = true; this.check_optimiseMP4.BackColor = System.Drawing.Color.Transparent; - this.check_optimiseMP4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_optimiseMP4.Location = new System.Drawing.Point(307, 218); + this.check_optimiseMP4.Location = new System.Drawing.Point(276, 5); this.check_optimiseMP4.Name = "check_optimiseMP4"; - this.check_optimiseMP4.Size = new System.Drawing.Size(110, 17); - this.check_optimiseMP4.TabIndex = 25; + this.check_optimiseMP4.Size = new System.Drawing.Size(96, 17); + this.check_optimiseMP4.TabIndex = 3; this.check_optimiseMP4.Text = "Web optimized"; this.ToolTip.SetToolTip(this.check_optimiseMP4, "MP4 files can be optimized for progressive downloads over the Web,\r\nbut note that" + " QuickTime can only read the files as long as the file extension is .mp4\r\nCan on" + @@ -399,13 +349,13 @@ namespace Handbrake // // check_iPodAtom // + this.check_iPodAtom.Anchor = System.Windows.Forms.AnchorStyles.Left; this.check_iPodAtom.AutoSize = true; this.check_iPodAtom.BackColor = System.Drawing.Color.Transparent; - this.check_iPodAtom.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_iPodAtom.Location = new System.Drawing.Point(423, 218); + this.check_iPodAtom.Location = new System.Drawing.Point(378, 5); this.check_iPodAtom.Name = "check_iPodAtom"; - this.check_iPodAtom.Size = new System.Drawing.Size(117, 17); - this.check_iPodAtom.TabIndex = 26; + this.check_iPodAtom.Size = new System.Drawing.Size(102, 17); + this.check_iPodAtom.TabIndex = 4; this.check_iPodAtom.Text = "iPod 5G support"; this.ToolTip.SetToolTip(this.check_iPodAtom, "Support for legacy 5th Generation iPods.\r\nEncodes will not sync if this option is" + " not enabled for H.264 encodes."); @@ -416,10 +366,13 @@ namespace Handbrake this.data_chpt.AllowUserToAddRows = false; this.data_chpt.AllowUserToDeleteRows = false; this.data_chpt.AllowUserToResizeRows = false; - this.data_chpt.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.data_chpt.BackgroundColor = System.Drawing.Color.White; + this.data_chpt.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; + this.data_chpt.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.data_chpt.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.number, this.name}); + this.data_chpt.ContextMenuStrip = this.ChaptersMenu; this.data_chpt.Location = new System.Drawing.Point(16, 55); this.data_chpt.MultiSelect = false; this.data_chpt.Name = "data_chpt"; @@ -430,100 +383,248 @@ namespace Handbrake // // number // - dataGridViewCellStyle1.Format = "N0"; - dataGridViewCellStyle1.NullValue = null; - this.number.DefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle2.Format = "N0"; + dataGridViewCellStyle2.NullValue = null; + this.number.DefaultCellStyle = dataGridViewCellStyle2; this.number.Frozen = true; this.number.HeaderText = "Chapter Number"; this.number.MaxInputLength = 3; this.number.Name = "number"; this.number.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.number.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; this.number.Width = 165; // // name // + this.name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.name.HeaderText = "Chapter Name"; this.name.Name = "name"; - this.name.Width = 480; - // - // btn_addPreset - // - this.btn_addPreset.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btn_addPreset.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_addPreset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_addPreset.Location = new System.Drawing.Point(3, 8); - this.btn_addPreset.Name = "btn_addPreset"; - this.btn_addPreset.Size = new System.Drawing.Size(49, 22); - this.btn_addPreset.TabIndex = 3; - this.btn_addPreset.TabStop = false; - this.btn_addPreset.Text = "Add"; - this.ToolTip.SetToolTip(this.btn_addPreset, "Add a preset to the preset panel"); - this.btn_addPreset.UseVisualStyleBackColor = true; - this.btn_addPreset.Click += new System.EventHandler(this.btn_addPreset_Click); - // - // btn_removePreset - // - this.btn_removePreset.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btn_removePreset.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_removePreset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_removePreset.Location = new System.Drawing.Point(58, 8); - this.btn_removePreset.Name = "btn_removePreset"; - this.btn_removePreset.Size = new System.Drawing.Size(71, 22); - this.btn_removePreset.TabIndex = 4; - this.btn_removePreset.TabStop = false; - this.btn_removePreset.Text = "Remove"; - this.ToolTip.SetToolTip(this.btn_removePreset, "Remove a preset from the panel above."); - this.btn_removePreset.UseVisualStyleBackColor = true; - this.btn_removePreset.Click += new System.EventHandler(this.btn_removePreset_Click); + this.name.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + // + // ChaptersMenu + // + this.ChaptersMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnu_resetChapters}); + this.ChaptersMenu.Name = "presets_menu"; + this.ChaptersMenu.OwnerItem = this.btn_file_source; + this.ChaptersMenu.Size = new System.Drawing.Size(188, 26); + this.ChaptersMenu.Text = ";"; + // + // mnu_resetChapters + // + this.mnu_resetChapters.Name = "mnu_resetChapters"; + this.mnu_resetChapters.Size = new System.Drawing.Size(187, 22); + this.mnu_resetChapters.Text = "Reset Chapter Names"; + this.mnu_resetChapters.Click += new System.EventHandler(this.mnu_resetChapters_Click); + // + // btn_file_source + // + this.btn_file_source.Image = global::Handbrake.Properties.Resources.Movies_Small; + this.btn_file_source.Name = "btn_file_source"; + this.btn_file_source.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); + this.btn_file_source.Size = new System.Drawing.Size(182, 22); + this.btn_file_source.Text = "Video File"; + this.btn_file_source.Click += new System.EventHandler(this.BtnFileScanClicked); // // drop_format // this.drop_format.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drop_format.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.drop_format.FormattingEnabled = true; this.drop_format.Items.AddRange(new object[] { "MP4 File", - "M4V File", "MKV File"}); - this.drop_format.Location = new System.Drawing.Point(78, 215); + this.drop_format.Location = new System.Drawing.Point(67, 3); this.drop_format.Name = "drop_format"; this.drop_format.Size = new System.Drawing.Size(106, 21); - this.drop_format.TabIndex = 28; - this.ToolTip.SetToolTip(this.drop_format, "Select the file container format."); + this.drop_format.TabIndex = 1; + this.ToolTip.SetToolTip(this.drop_format, "Select the file container format.\r\nHandBrake supports MKV and MP4(M4v)"); this.drop_format.SelectedIndexChanged += new System.EventHandler(this.drop_format_SelectedIndexChanged); // + // drop_chapterFinish + // + this.drop_chapterFinish.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.drop_chapterFinish.FormattingEnabled = true; + this.drop_chapterFinish.Location = new System.Drawing.Point(509, 3); + this.drop_chapterFinish.Name = "drop_chapterFinish"; + this.drop_chapterFinish.Size = new System.Drawing.Size(69, 21); + this.drop_chapterFinish.TabIndex = 7; + this.ToolTip.SetToolTip(this.drop_chapterFinish, "Select the chapter range you would like to enocde. (default: All Chapters)"); + this.drop_chapterFinish.SelectedIndexChanged += new System.EventHandler(this.chapersChanged); + // + // drop_chapterStart + // + this.drop_chapterStart.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.drop_chapterStart.FormattingEnabled = true; + this.drop_chapterStart.Location = new System.Drawing.Point(383, 3); + this.drop_chapterStart.Name = "drop_chapterStart"; + this.drop_chapterStart.Size = new System.Drawing.Size(69, 21); + this.drop_chapterStart.TabIndex = 5; + this.ToolTip.SetToolTip(this.drop_chapterStart, "Select the chapter range you would like to enocde. (default: All Chapters)"); + this.drop_chapterStart.SelectedIndexChanged += new System.EventHandler(this.chapersChanged); + // // drop_angle // this.drop_angle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drop_angle.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.drop_angle.FormattingEnabled = true; - this.drop_angle.Location = new System.Drawing.Point(253, 96); + this.drop_angle.Location = new System.Drawing.Point(209, 3); this.drop_angle.Name = "drop_angle"; this.drop_angle.Size = new System.Drawing.Size(45, 21); - this.drop_angle.TabIndex = 45; + this.drop_angle.TabIndex = 3; this.ToolTip.SetToolTip(this.drop_angle, "Select the chapter range you would like to enocde. (default: All Chapters)"); // - // lbl_duration + // drp_dvdtitle // - this.lbl_duration.AutoSize = true; - this.lbl_duration.BackColor = System.Drawing.Color.Transparent; - this.lbl_duration.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbl_duration.Location = new System.Drawing.Point(648, 100); - this.lbl_duration.Name = "lbl_duration"; - this.lbl_duration.Size = new System.Drawing.Size(72, 12); - this.lbl_duration.TabIndex = 43; - this.lbl_duration.Text = "Select a Title"; + this.drp_dvdtitle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.drp_dvdtitle.FormattingEnabled = true; + this.drp_dvdtitle.Items.AddRange(new object[] { + "Automatic"}); + this.drp_dvdtitle.Location = new System.Drawing.Point(40, 3); + this.drp_dvdtitle.Name = "drp_dvdtitle"; + this.drp_dvdtitle.Size = new System.Drawing.Size(119, 21); + this.drp_dvdtitle.TabIndex = 1; + this.ToolTip.SetToolTip(this.drp_dvdtitle, "Select the title you wish to encode.\r\n\r\nWhen a DVD is in use, HandBrake will try " + + "to determine the \"Main Feature\" title automatically.\r\nPlease note, this is not a" + + "lways accurate and should be checked."); + this.drp_dvdtitle.SelectedIndexChanged += new System.EventHandler(this.drp_dvdtitle_SelectedIndexChanged); + this.drp_dvdtitle.Click += new System.EventHandler(this.drp_dvdtitle_Click); // - // label_duration + // btn_importChapters + // + this.btn_importChapters.AutoSize = true; + this.btn_importChapters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btn_importChapters.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.btn_importChapters.Location = new System.Drawing.Point(544, 28); + this.btn_importChapters.Name = "btn_importChapters"; + this.btn_importChapters.Size = new System.Drawing.Size(75, 23); + this.btn_importChapters.TabIndex = 1; + this.btn_importChapters.Text = "Import"; + this.ToolTip.SetToolTip(this.btn_importChapters, resources.GetString("btn_importChapters.ToolTip")); + this.btn_importChapters.UseVisualStyleBackColor = true; + this.btn_importChapters.Click += new System.EventHandler(this.btn_importChapters_Click); + // + // btn_export + // + this.btn_export.AutoSize = true; + this.btn_export.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btn_export.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.btn_export.Location = new System.Drawing.Point(625, 28); + this.btn_export.Name = "btn_export"; + this.btn_export.Size = new System.Drawing.Size(75, 23); + this.btn_export.TabIndex = 0; + this.btn_export.Text = "Export"; + this.ToolTip.SetToolTip(this.btn_export, resources.GetString("btn_export.ToolTip")); + this.btn_export.UseVisualStyleBackColor = true; + this.btn_export.Click += new System.EventHandler(this.btn_export_Click); + // + // drop_mode + // + this.drop_mode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.drop_mode.FormattingEnabled = true; + this.drop_mode.Items.AddRange(new object[] { + "Chapters", + "Seconds", + "Frames"}); + this.drop_mode.Location = new System.Drawing.Point(295, 3); + this.drop_mode.Name = "drop_mode"; + this.drop_mode.Size = new System.Drawing.Size(77, 21); + this.drop_mode.TabIndex = 4; + this.ToolTip.SetToolTip(this.drop_mode, resources.GetString("drop_mode.ToolTip")); + this.drop_mode.SelectedIndexChanged += new System.EventHandler(this.drop_mode_SelectedIndexChanged); // - this.label_duration.AutoSize = true; - this.label_duration.BackColor = System.Drawing.Color.Transparent; - this.label_duration.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label_duration.Location = new System.Drawing.Point(581, 99); - this.label_duration.Name = "label_duration"; - this.label_duration.Size = new System.Drawing.Size(61, 13); - this.label_duration.TabIndex = 42; - this.label_duration.Text = "Duration:"; + // btn_generate_Query + // + this.btn_generate_Query.FlatAppearance.BorderColor = System.Drawing.Color.Black; + this.btn_generate_Query.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btn_generate_Query.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.btn_generate_Query.Location = new System.Drawing.Point(16, 104); + this.btn_generate_Query.Name = "btn_generate_Query"; + this.btn_generate_Query.Size = new System.Drawing.Size(126, 22); + this.btn_generate_Query.TabIndex = 2; + this.btn_generate_Query.Text = "Generate Query"; + this.ToolTip.SetToolTip(this.btn_generate_Query, "This will allow you to override the generated query.\r\nNote, The query in the box " + + "below will always override any automatically generated query, even if you change" + + " title or source."); + this.btn_generate_Query.UseVisualStyleBackColor = true; + this.btn_generate_Query.Click += new System.EventHandler(this.btn_generate_Query_Click); + // + // treeView_presets + // + this.treeView_presets.ContextMenuStrip = this.presets_menu; + this.treeView_presets.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.treeView_presets.ForeColor = System.Drawing.Color.DarkBlue; + this.treeView_presets.FullRowSelect = true; + this.treeView_presets.HideSelection = false; + this.treeView_presets.ItemHeight = 21; + this.treeView_presets.Location = new System.Drawing.Point(0, 0); + this.treeView_presets.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); + this.treeView_presets.Name = "treeView_presets"; + this.treeView_presets.ShowLines = false; + this.treeView_presets.Size = new System.Drawing.Size(240, 424); + this.treeView_presets.TabIndex = 0; + this.treeView_presets.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_presets_AfterSelect); + this.treeView_presets.KeyUp += new System.Windows.Forms.KeyEventHandler(this.treeView_presets_deleteKey); + this.treeView_presets.MouseMove += new System.Windows.Forms.MouseEventHandler(this.TreeViewPresetsMouseMove); + this.treeView_presets.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeview_presets_mouseUp); + // + // presets_menu + // + this.presets_menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.pmnu_expandAll, + this.pmnu_collapse, + this.sep1, + this.pmnu_import, + this.toolStripSeparator2, + this.pmnu_saveChanges, + this.pmnu_delete}); + this.presets_menu.Name = "presets_menu"; + this.presets_menu.Size = new System.Drawing.Size(148, 126); + this.presets_menu.Text = ";"; + this.presets_menu.Opening += new System.ComponentModel.CancelEventHandler(this.presets_menu_Opening); + // + // pmnu_expandAll + // + this.pmnu_expandAll.Name = "pmnu_expandAll"; + this.pmnu_expandAll.Size = new System.Drawing.Size(147, 22); + this.pmnu_expandAll.Text = "Expand All"; + this.pmnu_expandAll.Click += new System.EventHandler(this.pmnu_expandAll_Click); + // + // pmnu_collapse + // + this.pmnu_collapse.Name = "pmnu_collapse"; + this.pmnu_collapse.Size = new System.Drawing.Size(147, 22); + this.pmnu_collapse.Text = "Collapse All"; + this.pmnu_collapse.Click += new System.EventHandler(this.pmnu_collapse_Click); + // + // sep1 + // + this.sep1.Name = "sep1"; + this.sep1.Size = new System.Drawing.Size(144, 6); + // + // pmnu_import + // + this.pmnu_import.Name = "pmnu_import"; + this.pmnu_import.Size = new System.Drawing.Size(147, 22); + this.pmnu_import.Text = "Import"; + this.pmnu_import.Click += new System.EventHandler(this.pmnu_import_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(144, 6); + // + // pmnu_saveChanges + // + this.pmnu_saveChanges.Name = "pmnu_saveChanges"; + this.pmnu_saveChanges.Size = new System.Drawing.Size(147, 22); + this.pmnu_saveChanges.Text = "Save Changes"; + this.pmnu_saveChanges.Click += new System.EventHandler(this.pmnu_saveChanges_Click); + // + // pmnu_delete + // + this.pmnu_delete.Name = "pmnu_delete"; + this.pmnu_delete.Size = new System.Drawing.Size(147, 22); + this.pmnu_delete.Text = "Delete"; + this.pmnu_delete.Click += new System.EventHandler(this.pmnu_delete_click); // // DVD_Open // @@ -547,13 +648,13 @@ namespace Handbrake this.mnu_killCLI, this.mnu_exit}); this.FileToolStripMenuItem.Name = "FileToolStripMenuItem"; - this.FileToolStripMenuItem.Size = new System.Drawing.Size(38, 20); + this.FileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.FileToolStripMenuItem.Text = "&File"; // // mnu_killCLI // this.mnu_killCLI.Name = "mnu_killCLI"; - this.mnu_killCLI.Size = new System.Drawing.Size(156, 22); + this.mnu_killCLI.Size = new System.Drawing.Size(138, 22); this.mnu_killCLI.Text = "Cancel Scan"; this.mnu_killCLI.Visible = false; this.mnu_killCLI.Click += new System.EventHandler(this.mnu_killCLI_Click); @@ -561,7 +662,8 @@ namespace Handbrake // mnu_exit // this.mnu_exit.Name = "mnu_exit"; - this.mnu_exit.Size = new System.Drawing.Size(156, 22); + this.mnu_exit.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4))); + this.mnu_exit.Size = new System.Drawing.Size(138, 22); this.mnu_exit.Text = "E&xit"; this.mnu_exit.Click += new System.EventHandler(this.mnu_exit_Click); // @@ -578,7 +680,7 @@ namespace Handbrake this.ToolStripSeparator5, this.mnu_options}); this.ToolsToolStripMenuItem.Name = "ToolsToolStripMenuItem"; - this.ToolsToolStripMenuItem.Size = new System.Drawing.Size(49, 20); + this.ToolsToolStripMenuItem.Size = new System.Drawing.Size(48, 20); this.ToolsToolStripMenuItem.Text = "&Tools"; // // mnu_encode @@ -586,7 +688,7 @@ namespace Handbrake this.mnu_encode.Image = global::Handbrake.Properties.Resources.Queue_Small; this.mnu_encode.Name = "mnu_encode"; this.mnu_encode.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); - this.mnu_encode.Size = new System.Drawing.Size(203, 22); + this.mnu_encode.Size = new System.Drawing.Size(201, 22); this.mnu_encode.Text = "Show Queue"; this.mnu_encode.Click += new System.EventHandler(this.mnu_encode_Click); // @@ -594,221 +696,67 @@ namespace Handbrake // this.mnu_encodeLog.Image = global::Handbrake.Properties.Resources.ActivityWindow_small; this.mnu_encodeLog.Name = "mnu_encodeLog"; - this.mnu_encodeLog.Size = new System.Drawing.Size(203, 22); + this.mnu_encodeLog.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L))); + this.mnu_encodeLog.Size = new System.Drawing.Size(201, 22); this.mnu_encodeLog.Text = "Activity Window"; this.mnu_encodeLog.Click += new System.EventHandler(this.mnu_encodeLog_Click); // // ToolStripSeparator5 // this.ToolStripSeparator5.Name = "ToolStripSeparator5"; - this.ToolStripSeparator5.Size = new System.Drawing.Size(200, 6); + this.ToolStripSeparator5.Size = new System.Drawing.Size(198, 6); // // mnu_options // this.mnu_options.Image = global::Handbrake.Properties.Resources.Pref_Small; this.mnu_options.Name = "mnu_options"; - this.mnu_options.Size = new System.Drawing.Size(203, 22); + this.mnu_options.Size = new System.Drawing.Size(201, 22); this.mnu_options.Text = "Options"; this.mnu_options.Click += new System.EventHandler(this.mnu_options_Click); // - // PresetsToolStripMenuItem - // - this.PresetsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnu_presetReset, - this.mnu_delete_preset, - this.toolStripSeparator7, - this.btn_new_preset, - this.mnu_SelectDefault}); - this.PresetsToolStripMenuItem.Name = "PresetsToolStripMenuItem"; - this.PresetsToolStripMenuItem.Size = new System.Drawing.Size(61, 20); - this.PresetsToolStripMenuItem.Text = "&Presets"; - // - // mnu_presetReset - // - this.mnu_presetReset.Name = "mnu_presetReset"; - this.mnu_presetReset.Size = new System.Drawing.Size(215, 22); - this.mnu_presetReset.Text = "Update Built-in Presets"; - this.mnu_presetReset.ToolTipText = "Resets all presets."; - this.mnu_presetReset.Click += new System.EventHandler(this.mnu_presetReset_Click); - // - // mnu_delete_preset - // - this.mnu_delete_preset.Name = "mnu_delete_preset"; - this.mnu_delete_preset.Size = new System.Drawing.Size(215, 22); - this.mnu_delete_preset.Text = "Delete Built-in Presets"; - this.mnu_delete_preset.Click += new System.EventHandler(this.mnu_delete_preset_Click); - // - // toolStripSeparator7 - // - this.toolStripSeparator7.Name = "toolStripSeparator7"; - this.toolStripSeparator7.Size = new System.Drawing.Size(212, 6); - // - // btn_new_preset - // - this.btn_new_preset.Name = "btn_new_preset"; - this.btn_new_preset.Size = new System.Drawing.Size(215, 22); - this.btn_new_preset.Text = "New Preset"; - this.btn_new_preset.Click += new System.EventHandler(this.btn_new_preset_Click); - // - // mnu_SelectDefault - // - this.mnu_SelectDefault.Name = "mnu_SelectDefault"; - this.mnu_SelectDefault.Size = new System.Drawing.Size(215, 22); - this.mnu_SelectDefault.Text = "Select Default Preset"; - this.mnu_SelectDefault.ToolTipText = "Select HandBrake\'s default preset"; - this.mnu_SelectDefault.Click += new System.EventHandler(this.mnu_SelectDefault_Click); - // - // HelpToolStripMenuItem - // - this.HelpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnu_user_guide, - this.mnu_handbrake_home, - this.mnu_handbrake_forums, - this.ToolStripSeparator3, - this.mnu_UpdateCheck, - this.toolStripSeparator6, - this.mnu_about}); - this.HelpToolStripMenuItem.Name = "HelpToolStripMenuItem"; - this.HelpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); - this.HelpToolStripMenuItem.Text = "&Help"; - // - // mnu_user_guide - // - this.mnu_user_guide.Image = global::Handbrake.Properties.Resources.Help16; - this.mnu_user_guide.Name = "mnu_user_guide"; - this.mnu_user_guide.Size = new System.Drawing.Size(215, 22); - this.mnu_user_guide.Text = "HandBrake User Guide"; - this.mnu_user_guide.Click += new System.EventHandler(this.mnu_user_guide_Click); - // - // mnu_handbrake_home - // - this.mnu_handbrake_home.Image = global::Handbrake.Properties.Resources.info16; - this.mnu_handbrake_home.Name = "mnu_handbrake_home"; - this.mnu_handbrake_home.Size = new System.Drawing.Size(215, 22); - this.mnu_handbrake_home.Text = "HandBrake Homepage"; - this.mnu_handbrake_home.Click += new System.EventHandler(this.mnu_handbrake_home_Click); - // - // mnu_handbrake_forums - // - this.mnu_handbrake_forums.Name = "mnu_handbrake_forums"; - this.mnu_handbrake_forums.Size = new System.Drawing.Size(215, 22); - this.mnu_handbrake_forums.Text = "HandBrake Forums"; - this.mnu_handbrake_forums.Click += new System.EventHandler(this.mnu_handbrake_forums_Click); - // - // ToolStripSeparator3 - // - this.ToolStripSeparator3.Name = "ToolStripSeparator3"; - this.ToolStripSeparator3.Size = new System.Drawing.Size(212, 6); - // - // mnu_UpdateCheck - // - this.mnu_UpdateCheck.Name = "mnu_UpdateCheck"; - this.mnu_UpdateCheck.Size = new System.Drawing.Size(215, 22); - this.mnu_UpdateCheck.Text = "Check for Updates"; - this.mnu_UpdateCheck.Click += new System.EventHandler(this.mnu_UpdateCheck_Click); - // - // toolStripSeparator6 - // - this.toolStripSeparator6.Name = "toolStripSeparator6"; - this.toolStripSeparator6.Size = new System.Drawing.Size(212, 6); - // - // mnu_about - // - this.mnu_about.Image = global::Handbrake.Properties.Resources.hb16; - this.mnu_about.Name = "mnu_about"; - this.mnu_about.Size = new System.Drawing.Size(215, 22); - this.mnu_about.Text = "About..."; - this.mnu_about.Click += new System.EventHandler(this.mnu_about_Click); - // // frmMainMenu // - this.frmMainMenu.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.frmMainMenu.GripStyle = System.Windows.Forms.ToolStripGripStyle.Visible; this.frmMainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileToolStripMenuItem, - this.ToolsToolStripMenuItem, - this.PresetsToolStripMenuItem, - this.HelpToolStripMenuItem}); + this.ToolsToolStripMenuItem}); this.frmMainMenu.Location = new System.Drawing.Point(0, 0); this.frmMainMenu.Name = "frmMainMenu"; this.frmMainMenu.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; - this.frmMainMenu.Size = new System.Drawing.Size(1000, 24); + this.frmMainMenu.Size = new System.Drawing.Size(1002, 24); this.frmMainMenu.TabIndex = 0; + this.frmMainMenu.TabStop = true; this.frmMainMenu.Text = "MenuStrip"; // - // lbl_angle - // - this.lbl_angle.AutoSize = true; - this.lbl_angle.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbl_angle.ForeColor = System.Drawing.Color.Black; - this.lbl_angle.Location = new System.Drawing.Point(203, 99); - this.lbl_angle.Name = "lbl_angle"; - this.lbl_angle.Size = new System.Drawing.Size(44, 13); - this.lbl_angle.TabIndex = 44; - this.lbl_angle.Text = "Angle:"; - // - // Label13 - // - this.Label13.AutoSize = true; - this.Label13.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label13.Location = new System.Drawing.Point(449, 99); - this.Label13.Name = "Label13"; - this.Label13.Size = new System.Drawing.Size(51, 13); - this.Label13.TabIndex = 10; - this.Label13.Text = "through"; - // - // Label9 - // - this.Label9.AutoSize = true; - this.Label9.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label9.ForeColor = System.Drawing.Color.Black; - this.Label9.Location = new System.Drawing.Point(304, 99); - this.Label9.Name = "Label9"; - this.Label9.Size = new System.Drawing.Size(64, 13); - this.Label9.TabIndex = 8; - this.Label9.Text = "Chapters:"; - // - // Label10 - // - this.Label10.AutoSize = true; - this.Label10.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label10.ForeColor = System.Drawing.Color.Black; - this.Label10.Location = new System.Drawing.Point(20, 99); - this.Label10.Name = "Label10"; - this.Label10.Size = new System.Drawing.Size(36, 13); - this.Label10.TabIndex = 6; - this.Label10.Text = "Title:"; - // // label5 // + this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left; this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.ForeColor = System.Drawing.Color.Black; - this.label5.Location = new System.Drawing.Point(20, 219); + this.label5.Location = new System.Drawing.Point(3, 7); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(52, 13); - this.label5.TabIndex = 27; - this.label5.Text = "Format:"; + this.label5.Size = new System.Drawing.Size(58, 13); + this.label5.TabIndex = 0; + this.label5.Text = "Container:"; // // Label47 // this.Label47.AutoSize = true; - this.Label47.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label47.BackColor = System.Drawing.Color.Transparent; this.Label47.ForeColor = System.Drawing.Color.Black; this.Label47.Location = new System.Drawing.Point(13, 39); this.Label47.Name = "Label47"; - this.Label47.Size = new System.Drawing.Size(84, 13); - this.Label47.TabIndex = 0; + this.Label47.Size = new System.Drawing.Size(70, 13); + this.Label47.TabIndex = 7; this.Label47.Text = "Video Codec:"; // // Label3 // + this.Label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.Label3.AutoSize = true; - this.Label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = System.Drawing.Color.Black; - this.Label3.Location = new System.Drawing.Point(20, 155); + this.Label3.Location = new System.Drawing.Point(3, 8); this.Label3.Name = "Label3"; - this.Label3.Size = new System.Drawing.Size(31, 13); + this.Label3.Size = new System.Drawing.Size(27, 13); this.Label3.TabIndex = 0; this.Label3.Text = "File:"; // @@ -827,6 +775,7 @@ namespace Handbrake // AudioSettings // this.AudioSettings.BackColor = System.Drawing.Color.Transparent; + this.AudioSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.AudioSettings.Location = new System.Drawing.Point(0, 0); this.AudioSettings.Name = "AudioSettings"; this.AudioSettings.Size = new System.Drawing.Size(715, 310); @@ -841,21 +790,21 @@ namespace Handbrake // tab_video // this.tab_video.BackColor = System.Drawing.Color.Transparent; + this.tab_video.Controls.Add(this.lbl_rfwarn); + this.tab_video.Controls.Add(this.checkMaximumFramerate); + this.tab_video.Controls.Add(this.drp_videoFramerate); this.tab_video.Controls.Add(this.radio_cq); this.tab_video.Controls.Add(this.radio_avgBitrate); - this.tab_video.Controls.Add(this.radio_targetFilesize); this.tab_video.Controls.Add(this.drp_videoEncoder); this.tab_video.Controls.Add(this.Label47); this.tab_video.Controls.Add(this.label25); this.tab_video.Controls.Add(this.check_turbo); this.tab_video.Controls.Add(this.check_2PassEncode); this.tab_video.Controls.Add(this.Label2); - this.tab_video.Controls.Add(this.text_filesize); this.tab_video.Controls.Add(this.slider_videoQuality); this.tab_video.Controls.Add(this.text_bitrate); - this.tab_video.Controls.Add(this.SliderValue); - this.tab_video.Controls.Add(this.Label46); - this.tab_video.Controls.Add(this.drp_videoFramerate); + this.tab_video.Controls.Add(this.lbl_SliderValue); + this.tab_video.Controls.Add(this.lbl_framerate); this.tab_video.Location = new System.Drawing.Point(4, 22); this.tab_video.Name = "tab_video"; this.tab_video.Padding = new System.Windows.Forms.Padding(3); @@ -864,61 +813,75 @@ namespace Handbrake this.tab_video.Text = "Video"; this.tab_video.UseVisualStyleBackColor = true; // + // lbl_rfwarn + // + this.lbl_rfwarn.AutoSize = true; + this.lbl_rfwarn.BackColor = System.Drawing.Color.Transparent; + this.lbl_rfwarn.ForeColor = System.Drawing.Color.Red; + this.lbl_rfwarn.Location = new System.Drawing.Point(385, 135); + this.lbl_rfwarn.Name = "lbl_rfwarn"; + this.lbl_rfwarn.Size = new System.Drawing.Size(321, 39); + this.lbl_rfwarn.TabIndex = 0; + this.lbl_rfwarn.Text = "RF:0 is x264\'s lossless mode.\r\nThis will result in a very large output which may " + + "not be compatible\r\nwith your playback software."; + this.lbl_rfwarn.Visible = false; + // + // checkMaximumFramerate + // + this.checkMaximumFramerate.AutoSize = true; + this.checkMaximumFramerate.BackColor = System.Drawing.Color.Transparent; + this.checkMaximumFramerate.Location = new System.Drawing.Point(125, 89); + this.checkMaximumFramerate.Name = "checkMaximumFramerate"; + this.checkMaximumFramerate.Size = new System.Drawing.Size(131, 17); + this.checkMaximumFramerate.TabIndex = 1; + this.checkMaximumFramerate.Text = "Peak Framerate (VFR)"; + this.checkMaximumFramerate.UseVisualStyleBackColor = false; + // // radio_cq // this.radio_cq.AutoSize = true; - this.radio_cq.Location = new System.Drawing.Point(336, 97); + this.radio_cq.BackColor = System.Drawing.Color.Transparent; + this.radio_cq.Location = new System.Drawing.Point(365, 67); this.radio_cq.Name = "radio_cq"; - this.radio_cq.Size = new System.Drawing.Size(125, 17); - this.radio_cq.TabIndex = 18; + this.radio_cq.Size = new System.Drawing.Size(105, 17); + this.radio_cq.TabIndex = 3; this.radio_cq.Text = "Constant Quality:"; - this.radio_cq.UseVisualStyleBackColor = true; + this.radio_cq.UseVisualStyleBackColor = false; this.radio_cq.CheckedChanged += new System.EventHandler(this.radio_cq_CheckedChanged); // // radio_avgBitrate // this.radio_avgBitrate.AutoSize = true; + this.radio_avgBitrate.BackColor = System.Drawing.Color.Transparent; this.radio_avgBitrate.Checked = true; - this.radio_avgBitrate.Location = new System.Drawing.Point(336, 64); + this.radio_avgBitrate.Location = new System.Drawing.Point(365, 34); this.radio_avgBitrate.Name = "radio_avgBitrate"; - this.radio_avgBitrate.Size = new System.Drawing.Size(135, 17); - this.radio_avgBitrate.TabIndex = 17; + this.radio_avgBitrate.Size = new System.Drawing.Size(112, 17); + this.radio_avgBitrate.TabIndex = 4; this.radio_avgBitrate.TabStop = true; this.radio_avgBitrate.Text = "Avg Bitrate (kbps):"; - this.radio_avgBitrate.UseVisualStyleBackColor = true; + this.radio_avgBitrate.UseVisualStyleBackColor = false; this.radio_avgBitrate.CheckedChanged += new System.EventHandler(this.radio_avgBitrate_CheckedChanged); // - // radio_targetFilesize - // - this.radio_targetFilesize.AutoSize = true; - this.radio_targetFilesize.Location = new System.Drawing.Point(336, 37); - this.radio_targetFilesize.Name = "radio_targetFilesize"; - this.radio_targetFilesize.Size = new System.Drawing.Size(126, 17); - this.radio_targetFilesize.TabIndex = 16; - this.radio_targetFilesize.Text = "Target Size (MB):"; - this.radio_targetFilesize.UseVisualStyleBackColor = true; - this.radio_targetFilesize.CheckedChanged += new System.EventHandler(this.radio_targetFilesize_CheckedChanged); - // // label25 // this.label25.AutoSize = true; this.label25.BackColor = System.Drawing.Color.Transparent; - this.label25.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label25.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label25.Location = new System.Drawing.Point(13, 13); this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(43, 13); - this.label25.TabIndex = 0; + this.label25.Size = new System.Drawing.Size(38, 13); + this.label25.TabIndex = 8; this.label25.Text = "Video"; // // check_2PassEncode // this.check_2PassEncode.AutoSize = true; this.check_2PassEncode.BackColor = System.Drawing.Color.Transparent; - this.check_2PassEncode.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_2PassEncode.Location = new System.Drawing.Point(125, 100); + this.check_2PassEncode.Location = new System.Drawing.Point(125, 120); this.check_2PassEncode.Name = "check_2PassEncode"; - this.check_2PassEncode.Size = new System.Drawing.Size(119, 17); - this.check_2PassEncode.TabIndex = 6; + this.check_2PassEncode.Size = new System.Drawing.Size(106, 17); + this.check_2PassEncode.TabIndex = 10; this.check_2PassEncode.Text = "2-Pass Encoding"; this.check_2PassEncode.UseVisualStyleBackColor = false; this.check_2PassEncode.CheckedChanged += new System.EventHandler(this.check_2PassEncode_CheckedChanged); @@ -927,34 +890,33 @@ namespace Handbrake // this.Label2.AutoSize = true; this.Label2.BackColor = System.Drawing.Color.Transparent; - this.Label2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label2.Location = new System.Drawing.Point(334, 13); + this.Label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Label2.Location = new System.Drawing.Point(363, 13); this.Label2.Name = "Label2"; - this.Label2.Size = new System.Drawing.Size(53, 13); - this.Label2.TabIndex = 8; + this.Label2.Size = new System.Drawing.Size(47, 13); + this.Label2.TabIndex = 11; this.Label2.Text = "Quality"; // - // SliderValue + // lbl_SliderValue // - this.SliderValue.AutoSize = true; - this.SliderValue.BackColor = System.Drawing.Color.Transparent; - this.SliderValue.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.SliderValue.Location = new System.Drawing.Point(480, 100); - this.SliderValue.Name = "SliderValue"; - this.SliderValue.Size = new System.Drawing.Size(23, 12); - this.SliderValue.TabIndex = 15; - this.SliderValue.Text = "0%"; + this.lbl_SliderValue.AutoSize = true; + this.lbl_SliderValue.BackColor = System.Drawing.Color.Transparent; + this.lbl_SliderValue.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbl_SliderValue.Location = new System.Drawing.Point(509, 70); + this.lbl_SliderValue.Name = "lbl_SliderValue"; + this.lbl_SliderValue.Size = new System.Drawing.Size(21, 13); + this.lbl_SliderValue.TabIndex = 15; + this.lbl_SliderValue.Text = "RF"; // - // Label46 + // lbl_framerate // - this.Label46.AutoSize = true; - this.Label46.BackColor = System.Drawing.Color.Transparent; - this.Label46.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Label46.Location = new System.Drawing.Point(13, 71); - this.Label46.Name = "Label46"; - this.Label46.Size = new System.Drawing.Size(106, 13); - this.Label46.TabIndex = 1; - this.Label46.Text = "Framerate (FPS):"; + this.lbl_framerate.AutoSize = true; + this.lbl_framerate.BackColor = System.Drawing.Color.Transparent; + this.lbl_framerate.Location = new System.Drawing.Point(13, 65); + this.lbl_framerate.Name = "lbl_framerate"; + this.lbl_framerate.Size = new System.Drawing.Size(90, 13); + this.lbl_framerate.TabIndex = 16; + this.lbl_framerate.Text = "Framerate (FPS):"; // // tab_picture // @@ -965,26 +927,29 @@ namespace Handbrake this.tab_picture.Padding = new System.Windows.Forms.Padding(3); this.tab_picture.Size = new System.Drawing.Size(724, 308); this.tab_picture.TabIndex = 0; - this.tab_picture.Text = "Picture Settings"; + this.tab_picture.Text = "Picture"; this.tab_picture.UseVisualStyleBackColor = true; // // PictureSettings // this.PictureSettings.BackColor = System.Drawing.Color.Transparent; + this.PictureSettings.CurrentlySelectedPreset = null; + this.PictureSettings.Enabled = false; + this.PictureSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.PictureSettings.Location = new System.Drawing.Point(0, 0); this.PictureSettings.Name = "PictureSettings"; - this.PictureSettings.Size = new System.Drawing.Size(713, 310); + this.PictureSettings.PresetMaximumResolution = new System.Drawing.Size(0, 0); + this.PictureSettings.Size = new System.Drawing.Size(666, 279); this.PictureSettings.TabIndex = 0; // // Check_ChapterMarkers // this.Check_ChapterMarkers.AutoSize = true; this.Check_ChapterMarkers.BackColor = System.Drawing.Color.Transparent; - this.Check_ChapterMarkers.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Check_ChapterMarkers.Location = new System.Drawing.Point(16, 32); this.Check_ChapterMarkers.Name = "Check_ChapterMarkers"; - this.Check_ChapterMarkers.Size = new System.Drawing.Size(164, 17); - this.Check_ChapterMarkers.TabIndex = 1; + this.Check_ChapterMarkers.Size = new System.Drawing.Size(136, 17); + this.Check_ChapterMarkers.TabIndex = 4; this.Check_ChapterMarkers.Text = "Create chapter markers"; this.Check_ChapterMarkers.UseVisualStyleBackColor = false; this.Check_ChapterMarkers.CheckedChanged += new System.EventHandler(this.Check_ChapterMarkers_CheckedChanged); @@ -999,13 +964,11 @@ namespace Handbrake this.tabs_panel.Controls.Add(this.tab_chapters); this.tabs_panel.Controls.Add(this.tab_advanced); this.tabs_panel.Controls.Add(this.tab_query); - this.tabs_panel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tabs_panel.Location = new System.Drawing.Point(9, 251); + this.tabs_panel.Location = new System.Drawing.Point(12, 218); this.tabs_panel.Name = "tabs_panel"; this.tabs_panel.SelectedIndex = 0; this.tabs_panel.Size = new System.Drawing.Size(732, 334); - this.tabs_panel.TabIndex = 5; - this.tabs_panel.TabStop = false; + this.tabs_panel.TabIndex = 6; // // tab_filters // @@ -1013,13 +976,14 @@ namespace Handbrake this.tab_filters.Location = new System.Drawing.Point(4, 22); this.tab_filters.Name = "tab_filters"; this.tab_filters.Size = new System.Drawing.Size(724, 308); - this.tab_filters.TabIndex = 9; + this.tab_filters.TabIndex = 1; this.tab_filters.Text = "Video Filters"; this.tab_filters.UseVisualStyleBackColor = true; // // Filters // this.Filters.BackColor = System.Drawing.Color.Transparent; + this.Filters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Filters.Location = new System.Drawing.Point(0, 0); this.Filters.Name = "Filters"; this.Filters.Size = new System.Drawing.Size(713, 310); @@ -1032,13 +996,14 @@ namespace Handbrake this.tab_subtitles.Name = "tab_subtitles"; this.tab_subtitles.Padding = new System.Windows.Forms.Padding(3); this.tab_subtitles.Size = new System.Drawing.Size(724, 308); - this.tab_subtitles.TabIndex = 10; + this.tab_subtitles.TabIndex = 4; this.tab_subtitles.Text = "Subtitles"; this.tab_subtitles.UseVisualStyleBackColor = true; // // Subtitles // this.Subtitles.BackColor = System.Drawing.Color.Transparent; + this.Subtitles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Subtitles.Location = new System.Drawing.Point(0, 0); this.Subtitles.Name = "Subtitles"; this.Subtitles.Size = new System.Drawing.Size(722, 310); @@ -1047,13 +1012,15 @@ namespace Handbrake // tab_chapters // this.tab_chapters.BackColor = System.Drawing.Color.Transparent; + this.tab_chapters.Controls.Add(this.btn_export); + this.tab_chapters.Controls.Add(this.btn_importChapters); this.tab_chapters.Controls.Add(this.label31); this.tab_chapters.Controls.Add(this.data_chpt); this.tab_chapters.Controls.Add(this.Check_ChapterMarkers); this.tab_chapters.Location = new System.Drawing.Point(4, 22); this.tab_chapters.Name = "tab_chapters"; this.tab_chapters.Size = new System.Drawing.Size(724, 308); - this.tab_chapters.TabIndex = 6; + this.tab_chapters.TabIndex = 5; this.tab_chapters.Text = "Chapters"; this.tab_chapters.UseVisualStyleBackColor = true; // @@ -1061,33 +1028,34 @@ namespace Handbrake // this.label31.AutoSize = true; this.label31.BackColor = System.Drawing.Color.Transparent; - this.label31.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label31.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label31.Location = new System.Drawing.Point(13, 13); this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(115, 13); - this.label31.TabIndex = 0; + this.label31.Size = new System.Drawing.Size(102, 13); + this.label31.TabIndex = 2; this.label31.Text = "Chapter Markers"; // // tab_advanced // this.tab_advanced.BackColor = System.Drawing.Color.Transparent; this.tab_advanced.Controls.Add(this.x264Panel); - this.tab_advanced.Font = new System.Drawing.Font("Verdana", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tab_advanced.Location = new System.Drawing.Point(4, 22); this.tab_advanced.Name = "tab_advanced"; this.tab_advanced.Padding = new System.Windows.Forms.Padding(3); this.tab_advanced.Size = new System.Drawing.Size(724, 308); - this.tab_advanced.TabIndex = 8; + this.tab_advanced.TabIndex = 6; this.tab_advanced.Text = "Advanced"; this.tab_advanced.UseVisualStyleBackColor = true; // // x264Panel // + this.x264Panel.BackColor = System.Drawing.Color.Transparent; + this.x264Panel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.x264Panel.Location = new System.Drawing.Point(0, 0); this.x264Panel.Name = "x264Panel"; this.x264Panel.Size = new System.Drawing.Size(720, 306); this.x264Panel.TabIndex = 0; - this.x264Panel.x264Query = ""; + this.x264Panel.X264Query = ""; // // tab_query // @@ -1106,12 +1074,12 @@ namespace Handbrake // btn_clear // this.btn_clear.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btn_clear.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btn_clear.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_clear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_clear.Location = new System.Drawing.Point(634, 75); + this.btn_clear.Location = new System.Drawing.Point(634, 104); this.btn_clear.Name = "btn_clear"; this.btn_clear.Size = new System.Drawing.Size(75, 22); - this.btn_clear.TabIndex = 4; + this.btn_clear.TabIndex = 0; this.btn_clear.Text = "Clear"; this.btn_clear.UseVisualStyleBackColor = true; this.btn_clear.Click += new System.EventHandler(this.btn_clear_Click); @@ -1119,67 +1087,40 @@ namespace Handbrake // label34 // this.label34.AutoSize = true; - this.label34.Location = new System.Drawing.Point(13, 36); + this.label34.Location = new System.Drawing.Point(13, 35); this.label34.Name = "label34"; - this.label34.Size = new System.Drawing.Size(434, 26); + this.label34.Size = new System.Drawing.Size(631, 52); this.label34.TabIndex = 1; - this.label34.Text = "Here you can alter the query generated by this program.\r\nDon\'t forget to re-gener" + - "ate this query should you change any GUI options."; - // - // btn_generate_Query - // - this.btn_generate_Query.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btn_generate_Query.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_generate_Query.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_generate_Query.Location = new System.Drawing.Point(16, 75); - this.btn_generate_Query.Name = "btn_generate_Query"; - this.btn_generate_Query.Size = new System.Drawing.Size(126, 22); - this.btn_generate_Query.TabIndex = 2; - this.btn_generate_Query.Text = "Generate Query"; - this.btn_generate_Query.UseVisualStyleBackColor = true; - this.btn_generate_Query.Click += new System.EventHandler(this.btn_generate_Query_Click); + this.label34.Text = resources.GetString("label34.Text"); // // label33 // this.label33.AutoSize = true; this.label33.BackColor = System.Drawing.Color.Transparent; - this.label33.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label33.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label33.Location = new System.Drawing.Point(13, 13); this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(89, 13); - this.label33.TabIndex = 0; + this.label33.Size = new System.Drawing.Size(77, 13); + this.label33.TabIndex = 3; this.label33.Text = "Query Editor"; // // rtf_query // this.rtf_query.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.rtf_query.Location = new System.Drawing.Point(16, 103); + this.rtf_query.Location = new System.Drawing.Point(16, 132); this.rtf_query.Name = "rtf_query"; - this.rtf_query.Size = new System.Drawing.Size(693, 190); - this.rtf_query.TabIndex = 5; + this.rtf_query.Size = new System.Drawing.Size(693, 161); + this.rtf_query.TabIndex = 4; this.rtf_query.Text = ""; // - // btn_destBrowse - // - this.btn_destBrowse.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_destBrowse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_destBrowse.Location = new System.Drawing.Point(645, 152); - this.btn_destBrowse.Name = "btn_destBrowse"; - this.btn_destBrowse.Size = new System.Drawing.Size(75, 23); - this.btn_destBrowse.TabIndex = 13; - this.btn_destBrowse.Text = "Browse"; - this.btn_destBrowse.UseVisualStyleBackColor = true; - this.btn_destBrowse.Click += new System.EventHandler(this.btn_destBrowse_Click); - // // groupBox2 // this.groupBox2.Controls.Add(this.splitContainer1); - this.groupBox2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox2.ForeColor = System.Drawing.Color.Black; - this.groupBox2.Location = new System.Drawing.Point(751, 70); + this.groupBox2.Location = new System.Drawing.Point(750, 70); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(245, 515); - this.groupBox2.TabIndex = 6; + this.groupBox2.Size = new System.Drawing.Size(246, 482); + this.groupBox2.TabIndex = 4; this.groupBox2.TabStop = false; this.groupBox2.Text = "Presets"; // @@ -1196,75 +1137,113 @@ namespace Handbrake // // splitContainer1.Panel2 // - this.splitContainer1.Panel2.Controls.Add(this.btn_addPreset); - this.splitContainer1.Panel2.Controls.Add(this.btn_removePreset); - this.splitContainer1.Panel2.Controls.Add(this.btn_setDefault); - this.splitContainer1.Size = new System.Drawing.Size(239, 495); - this.splitContainer1.SplitterDistance = 456; - this.splitContainer1.TabIndex = 1; - // - // treeView_presets - // - this.treeView_presets.ContextMenuStrip = this.presets_menu; - this.treeView_presets.Dock = System.Windows.Forms.DockStyle.Fill; - this.treeView_presets.ForeColor = System.Drawing.Color.DarkBlue; - this.treeView_presets.FullRowSelect = true; - this.treeView_presets.HideSelection = false; - this.treeView_presets.ItemHeight = 21; - this.treeView_presets.Location = new System.Drawing.Point(0, 0); - this.treeView_presets.Name = "treeView_presets"; - this.treeView_presets.ShowLines = false; - this.treeView_presets.Size = new System.Drawing.Size(239, 456); - this.treeView_presets.TabIndex = 0; - this.treeView_presets.MouseUp += new System.Windows.Forms.MouseEventHandler(this.treeview_presets_mouseUp); - this.treeView_presets.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_presets_AfterSelect); - this.treeView_presets.KeyUp += new System.Windows.Forms.KeyEventHandler(this.treeView_presets_deleteKey); + this.splitContainer1.Panel2.Controls.Add(this.presetsToolStrip); + this.splitContainer1.Size = new System.Drawing.Size(240, 462); + this.splitContainer1.SplitterDistance = 424; + this.splitContainer1.TabIndex = 0; + // + // presetsToolStrip + // + this.presetsToolStrip.CanOverflow = false; + this.presetsToolStrip.Dock = System.Windows.Forms.DockStyle.Fill; + this.presetsToolStrip.GripMargin = new System.Windows.Forms.Padding(0); + this.presetsToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; + this.presetsToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.BtnAddPreset, + this.BtnRemovePreset, + this.toolStripDropDownButton2}); + this.presetsToolStrip.Location = new System.Drawing.Point(0, 0); + this.presetsToolStrip.Name = "presetsToolStrip"; + this.presetsToolStrip.Padding = new System.Windows.Forms.Padding(0); + this.presetsToolStrip.Size = new System.Drawing.Size(240, 34); + this.presetsToolStrip.TabIndex = 2; + this.presetsToolStrip.Text = "toolStrip2"; + // + // BtnAddPreset + // + this.BtnAddPreset.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.BtnAddPreset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.BtnAddPreset.Image = global::Handbrake.Properties.Resources.Add16; + this.BtnAddPreset.ImageTransparentColor = System.Drawing.Color.Magenta; + this.BtnAddPreset.Name = "BtnAddPreset"; + this.BtnAddPreset.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; + this.BtnAddPreset.Padding = new System.Windows.Forms.Padding(8, 0, 8, 0); + this.BtnAddPreset.Size = new System.Drawing.Size(65, 31); + this.BtnAddPreset.Text = "Add"; + this.BtnAddPreset.Click += new System.EventHandler(this.BtnAddPreset_Click); + // + // BtnRemovePreset + // + this.BtnRemovePreset.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.BtnRemovePreset.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.BtnRemovePreset.Image = global::Handbrake.Properties.Resources.Close; + this.BtnRemovePreset.ImageTransparentColor = System.Drawing.Color.Magenta; + this.BtnRemovePreset.Name = "BtnRemovePreset"; + this.BtnRemovePreset.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; + this.BtnRemovePreset.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0); + this.BtnRemovePreset.Size = new System.Drawing.Size(82, 31); + this.BtnRemovePreset.Text = "Remove"; + this.BtnRemovePreset.Click += new System.EventHandler(this.BtnRemovePreset_Click); + // + // toolStripDropDownButton2 + // + this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.MnuSetDefaultPreset, + this.toolStripSeparator3, + this.MnuImportPreset, + this.MnuExportPreset, + this.toolStripSeparator6, + this.MnuResetBuiltInPresets}); + this.toolStripDropDownButton2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolStripDropDownButton2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.toolStripDropDownButton2.Image = global::Handbrake.Properties.Resources.Options24; + this.toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripDropDownButton2.Name = "toolStripDropDownButton2"; + this.toolStripDropDownButton2.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; + this.toolStripDropDownButton2.Size = new System.Drawing.Size(79, 31); + this.toolStripDropDownButton2.Text = "Options"; // - // presets_menu + // MnuSetDefaultPreset // - this.presets_menu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.pmnu_expandAll, - this.pmnu_collapse, - this.sep1, - this.pmnu_saveChanges, - this.pmnu_delete}); - this.presets_menu.Name = "presets_menu"; - this.presets_menu.Size = new System.Drawing.Size(155, 98); - this.presets_menu.Text = ";"; - this.presets_menu.Opening += new System.ComponentModel.CancelEventHandler(this.presets_menu_Opening); + this.MnuSetDefaultPreset.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.MnuSetDefaultPreset.Name = "MnuSetDefaultPreset"; + this.MnuSetDefaultPreset.Size = new System.Drawing.Size(178, 22); + this.MnuSetDefaultPreset.Text = "Set Default"; + this.MnuSetDefaultPreset.Click += new System.EventHandler(this.MnuSetDefaultPreset_Click); // - // pmnu_expandAll + // toolStripSeparator3 // - this.pmnu_expandAll.Name = "pmnu_expandAll"; - this.pmnu_expandAll.Size = new System.Drawing.Size(154, 22); - this.pmnu_expandAll.Text = "Expand All"; - this.pmnu_expandAll.Click += new System.EventHandler(this.pmnu_expandAll_Click); + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(175, 6); // - // pmnu_collapse + // MnuImportPreset // - this.pmnu_collapse.Name = "pmnu_collapse"; - this.pmnu_collapse.Size = new System.Drawing.Size(154, 22); - this.pmnu_collapse.Text = "Collapse All"; - this.pmnu_collapse.Click += new System.EventHandler(this.pmnu_collapse_Click); + this.MnuImportPreset.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.MnuImportPreset.Name = "MnuImportPreset"; + this.MnuImportPreset.Size = new System.Drawing.Size(178, 22); + this.MnuImportPreset.Text = "Import"; + this.MnuImportPreset.Click += new System.EventHandler(this.MnuImportPreset_Click); // - // sep1 + // MnuExportPreset // - this.sep1.Name = "sep1"; - this.sep1.Size = new System.Drawing.Size(151, 6); + this.MnuExportPreset.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.MnuExportPreset.Name = "MnuExportPreset"; + this.MnuExportPreset.Size = new System.Drawing.Size(178, 22); + this.MnuExportPreset.Text = "Export"; + this.MnuExportPreset.Click += new System.EventHandler(this.MnuExportPreset_Click); // - // pmnu_saveChanges + // toolStripSeparator6 // - this.pmnu_saveChanges.Name = "pmnu_saveChanges"; - this.pmnu_saveChanges.Size = new System.Drawing.Size(154, 22); - this.pmnu_saveChanges.Text = "Save Changes"; - this.pmnu_saveChanges.Click += new System.EventHandler(this.pmnu_saveChanges_Click); + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(175, 6); // - // pmnu_delete + // MnuResetBuiltInPresets // - this.pmnu_delete.Name = "pmnu_delete"; - this.pmnu_delete.Size = new System.Drawing.Size(154, 22); - this.pmnu_delete.Text = "Delete"; - this.pmnu_delete.Click += new System.EventHandler(this.pmnu_delete_click); + this.MnuResetBuiltInPresets.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.MnuResetBuiltInPresets.Name = "MnuResetBuiltInPresets"; + this.MnuResetBuiltInPresets.Size = new System.Drawing.Size(178, 22); + this.MnuResetBuiltInPresets.Text = "Reset Built-In Presets"; + this.MnuResetBuiltInPresets.Click += new System.EventHandler(this.MnuResetBuiltInPresets_Click); // // toolStrip1 // @@ -1277,12 +1256,15 @@ namespace Handbrake this.btn_showQueue, this.toolStripSeparator4, this.tb_preview, - this.btn_ActivityWindow}); + this.btn_ActivityWindow, + this.toolStripSeparator8, + this.toolStripDropDownButton1}); this.toolStrip1.Location = new System.Drawing.Point(0, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; - this.toolStrip1.Size = new System.Drawing.Size(1000, 39); + this.toolStrip1.Size = new System.Drawing.Size(1002, 39); this.toolStrip1.TabIndex = 1; + this.toolStrip1.TabStop = true; this.toolStrip1.Text = "toolStrip1"; // // btn_source @@ -1290,47 +1272,57 @@ namespace Handbrake this.btn_source.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btn_file_source, this.btn_dvd_source, - this.toolStripSeparator1, - this.mnu_dvd_drive}); + this.btnTitleSpecific, + this.toolStripSeparator1}); this.btn_source.Image = global::Handbrake.Properties.Resources.Movies; this.btn_source.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btn_source.ImageTransparentColor = System.Drawing.Color.Magenta; this.btn_source.Name = "btn_source"; - this.btn_source.Size = new System.Drawing.Size(85, 36); + this.btn_source.Size = new System.Drawing.Size(88, 36); this.btn_source.Text = "Source"; this.btn_source.ToolTipText = "Open a new source file or folder."; this.btn_source.Click += new System.EventHandler(this.btn_source_Click); // - // btn_file_source - // - this.btn_file_source.Image = global::Handbrake.Properties.Resources.Movies_Small; - this.btn_file_source.Name = "btn_file_source"; - this.btn_file_source.Size = new System.Drawing.Size(194, 22); - this.btn_file_source.Text = "Video File"; - this.btn_file_source.Click += new System.EventHandler(this.btn_file_source_Click); - // // btn_dvd_source // - this.btn_dvd_source.Image = ((System.Drawing.Image)(resources.GetObject("btn_dvd_source.Image"))); + this.btn_dvd_source.Image = global::Handbrake.Properties.Resources.folder; this.btn_dvd_source.ImageTransparentColor = System.Drawing.Color.Magenta; this.btn_dvd_source.Name = "btn_dvd_source"; - this.btn_dvd_source.Size = new System.Drawing.Size(194, 22); - this.btn_dvd_source.Text = "DVD/ VIDEO_TS Folder"; - this.btn_dvd_source.Click += new System.EventHandler(this.btn_dvd_source_Click); + this.btn_dvd_source.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) + | System.Windows.Forms.Keys.O))); + this.btn_dvd_source.Size = new System.Drawing.Size(182, 22); + this.btn_dvd_source.Text = "Folder"; + this.btn_dvd_source.Click += new System.EventHandler(this.BtnFolderScanClicked); // - // toolStripSeparator1 + // btnTitleSpecific // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(191, 6); + this.btnTitleSpecific.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.FileTitleSpecificScan, + this.FolderTitleSpecificScan}); + this.btnTitleSpecific.Name = "btnTitleSpecific"; + this.btnTitleSpecific.Size = new System.Drawing.Size(182, 22); + this.btnTitleSpecific.Text = "Title Specific Scan"; + // + // FileTitleSpecificScan + // + this.FileTitleSpecificScan.Image = global::Handbrake.Properties.Resources.Movies_Small; + this.FileTitleSpecificScan.Name = "FileTitleSpecificScan"; + this.FileTitleSpecificScan.Size = new System.Drawing.Size(125, 22); + this.FileTitleSpecificScan.Text = "Video File"; + this.FileTitleSpecificScan.Click += new System.EventHandler(this.VideoTitleSpecificScanClick); + // + // FolderTitleSpecificScan + // + this.FolderTitleSpecificScan.Image = global::Handbrake.Properties.Resources.folder; + this.FolderTitleSpecificScan.Name = "FolderTitleSpecificScan"; + this.FolderTitleSpecificScan.Size = new System.Drawing.Size(125, 22); + this.FolderTitleSpecificScan.Text = "Folder"; + this.FolderTitleSpecificScan.Click += new System.EventHandler(this.FolderTitleSpecificScanClick); // - // mnu_dvd_drive + // toolStripSeparator1 // - this.mnu_dvd_drive.Image = global::Handbrake.Properties.Resources.disc_small; - this.mnu_dvd_drive.Name = "mnu_dvd_drive"; - this.mnu_dvd_drive.Size = new System.Drawing.Size(194, 22); - this.mnu_dvd_drive.Text = "[No DVD Drive Ready]"; - this.mnu_dvd_drive.Visible = false; - this.mnu_dvd_drive.Click += new System.EventHandler(this.mnu_dvd_drive_Click); + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(179, 6); // // toolStripSeparator10 // @@ -1354,7 +1346,7 @@ namespace Handbrake this.btn_add2Queue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btn_add2Queue.ImageTransparentColor = System.Drawing.Color.Magenta; this.btn_add2Queue.Name = "btn_add2Queue"; - this.btn_add2Queue.Size = new System.Drawing.Size(110, 36); + this.btn_add2Queue.Size = new System.Drawing.Size(117, 36); this.btn_add2Queue.Text = "Add to Queue"; this.btn_add2Queue.ToolTipText = "Add a new item to the Queue"; this.btn_add2Queue.Click += new System.EventHandler(this.btn_add2Queue_Click); @@ -1365,7 +1357,7 @@ namespace Handbrake this.btn_showQueue.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btn_showQueue.ImageTransparentColor = System.Drawing.Color.Magenta; this.btn_showQueue.Name = "btn_showQueue"; - this.btn_showQueue.Size = new System.Drawing.Size(104, 36); + this.btn_showQueue.Size = new System.Drawing.Size(110, 36); this.btn_showQueue.Tag = ""; this.btn_showQueue.Text = "Show Queue"; this.btn_showQueue.Click += new System.EventHandler(this.btn_showQueue_Click); @@ -1377,11 +1369,11 @@ namespace Handbrake // // tb_preview // - this.tb_preview.Image = global::Handbrake.Properties.Resources.picture; + this.tb_preview.Image = global::Handbrake.Properties.Resources.window; this.tb_preview.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tb_preview.ImageTransparentColor = System.Drawing.Color.Magenta; this.tb_preview.Name = "tb_preview"; - this.tb_preview.Size = new System.Drawing.Size(81, 36); + this.tb_preview.Size = new System.Drawing.Size(84, 36); this.tb_preview.Text = "Preview"; this.tb_preview.Click += new System.EventHandler(this.tb_preview_Click); // @@ -1391,12 +1383,69 @@ namespace Handbrake this.btn_ActivityWindow.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btn_ActivityWindow.ImageTransparentColor = System.Drawing.Color.Magenta; this.btn_ActivityWindow.Name = "btn_ActivityWindow"; - this.btn_ActivityWindow.Size = new System.Drawing.Size(120, 36); + this.btn_ActivityWindow.Size = new System.Drawing.Size(130, 36); this.btn_ActivityWindow.Text = "Activity Window"; this.btn_ActivityWindow.ToolTipText = "Displays the activity window which displays the log of the last completed or curr" + "ently running encode."; this.btn_ActivityWindow.Click += new System.EventHandler(this.btn_ActivityWindow_Click); // + // toolStripSeparator8 + // + this.toolStripSeparator8.Name = "toolStripSeparator8"; + this.toolStripSeparator8.Size = new System.Drawing.Size(6, 39); + // + // toolStripDropDownButton1 + // + this.toolStripDropDownButton1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.toolStripDropDownButton1.AutoSize = false; + this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.MnuUserGuide, + this.toolStripSeparator9, + this.MnuCheckForUpdates, + this.toolStripSeparator11, + this.MnuAboutHandBrake}); + this.toolStripDropDownButton1.Image = global::Handbrake.Properties.Resources.Help24; + this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; + this.toolStripDropDownButton1.Size = new System.Drawing.Size(69, 36); + this.toolStripDropDownButton1.Text = "Help"; + // + // MnuUserGuide + // + this.MnuUserGuide.Image = global::Handbrake.Properties.Resources.info16; + this.MnuUserGuide.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.MnuUserGuide.Name = "MnuUserGuide"; + this.MnuUserGuide.Size = new System.Drawing.Size(192, 24); + this.MnuUserGuide.Text = "HandBrake User Guide"; + this.MnuUserGuide.Click += new System.EventHandler(this.MnuUserGuide_Click); + // + // toolStripSeparator9 + // + this.toolStripSeparator9.Name = "toolStripSeparator9"; + this.toolStripSeparator9.Size = new System.Drawing.Size(189, 6); + // + // MnuCheckForUpdates + // + this.MnuCheckForUpdates.Name = "MnuCheckForUpdates"; + this.MnuCheckForUpdates.Size = new System.Drawing.Size(192, 24); + this.MnuCheckForUpdates.Text = "Check for Updates"; + this.MnuCheckForUpdates.Click += new System.EventHandler(this.MnuCheckForUpdates_Click); + // + // toolStripSeparator11 + // + this.toolStripSeparator11.Name = "toolStripSeparator11"; + this.toolStripSeparator11.Size = new System.Drawing.Size(189, 6); + // + // MnuAboutHandBrake + // + this.MnuAboutHandBrake.Image = global::Handbrake.Properties.Resources.hb16; + this.MnuAboutHandBrake.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.MnuAboutHandBrake.Name = "MnuAboutHandBrake"; + this.MnuAboutHandBrake.Size = new System.Drawing.Size(192, 24); + this.MnuAboutHandBrake.Text = "About HandBrake"; + this.MnuAboutHandBrake.Click += new System.EventHandler(this.MnuAboutHandBrake_Click); + // // notifyIcon // this.notifyIcon.BalloonTipIcon = System.Windows.Forms.ToolTipIcon.Info; @@ -1410,20 +1459,41 @@ namespace Handbrake // StatusStrip // this.StatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.lbl_encode}); - this.StatusStrip.Location = new System.Drawing.Point(0, 599); + this.ProgressBarStatus, + this.lbl_encode, + this.lbl_updateCheck}); + this.StatusStrip.Location = new System.Drawing.Point(0, 561); this.StatusStrip.Name = "StatusStrip"; - this.StatusStrip.Size = new System.Drawing.Size(1000, 22); + this.StatusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; + this.StatusStrip.Size = new System.Drawing.Size(1002, 22); + this.StatusStrip.SizingGrip = false; this.StatusStrip.TabIndex = 7; this.StatusStrip.Text = "statusStrip1"; // + // ProgressBarStatus + // + this.ProgressBarStatus.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; + this.ProgressBarStatus.Name = "ProgressBarStatus"; + this.ProgressBarStatus.Size = new System.Drawing.Size(100, 16); + this.ProgressBarStatus.Visible = false; + // // lbl_encode // - this.lbl_encode.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbl_encode.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_encode.Name = "lbl_encode"; - this.lbl_encode.Size = new System.Drawing.Size(31, 17); + this.lbl_encode.Size = new System.Drawing.Size(28, 17); this.lbl_encode.Text = "{0}"; // + // lbl_updateCheck + // + this.lbl_updateCheck.BackColor = System.Drawing.Color.Transparent; + this.lbl_updateCheck.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; + this.lbl_updateCheck.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbl_updateCheck.Name = "lbl_updateCheck"; + this.lbl_updateCheck.Size = new System.Drawing.Size(139, 17); + this.lbl_updateCheck.Text = "Checking for Updates ..."; + this.lbl_updateCheck.Visible = false; + // // hbproc // this.hbproc.StartInfo.Domain = ""; @@ -1434,88 +1504,242 @@ namespace Handbrake this.hbproc.StartInfo.UserName = ""; this.hbproc.SynchronizingObject = this; // - // label1 - // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(13, 74); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(56, 13); - this.label1.TabIndex = 8; - this.label1.Text = "Source:"; - // - // lbl_source - // - this.lbl_source.AutoSize = true; - this.lbl_source.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbl_source.Location = new System.Drawing.Point(75, 74); - this.lbl_source.Name = "lbl_source"; - this.lbl_source.Size = new System.Drawing.Size(152, 13); - this.lbl_source.TabIndex = 9; - this.lbl_source.Text = "Click \'Source\' to continue"; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(13, 130); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(81, 13); - this.label4.TabIndex = 46; - this.label4.Text = "Destination"; - // - // groupBox_output - // - this.groupBox_output.AutoSize = true; - this.groupBox_output.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.groupBox_output.Location = new System.Drawing.Point(13, 189); - this.groupBox_output.Name = "groupBox_output"; - this.groupBox_output.Size = new System.Drawing.Size(210, 13); - this.groupBox_output.TabIndex = 47; - this.groupBox_output.Text = "Output Settings: (Preset: None)"; + // File_Save + // + this.File_Save.DefaultExt = "hb"; + this.File_Save.Filter = "hb|*.hb"; + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.AutoSize = true; + this.tableLayoutPanel2.ColumnCount = 3; + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel2.Controls.Add(this.Label3, 0, 0); + this.tableLayoutPanel2.Controls.Add(this.text_destination, 1, 0); + this.tableLayoutPanel2.Controls.Add(this.btn_destBrowse, 2, 0); + this.tableLayoutPanel2.Location = new System.Drawing.Point(21, 132); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(723, 29); + this.tableLayoutPanel2.TabIndex = 3; + // + // btn_destBrowse + // + this.btn_destBrowse.AutoSize = true; + this.btn_destBrowse.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btn_destBrowse.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.btn_destBrowse.Location = new System.Drawing.Point(645, 3); + this.btn_destBrowse.Name = "btn_destBrowse"; + this.btn_destBrowse.Size = new System.Drawing.Size(75, 23); + this.btn_destBrowse.TabIndex = 2; + this.btn_destBrowse.Text = "Browse"; + this.btn_destBrowse.UseVisualStyleBackColor = true; + this.btn_destBrowse.Click += new System.EventHandler(this.btn_destBrowse_Click); + // + // tableLayoutPanel3 + // + this.tableLayoutPanel3.AutoSize = true; + this.tableLayoutPanel3.ColumnCount = 5; + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel3.Controls.Add(this.label5, 0, 0); + this.tableLayoutPanel3.Controls.Add(this.drop_format, 1, 0); + this.tableLayoutPanel3.Controls.Add(this.check_largeFile, 2, 0); + this.tableLayoutPanel3.Controls.Add(this.check_optimiseMP4, 3, 0); + this.tableLayoutPanel3.Controls.Add(this.check_iPodAtom, 4, 0); + this.tableLayoutPanel3.Location = new System.Drawing.Point(21, 180); + this.tableLayoutPanel3.Name = "tableLayoutPanel3"; + this.tableLayoutPanel3.RowCount = 1; + this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel3.Size = new System.Drawing.Size(723, 27); + this.tableLayoutPanel3.TabIndex = 5; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.AutoSize = true; + this.tableLayoutPanel1.ColumnCount = 12; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 35F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 5F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); + this.tableLayoutPanel1.Controls.Add(this.Label10, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.drp_dvdtitle, 1, 0); + this.tableLayoutPanel1.Controls.Add(this.lbl_angle, 2, 0); + this.tableLayoutPanel1.Controls.Add(this.drop_angle, 3, 0); + this.tableLayoutPanel1.Controls.Add(this.drop_chapterStart, 7, 0); + this.tableLayoutPanel1.Controls.Add(this.Label13, 8, 0); + this.tableLayoutPanel1.Controls.Add(this.drop_chapterFinish, 9, 0); + this.tableLayoutPanel1.Controls.Add(this.label_duration, 10, 0); + this.tableLayoutPanel1.Controls.Add(this.lbl_duration, 11, 0); + this.tableLayoutPanel1.Controls.Add(this.drop_mode, 5, 0); + this.tableLayoutPanel1.Location = new System.Drawing.Point(21, 86); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 1; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(723, 27); + this.tableLayoutPanel1.TabIndex = 2; + // + // Label10 + // + this.Label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.Label10.AutoSize = true; + this.Label10.ForeColor = System.Drawing.Color.Black; + this.Label10.Location = new System.Drawing.Point(3, 7); + this.Label10.Name = "Label10"; + this.Label10.Size = new System.Drawing.Size(31, 13); + this.Label10.TabIndex = 0; + this.Label10.Text = "Title:"; + // + // lbl_angle + // + this.lbl_angle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.lbl_angle.AutoSize = true; + this.lbl_angle.ForeColor = System.Drawing.Color.Black; + this.lbl_angle.Location = new System.Drawing.Point(165, 7); + this.lbl_angle.Name = "lbl_angle"; + this.lbl_angle.Size = new System.Drawing.Size(38, 13); + this.lbl_angle.TabIndex = 2; + this.lbl_angle.Text = "Angle:"; + // + // Label13 + // + this.Label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.Label13.AutoSize = true; + this.Label13.Location = new System.Drawing.Point(458, 7); + this.Label13.Name = "Label13"; + this.Label13.Size = new System.Drawing.Size(45, 13); + this.Label13.TabIndex = 6; + this.Label13.Text = "through"; + // + // label_duration + // + this.label_duration.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); + this.label_duration.AutoSize = true; + this.label_duration.BackColor = System.Drawing.Color.Transparent; + this.label_duration.Location = new System.Drawing.Point(584, 7); + this.label_duration.Name = "label_duration"; + this.label_duration.Size = new System.Drawing.Size(52, 13); + this.label_duration.TabIndex = 8; + this.label_duration.Text = "Duration:"; + // + // lbl_duration + // + this.lbl_duration.Anchor = System.Windows.Forms.AnchorStyles.Left; + this.lbl_duration.AutoSize = true; + this.lbl_duration.BackColor = System.Drawing.Color.Transparent; + this.lbl_duration.Location = new System.Drawing.Point(642, 7); + this.lbl_duration.Name = "lbl_duration"; + this.lbl_duration.Size = new System.Drawing.Size(39, 13); + this.lbl_duration.TabIndex = 9; + this.lbl_duration.Text = "--:--:--"; + // + // labelStaticDestination + // + this.labelStaticDestination.AutoSize = true; + this.labelStaticDestination.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelStaticDestination.Location = new System.Drawing.Point(9, 116); + this.labelStaticDestination.Name = "labelStaticDestination"; + this.labelStaticDestination.Size = new System.Drawing.Size(75, 13); + this.labelStaticDestination.TabIndex = 3; + this.labelStaticDestination.Text = "Destination:"; + // + // labelPreset + // + this.labelPreset.AutoSize = true; + this.labelPreset.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelPreset.Location = new System.Drawing.Point(9, 164); + this.labelPreset.Name = "labelPreset"; + this.labelPreset.Size = new System.Drawing.Size(180, 13); + this.labelPreset.TabIndex = 5; + this.labelPreset.Text = "Output Settings (Preset: None)"; + // + // labelSource + // + this.labelSource.AutoSize = true; + this.labelSource.Location = new System.Drawing.Point(55, 0); + this.labelSource.Name = "labelSource"; + this.labelSource.Size = new System.Drawing.Size(137, 13); + this.labelSource.TabIndex = 1; + this.labelSource.Text = "Select \"Source\" to continue"; + // + // labelStaticSource + // + this.labelStaticSource.AutoSize = true; + this.labelStaticSource.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.labelStaticSource.Location = new System.Drawing.Point(0, 0); + this.labelStaticSource.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); + this.labelStaticSource.Name = "labelStaticSource"; + this.labelStaticSource.Size = new System.Drawing.Size(49, 13); + this.labelStaticSource.TabIndex = 0; + this.labelStaticSource.Text = "Source:"; + // + // SourceLayoutPanel + // + this.SourceLayoutPanel.AutoSize = true; + this.SourceLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.SourceLayoutPanel.Controls.Add(this.labelStaticSource); + this.SourceLayoutPanel.Controls.Add(this.labelSource); + this.SourceLayoutPanel.Location = new System.Drawing.Point(9, 70); + this.SourceLayoutPanel.Margin = new System.Windows.Forms.Padding(0); + this.SourceLayoutPanel.Name = "SourceLayoutPanel"; + this.SourceLayoutPanel.Size = new System.Drawing.Size(195, 13); + this.SourceLayoutPanel.TabIndex = 2; + // + // openPreset + // + this.openPreset.DefaultExt = "plist"; + this.openPreset.Filter = "Plist Files|*.plist"; + // + // File_ChapterImport + // + this.File_ChapterImport.Filter = "CSV Files|*.csv"; // // frmMain // this.AllowDrop = true; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.AutoScroll = true; - this.ClientSize = new System.Drawing.Size(1000, 621); - this.Controls.Add(this.groupBox_output); - this.Controls.Add(this.drop_format); - this.Controls.Add(this.label5); - this.Controls.Add(this.btn_destBrowse); - this.Controls.Add(this.check_largeFile); - this.Controls.Add(this.label4); - this.Controls.Add(this.check_iPodAtom); - this.Controls.Add(this.Label3); - this.Controls.Add(this.check_optimiseMP4); - this.Controls.Add(this.drop_angle); - this.Controls.Add(this.text_destination); - this.Controls.Add(this.lbl_source); - this.Controls.Add(this.lbl_angle); - this.Controls.Add(this.lbl_duration); - this.Controls.Add(this.label_duration); - this.Controls.Add(this.label1); - this.Controls.Add(this.Label13); - this.Controls.Add(this.drop_chapterFinish); - this.Controls.Add(this.groupBox2); - this.Controls.Add(this.drop_chapterStart); + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.AutoSize = true; + this.ClientSize = new System.Drawing.Size(1002, 583); + this.Controls.Add(this.tableLayoutPanel3); this.Controls.Add(this.toolStrip1); - this.Controls.Add(this.drp_dvdtitle); - this.Controls.Add(this.Label9); - this.Controls.Add(this.tabs_panel); - this.Controls.Add(this.Label10); + this.Controls.Add(this.SourceLayoutPanel); this.Controls.Add(this.frmMainMenu); + this.Controls.Add(this.tableLayoutPanel2); + this.Controls.Add(this.labelPreset); + this.Controls.Add(this.groupBox2); this.Controls.Add(this.StatusStrip); + this.Controls.Add(this.tableLayoutPanel1); + this.Controls.Add(this.tabs_panel); + this.Controls.Add(this.labelStaticDestination); this.DoubleBuffered = true; + this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.KeyPreview = true; + this.MinimumSize = new System.Drawing.Size(900, 500); this.Name = "frmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "HandBrake"; notifyIconMenu.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.data_chpt)).EndInit(); + this.ChaptersMenu.ResumeLayout(false); + this.presets_menu.ResumeLayout(false); this.frmMainMenu.ResumeLayout(false); this.frmMainMenu.PerformLayout(); this.tab_audio.ResumeLayout(false); @@ -1533,12 +1757,23 @@ namespace Handbrake this.groupBox2.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); + this.splitContainer1.Panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); - this.presets_menu.ResumeLayout(false); + this.presetsToolStrip.ResumeLayout(false); + this.presetsToolStrip.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.StatusStrip.ResumeLayout(false); this.StatusStrip.PerformLayout(); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel2.PerformLayout(); + this.tableLayoutPanel3.ResumeLayout(false); + this.tableLayoutPanel3.PerformLayout(); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); + this.SourceLayoutPanel.ResumeLayout(false); + this.SourceLayoutPanel.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -1546,7 +1781,6 @@ namespace Handbrake #endregion - internal System.Windows.Forms.SaveFileDialog File_Save; internal System.Windows.Forms.ToolTip ToolTip; internal System.Windows.Forms.ToolStripMenuItem FileToolStripMenuItem; internal System.Windows.Forms.ToolStripMenuItem mnu_open3; @@ -1555,18 +1789,7 @@ namespace Handbrake internal System.Windows.Forms.ToolStripMenuItem mnu_encode; internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator5; internal System.Windows.Forms.ToolStripMenuItem mnu_options; - internal System.Windows.Forms.ToolStripMenuItem PresetsToolStripMenuItem; - internal System.Windows.Forms.ToolStripMenuItem mnu_presetReset; - internal System.Windows.Forms.ToolStripMenuItem HelpToolStripMenuItem; - internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator3; - internal System.Windows.Forms.ToolStripMenuItem mnu_about; internal System.Windows.Forms.MenuStrip frmMainMenu; - internal System.Windows.Forms.Label Label13; - internal System.Windows.Forms.ComboBox drop_chapterFinish; - internal System.Windows.Forms.ComboBox drop_chapterStart; - internal System.Windows.Forms.ComboBox drp_dvdtitle; - internal System.Windows.Forms.Label Label9; - internal System.Windows.Forms.Label Label10; internal System.Windows.Forms.Label Label3; internal System.Windows.Forms.ComboBox drp_videoEncoder; internal System.Windows.Forms.Label Label47; @@ -1576,24 +1799,18 @@ namespace Handbrake internal System.Windows.Forms.CheckBox check_largeFile; internal System.Windows.Forms.CheckBox check_turbo; internal System.Windows.Forms.Label Label2; - internal System.Windows.Forms.Label SliderValue; + internal System.Windows.Forms.Label lbl_SliderValue; internal System.Windows.Forms.ComboBox drp_videoFramerate; internal System.Windows.Forms.CheckBox check_2PassEncode; internal System.Windows.Forms.TrackBar slider_videoQuality; - internal System.Windows.Forms.TextBox text_filesize; internal System.Windows.Forms.TextBox text_bitrate; internal System.Windows.Forms.TabPage tab_picture; internal System.Windows.Forms.CheckBox Check_ChapterMarkers; internal System.Windows.Forms.TabControl tabs_panel; - internal System.Windows.Forms.Label Label46; + internal System.Windows.Forms.Label lbl_framerate; private System.Windows.Forms.GroupBox groupBox2; - internal System.Windows.Forms.Button btn_setDefault; - private System.Windows.Forms.ToolStripMenuItem mnu_SelectDefault; - private System.Windows.Forms.ToolStripMenuItem mnu_UpdateCheck; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; private System.Windows.Forms.SaveFileDialog DVD_Save; private System.Windows.Forms.OpenFileDialog File_Open; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; internal System.Windows.Forms.CheckBox check_iPodAtom; private System.Windows.Forms.TabPage tab_chapters; internal System.Windows.Forms.Label label31; @@ -1610,24 +1827,14 @@ namespace Handbrake private System.Windows.Forms.ToolStripButton btn_showQueue; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; private System.Windows.Forms.ToolStripButton btn_ActivityWindow; - private System.Windows.Forms.ToolStripMenuItem mnu_handbrake_home; - internal System.Windows.Forms.Button btn_removePreset; - internal System.Windows.Forms.Button btn_addPreset; internal System.Windows.Forms.Label label25; internal System.Windows.Forms.TabPage tab_advanced; - private System.Windows.Forms.Button btn_destBrowse; internal System.Windows.Forms.TreeView treeView_presets; internal System.Windows.Forms.RichTextBox rtf_query; private System.Windows.Forms.NotifyIcon notifyIcon; private System.Windows.Forms.ToolStripMenuItem btn_restore; - internal System.Windows.Forms.Label lbl_duration; - internal System.Windows.Forms.Label label_duration; private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; private System.Windows.Forms.ToolStripMenuItem btn_file_source; - private System.Windows.Forms.ToolStripMenuItem mnu_delete_preset; - private System.Windows.Forms.ToolStripMenuItem btn_new_preset; - private System.Windows.Forms.ToolStripMenuItem mnu_handbrake_forums; - private System.Windows.Forms.ToolStripMenuItem mnu_user_guide; private System.Windows.Forms.ToolStripDropDownButton btn_source; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripMenuItem btn_dvd_source; @@ -1638,7 +1845,6 @@ namespace Handbrake private System.Windows.Forms.ToolStripStatusLabel lbl_encode; internal System.Windows.Forms.OpenFileDialog ISO_Open; internal System.Windows.Forms.FolderBrowserDialog DVD_Open; - internal System.Windows.Forms.ToolStripMenuItem mnu_dvd_drive; private System.Windows.Forms.ContextMenuStrip presets_menu; private System.Windows.Forms.ToolStripMenuItem pmnu_expandAll; private System.Windows.Forms.ToolStripMenuItem pmnu_collapse; @@ -1651,24 +1857,67 @@ namespace Handbrake private System.Windows.Forms.TabPage tab_filters; internal System.Windows.Forms.RadioButton radio_cq; internal System.Windows.Forms.RadioButton radio_avgBitrate; - internal System.Windows.Forms.RadioButton radio_targetFilesize; internal Handbrake.Controls.x264Panel x264Panel; private System.Windows.Forms.ToolStripButton tb_preview; - private System.Windows.Forms.DataGridViewTextBoxColumn number; - private System.Windows.Forms.DataGridViewTextBoxColumn name; private System.Diagnostics.Process hbproc; - internal ComboBox drop_angle; - internal Label lbl_angle; private TabPage tab_subtitles; internal Handbrake.Controls.AudioPanel AudioSettings; - internal Handbrake.Controls.PictureSettings PictureSettings; internal Handbrake.Controls.Subtitles Subtitles; internal Handbrake.Controls.Filters Filters; - private Label label1; - internal Label lbl_source; - private Label label4; - internal Label groupBox_output; - - + private ToolStripStatusLabel lbl_updateCheck; + internal SaveFileDialog File_Save; + private TableLayoutPanel tableLayoutPanel2; + private Button btn_destBrowse; + private TableLayoutPanel tableLayoutPanel3; + private TableLayoutPanel tableLayoutPanel1; + internal Label lbl_angle; + internal ComboBox drop_angle; + internal ComboBox drop_chapterStart; + internal Label Label13; + internal ComboBox drop_chapterFinish; + internal Label label_duration; + internal Label lbl_duration; + private Label labelStaticDestination; + internal Label labelPreset; + internal Handbrake.Controls.PictureSettings PictureSettings; + private Label labelSource; + internal ComboBox drp_dvdtitle; + internal Label Label10; + private Label labelStaticSource; + private FlowLayoutPanel SourceLayoutPanel; + private OpenFileDialog openPreset; + private Button btn_importChapters; + private OpenFileDialog File_ChapterImport; + private ContextMenuStrip ChaptersMenu; + private ToolStripMenuItem mnu_resetChapters; + private ToolStripMenuItem pmnu_import; + private ToolStripSeparator toolStripSeparator2; + internal ComboBox drop_mode; + private Button btn_export; + private DataGridViewTextBoxColumn number; + private DataGridViewTextBoxColumn name; + private ToolStripProgressBar ProgressBarStatus; + internal CheckBox checkMaximumFramerate; + private ToolStripMenuItem btnTitleSpecific; + private ToolStripMenuItem FileTitleSpecificScan; + private ToolStripMenuItem FolderTitleSpecificScan; + internal Label lbl_rfwarn; + private ToolStripSeparator toolStripSeparator8; + private ToolStripDropDownButton toolStripDropDownButton1; + private ToolStripMenuItem MnuUserGuide; + private ToolStripSeparator toolStripSeparator9; + private ToolStripMenuItem MnuCheckForUpdates; + private ToolStripSeparator toolStripSeparator11; + private ToolStripMenuItem MnuAboutHandBrake; + private ToolStrip presetsToolStrip; + private ToolStripButton BtnAddPreset; + private ToolStripButton BtnRemovePreset; + private ToolStripDropDownButton toolStripDropDownButton2; + private ToolStripMenuItem MnuSetDefaultPreset; + private ToolStripSeparator toolStripSeparator3; + private ToolStripMenuItem MnuImportPreset; + private ToolStripMenuItem MnuExportPreset; + private ToolStripSeparator toolStripSeparator6; + private ToolStripMenuItem MnuResetBuiltInPresets; } } \ No newline at end of file