From 92292ed049a2f87f00cad38dcb659fe6b4f68623 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 14 Jun 2012 17:38:21 +0000 Subject: WinGui: Remove the legacy WinForms GUI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4732 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/Controls/AdvancedEncoderOpts.Designer.cs | 100 - win/CS/Controls/AdvancedEncoderOpts.cs | 70 - win/CS/Controls/AdvancedEncoderOpts.resx | 123 - win/CS/Controls/AudioPanel.Designer.cs | 600 ----- win/CS/Controls/AudioPanel.cs | 1276 ---------- win/CS/Controls/AudioPanel.resx | 175 -- win/CS/Controls/Filters.Designer.cs | 343 --- win/CS/Controls/Filters.cs | 469 ---- win/CS/Controls/Filters.resx | 120 - win/CS/Controls/PictureSettings.Designer.cs | 688 ------ win/CS/Controls/PictureSettings.cs | 572 ----- win/CS/Controls/PictureSettings.resx | 120 - win/CS/Controls/Subtitles.Designer.cs | 442 ---- win/CS/Controls/Subtitles.cs | 938 -------- win/CS/Controls/Subtitles.resx | 135 -- win/CS/Controls/x264Panel.Designer.cs | 775 ------- win/CS/Controls/x264Panel.cs | 1082 --------- win/CS/Controls/x264Panel.resx | 241 -- win/CS/DEPRECATED WARNING.txt | 3 - win/CS/Functions/Main.cs | 527 ----- win/CS/Functions/PresetLoader.cs | 349 --- win/CS/Functions/QueryGenerator.cs | 873 ------- win/CS/Functions/ToolStripRenderOverride.cs | 51 - win/CS/HandBrake10.sln | 16 - win/CS/HandBrakeCS.csproj | 241 +- win/CS/HandBrakeWPF/HandBrakeWPF.csproj | 8 - win/CS/HandBrakeWPF/releasenotes.html | 29 - win/CS/Installer/Installer.nsi | 325 --- win/CS/Installer/Installer64.nsi | 328 --- win/CS/Installer/MakeNightly.nsi.tmpl | 327 --- win/CS/Installer/MakeNightly64.nsi.tmpl | 326 --- win/CS/Model/ActivityLogMode.cs | 23 - win/CS/Model/QueryEncodeMode.cs | 16 - win/CS/Model/QueryPictureSettingsMode.cs | 18 - win/CS/Model/SourceType.cs | 33 - win/CS/Program.cs | 124 - win/CS/Resources/ActivityWindow.png | Bin 1277 -> 0 bytes win/CS/Resources/ActivityWindow_small.png | Bin 3490 -> 0 bytes win/CS/Resources/Add16.png | Bin 595 -> 0 bytes win/CS/Resources/AddToQueue.png | Bin 1913 -> 0 bytes win/CS/Resources/AddToQueue_small.png | Bin 829 -> 0 bytes win/CS/Resources/Close.png | Bin 1038 -> 0 bytes win/CS/Resources/ErrorX.png | Bin 10369 -> 0 bytes win/CS/Resources/General Preferences.png | Bin 1490 -> 0 bytes win/CS/Resources/Help16.png | Bin 3499 -> 0 bytes win/CS/Resources/Help24.png | Bin 1684 -> 0 bytes win/CS/Resources/Help32.png | Bin 2531 -> 0 bytes win/CS/Resources/Movies.png | Bin 2258 -> 0 bytes win/CS/Resources/Movies_Small.png | Bin 3629 -> 0 bytes win/CS/Resources/Options24.png | Bin 857 -> 0 bytes win/CS/Resources/Output_Small.png | Bin 3232 -> 0 bytes win/CS/Resources/Pause.png | Bin 1715 -> 0 bytes win/CS/Resources/Play.png | Bin 1792 -> 0 bytes win/CS/Resources/Play_small.png | Bin 1166 -> 0 bytes win/CS/Resources/Pref_Small.png | Bin 3353 -> 0 bytes win/CS/Resources/Queue.png | Bin 1676 -> 0 bytes win/CS/Resources/Queue_Small.png | Bin 3573 -> 0 bytes win/CS/Resources/Restore.png | Bin 541 -> 0 bytes win/CS/Resources/arrow_down.png | Bin 625 -> 0 bytes win/CS/Resources/arrow_left.png | Bin 654 -> 0 bytes win/CS/Resources/arrow_right.png | Bin 793 -> 0 bytes win/CS/Resources/arrow_up.png | Bin 669 -> 0 bytes win/CS/Resources/copy.png | Bin 3291 -> 0 bytes win/CS/Resources/disc_small.png | Bin 3575 -> 0 bytes win/CS/Resources/download.png | Bin 4569 -> 0 bytes win/CS/Resources/folder.png | Bin 463 -> 0 bytes win/CS/Resources/hb16.png | Bin 3746 -> 0 bytes win/CS/Resources/hb32.png | Bin 5935 -> 0 bytes win/CS/Resources/info16.png | Bin 3495 -> 0 bytes win/CS/Resources/logo128.png | Bin 31046 -> 0 bytes win/CS/Resources/logo64.png | Bin 11967 -> 0 bytes win/CS/Resources/picture.png | Bin 698 -> 0 bytes win/CS/Resources/save.png | Bin 3115 -> 0 bytes win/CS/Resources/stop.png | Bin 1341 -> 0 bytes win/CS/Resources/window.png | Bin 935 -> 0 bytes win/CS/ToolWindows/AdvancedAudio.Designer.cs | 183 -- win/CS/ToolWindows/AdvancedAudio.cs | 156 -- win/CS/ToolWindows/AdvancedAudio.resx | 500 ---- win/CS/ToolWindows/BatchAdd.Designer.cs | 224 -- win/CS/ToolWindows/BatchAdd.cs | 149 -- win/CS/ToolWindows/BatchAdd.resx | 500 ---- win/CS/ToolWindows/DownloadUpdate.Designer.cs | 111 - win/CS/ToolWindows/DownloadUpdate.cs | 122 - win/CS/ToolWindows/DownloadUpdate.resx | 670 ------ win/CS/ToolWindows/ExceptionWindow.cs | 81 - win/CS/ToolWindows/ExceptionWindow.designer.cs | 187 -- win/CS/ToolWindows/ExceptionWindow.resx | 868 ------- win/CS/ToolWindows/TitleSpecificScan.Designer.cs | 121 - win/CS/ToolWindows/TitleSpecificScan.cs | 55 - win/CS/ToolWindows/TitleSpecificScan.resx | 500 ---- win/CS/ToolWindows/UpdateInfo.Designer.cs | 241 -- win/CS/ToolWindows/UpdateInfo.cs | 125 - win/CS/ToolWindows/UpdateInfo.resx | 1021 -------- win/CS/UserSettingConstants.cs | 48 - win/CS/app.config | 19 - win/CS/build.xml | 3 +- win/CS/defaultsettings.xml | 443 ---- win/CS/frmAbout.Designer.cs | 165 -- win/CS/frmAbout.cs | 47 - win/CS/frmAbout.resx | 515 ----- win/CS/frmActivityWindow.Designer.cs | 186 -- win/CS/frmActivityWindow.cs | 493 ---- win/CS/frmActivityWindow.resx | 523 ----- win/CS/frmAddPreset.Designer.cs | 246 -- win/CS/frmAddPreset.cs | 141 -- win/CS/frmAddPreset.resx | 503 ---- win/CS/frmMain.Designer.cs | 2011 ---------------- win/CS/frmMain.cs | 2685 ---------------------- win/CS/frmMain.resx | 1031 --------- win/CS/frmOptions.Designer.cs | 2019 ---------------- win/CS/frmOptions.cs | 735 ------ win/CS/frmOptions.resx | 552 ----- win/CS/frmPreview.Designer.cs | 176 -- win/CS/frmPreview.cs | 303 --- win/CS/frmPreview.resx | 500 ---- win/CS/frmQueue.Designer.cs | 560 ----- win/CS/frmQueue.cs | 786 ------- win/CS/frmQueue.resx | 536 ----- win/CS/handbrakepineapple.ico | Bin 22486 -> 0 bytes 119 files changed, 3 insertions(+), 32923 deletions(-) delete mode 100644 win/CS/Controls/AdvancedEncoderOpts.Designer.cs delete mode 100644 win/CS/Controls/AdvancedEncoderOpts.cs delete mode 100644 win/CS/Controls/AdvancedEncoderOpts.resx delete mode 100644 win/CS/Controls/AudioPanel.Designer.cs delete mode 100644 win/CS/Controls/AudioPanel.cs delete mode 100644 win/CS/Controls/AudioPanel.resx delete mode 100644 win/CS/Controls/Filters.Designer.cs delete mode 100644 win/CS/Controls/Filters.cs delete mode 100644 win/CS/Controls/Filters.resx delete mode 100644 win/CS/Controls/PictureSettings.Designer.cs delete mode 100644 win/CS/Controls/PictureSettings.cs delete mode 100644 win/CS/Controls/PictureSettings.resx delete mode 100644 win/CS/Controls/Subtitles.Designer.cs delete mode 100644 win/CS/Controls/Subtitles.cs delete mode 100644 win/CS/Controls/Subtitles.resx delete mode 100644 win/CS/Controls/x264Panel.Designer.cs delete mode 100644 win/CS/Controls/x264Panel.cs delete mode 100644 win/CS/Controls/x264Panel.resx delete mode 100644 win/CS/DEPRECATED WARNING.txt delete mode 100644 win/CS/Functions/Main.cs delete mode 100644 win/CS/Functions/PresetLoader.cs delete mode 100644 win/CS/Functions/QueryGenerator.cs delete mode 100644 win/CS/Functions/ToolStripRenderOverride.cs delete mode 100644 win/CS/HandBrakeWPF/releasenotes.html delete mode 100644 win/CS/Installer/Installer.nsi delete mode 100644 win/CS/Installer/Installer64.nsi delete mode 100644 win/CS/Installer/MakeNightly.nsi.tmpl delete mode 100644 win/CS/Installer/MakeNightly64.nsi.tmpl delete mode 100644 win/CS/Model/ActivityLogMode.cs delete mode 100644 win/CS/Model/QueryEncodeMode.cs delete mode 100644 win/CS/Model/QueryPictureSettingsMode.cs delete mode 100644 win/CS/Model/SourceType.cs delete mode 100644 win/CS/Program.cs delete mode 100644 win/CS/Resources/ActivityWindow.png delete mode 100644 win/CS/Resources/ActivityWindow_small.png delete mode 100644 win/CS/Resources/Add16.png delete mode 100644 win/CS/Resources/AddToQueue.png delete mode 100644 win/CS/Resources/AddToQueue_small.png delete mode 100644 win/CS/Resources/Close.png delete mode 100644 win/CS/Resources/ErrorX.png delete mode 100644 win/CS/Resources/General Preferences.png delete mode 100644 win/CS/Resources/Help16.png delete mode 100644 win/CS/Resources/Help24.png delete mode 100644 win/CS/Resources/Help32.png delete mode 100644 win/CS/Resources/Movies.png delete mode 100644 win/CS/Resources/Movies_Small.png delete mode 100644 win/CS/Resources/Options24.png delete mode 100644 win/CS/Resources/Output_Small.png delete mode 100644 win/CS/Resources/Pause.png delete mode 100644 win/CS/Resources/Play.png delete mode 100644 win/CS/Resources/Play_small.png delete mode 100644 win/CS/Resources/Pref_Small.png delete mode 100644 win/CS/Resources/Queue.png delete mode 100644 win/CS/Resources/Queue_Small.png delete mode 100644 win/CS/Resources/Restore.png delete mode 100644 win/CS/Resources/arrow_down.png delete mode 100644 win/CS/Resources/arrow_left.png delete mode 100644 win/CS/Resources/arrow_right.png delete mode 100644 win/CS/Resources/arrow_up.png delete mode 100644 win/CS/Resources/copy.png delete mode 100644 win/CS/Resources/disc_small.png delete mode 100644 win/CS/Resources/download.png delete mode 100644 win/CS/Resources/folder.png delete mode 100644 win/CS/Resources/hb16.png delete mode 100644 win/CS/Resources/hb32.png delete mode 100644 win/CS/Resources/info16.png delete mode 100644 win/CS/Resources/logo128.png delete mode 100644 win/CS/Resources/logo64.png delete mode 100644 win/CS/Resources/picture.png delete mode 100644 win/CS/Resources/save.png delete mode 100644 win/CS/Resources/stop.png delete mode 100644 win/CS/Resources/window.png delete mode 100644 win/CS/ToolWindows/AdvancedAudio.Designer.cs delete mode 100644 win/CS/ToolWindows/AdvancedAudio.cs delete mode 100644 win/CS/ToolWindows/AdvancedAudio.resx delete mode 100644 win/CS/ToolWindows/BatchAdd.Designer.cs delete mode 100644 win/CS/ToolWindows/BatchAdd.cs delete mode 100644 win/CS/ToolWindows/BatchAdd.resx delete mode 100644 win/CS/ToolWindows/DownloadUpdate.Designer.cs delete mode 100644 win/CS/ToolWindows/DownloadUpdate.cs delete mode 100644 win/CS/ToolWindows/DownloadUpdate.resx delete mode 100644 win/CS/ToolWindows/ExceptionWindow.cs delete mode 100644 win/CS/ToolWindows/ExceptionWindow.designer.cs delete mode 100644 win/CS/ToolWindows/ExceptionWindow.resx delete mode 100644 win/CS/ToolWindows/TitleSpecificScan.Designer.cs delete mode 100644 win/CS/ToolWindows/TitleSpecificScan.cs delete mode 100644 win/CS/ToolWindows/TitleSpecificScan.resx delete mode 100644 win/CS/ToolWindows/UpdateInfo.Designer.cs delete mode 100644 win/CS/ToolWindows/UpdateInfo.cs delete mode 100644 win/CS/ToolWindows/UpdateInfo.resx delete mode 100644 win/CS/UserSettingConstants.cs delete mode 100644 win/CS/app.config delete mode 100644 win/CS/defaultsettings.xml delete mode 100644 win/CS/frmAbout.Designer.cs delete mode 100644 win/CS/frmAbout.cs delete mode 100644 win/CS/frmAbout.resx delete mode 100644 win/CS/frmActivityWindow.Designer.cs delete mode 100644 win/CS/frmActivityWindow.cs delete mode 100644 win/CS/frmActivityWindow.resx delete mode 100644 win/CS/frmAddPreset.Designer.cs delete mode 100644 win/CS/frmAddPreset.cs delete mode 100644 win/CS/frmAddPreset.resx delete mode 100644 win/CS/frmMain.Designer.cs delete mode 100644 win/CS/frmMain.cs delete mode 100644 win/CS/frmMain.resx delete mode 100644 win/CS/frmOptions.Designer.cs delete mode 100644 win/CS/frmOptions.cs delete mode 100644 win/CS/frmOptions.resx delete mode 100644 win/CS/frmPreview.Designer.cs delete mode 100644 win/CS/frmPreview.cs delete mode 100644 win/CS/frmPreview.resx delete mode 100644 win/CS/frmQueue.Designer.cs delete mode 100644 win/CS/frmQueue.cs delete mode 100644 win/CS/frmQueue.resx delete mode 100644 win/CS/handbrakepineapple.ico (limited to 'win/CS') diff --git a/win/CS/Controls/AdvancedEncoderOpts.Designer.cs b/win/CS/Controls/AdvancedEncoderOpts.Designer.cs deleted file mode 100644 index 4ee6d85cf..000000000 --- a/win/CS/Controls/AdvancedEncoderOpts.Designer.cs +++ /dev/null @@ -1,100 +0,0 @@ -/* x264Panel.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. */ - -namespace Handbrake.Controls -{ - partial class AdvancedEncoderOpts - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.label43 = new System.Windows.Forms.Label(); - this.advancedQuery = new System.Windows.Forms.RichTextBox(); - this.ToolTip = new System.Windows.Forms.ToolTip(this.components); - this.label64 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // label43 - // - this.label43.AutoSize = true; - this.label43.BackColor = System.Drawing.Color.Transparent; - this.label43.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label43.Location = new System.Drawing.Point(13, 13); - this.label43.Name = "label43"; - this.label43.Size = new System.Drawing.Size(63, 13); - this.label43.TabIndex = 49; - this.label43.Text = "Advanced"; - // - // advancedQuery - // - this.advancedQuery.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.advancedQuery.Location = new System.Drawing.Point(16, 53); - this.advancedQuery.Name = "advancedQuery"; - this.advancedQuery.Size = new System.Drawing.Size(688, 128); - this.advancedQuery.TabIndex = 80; - this.advancedQuery.Text = ""; - // - // ToolTip - // - this.ToolTip.Active = false; - this.ToolTip.AutomaticDelay = 1000; - this.ToolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; - // - // label64 - // - this.label64.AutoSize = true; - this.label64.Location = new System.Drawing.Point(13, 35); - this.label64.Name = "label64"; - this.label64.Size = new System.Drawing.Size(163, 13); - this.label64.TabIndex = 81; - this.label64.Text = "Encoder advanced option string:"; - // - // x264Panel - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; - this.BackColor = System.Drawing.Color.Transparent; - this.Controls.Add(this.label64); - this.Controls.Add(this.advancedQuery); - this.Controls.Add(this.label43); - this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Size = new System.Drawing.Size(720, 305); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - internal System.Windows.Forms.Label label43; - internal System.Windows.Forms.RichTextBox advancedQuery; - private System.Windows.Forms.ToolTip ToolTip; - internal System.Windows.Forms.Label label64; - } -} diff --git a/win/CS/Controls/AdvancedEncoderOpts.cs b/win/CS/Controls/AdvancedEncoderOpts.cs deleted file mode 100644 index b3f42913a..000000000 --- a/win/CS/Controls/AdvancedEncoderOpts.cs +++ /dev/null @@ -1,70 +0,0 @@ -/* AdvancedEncoderOpts.cs $ - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -namespace Handbrake.Controls -{ - using System.Windows.Forms; - - using HandBrake.ApplicationServices; - using HandBrake.ApplicationServices.Services.Interfaces; - - /// - /// The x264 Panel - /// - public partial class AdvancedEncoderOpts : UserControl - { - /// - /// The User Setting Service. - /// - private readonly IUserSettingService UserSettingService = ServiceManager.UserSettingService; - - /// - /// Initializes a new instance of the class. - /// - public AdvancedEncoderOpts() - { - InitializeComponent(); - - if (this.UserSettingService.GetUserSetting(UserSettingConstants.TooltipEnable)) - ToolTip.Active = true; - } - - /// - /// Gets or sets the X264 query string - /// - public string AdavancedQuery - { - get - { - return advancedQuery.Text; - } - - set - { - advancedQuery.Text = value; - } - } - - /// - /// Sets a value indicating whether IsDisabled. - /// - public bool IsDisabled - { - set - { - if (value) - { - this.advancedQuery.Enabled = false; - this.advancedQuery.Text = "Advanced encoder option passthrough is not currently supported for the encoder you have chosen."; - } - else - { - this.advancedQuery.Enabled = true; - this.advancedQuery.Text = string.Empty; - } - } - } - } -} \ No newline at end of file diff --git a/win/CS/Controls/AdvancedEncoderOpts.resx b/win/CS/Controls/AdvancedEncoderOpts.resx deleted file mode 100644 index 89a8b3473..000000000 --- a/win/CS/Controls/AdvancedEncoderOpts.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 17, 17 - - \ No newline at end of file diff --git a/win/CS/Controls/AudioPanel.Designer.cs b/win/CS/Controls/AudioPanel.Designer.cs deleted file mode 100644 index 3a4653853..000000000 --- a/win/CS/Controls/AudioPanel.Designer.cs +++ /dev/null @@ -1,600 +0,0 @@ -/* AudioPanel.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. */ - -namespace Handbrake.Controls -{ - partial class AudioPanel - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Component Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AudioPanel)); - this.audioMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - this.audioList_MoveToTop = new System.Windows.Forms.ToolStripMenuItem(); - this.audioList_moveup = new System.Windows.Forms.ToolStripMenuItem(); - this.audioList_movedown = new System.Windows.Forms.ToolStripMenuItem(); - this.audioList_MoveToBottom = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.audioList_remove = new System.Windows.Forms.ToolStripMenuItem(); - this.label68 = new System.Windows.Forms.Label(); - this.drp_audioEncoder = new System.Windows.Forms.ComboBox(); - this.drp_audioMix = new System.Windows.Forms.ComboBox(); - this.drp_audioTrack = new System.Windows.Forms.ComboBox(); - this.drp_audioBitrate = new System.Windows.Forms.ComboBox(); - this.drp_audioSample = new System.Windows.Forms.ComboBox(); - this.AudioMenuRowHeightHack = new System.Windows.Forms.ImageList(this.components); - this.audioList = new System.Windows.Forms.DataGridView(); - this.Source = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.AudioCodec = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Mixdown = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Samplerate = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Bitrate = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DRC = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Gain = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ToolTips = new System.Windows.Forms.ToolTip(this.components); - this.drp_passthruFallback = new System.Windows.Forms.ComboBox(); - this.gb_autoPassthru = new System.Windows.Forms.GroupBox(); - this.label1 = new System.Windows.Forms.Label(); - this.check_dtshd = new System.Windows.Forms.CheckBox(); - this.check_dts = new System.Windows.Forms.CheckBox(); - this.check_ac3 = new System.Windows.Forms.CheckBox(); - this.check_aac = new System.Windows.Forms.CheckBox(); - this.check_mp3 = new System.Windows.Forms.CheckBox(); - this.btn_AdvancedAudio = new System.Windows.Forms.Button(); - this.btn_addAudioTrack = new wyDay.Controls.SplitButton(); - this.AddTrackMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - this.mnu_AddAll = new System.Windows.Forms.ToolStripMenuItem(); - this.btn_RemoveTrack = new wyDay.Controls.SplitButton(); - this.RemoveTrackMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - this.mnu_ClearAll = new System.Windows.Forms.ToolStripMenuItem(); - this.audioMenu.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.audioList)).BeginInit(); - this.gb_autoPassthru.SuspendLayout(); - this.AddTrackMenu.SuspendLayout(); - this.RemoveTrackMenu.SuspendLayout(); - this.SuspendLayout(); - // - // audioMenu - // - this.audioMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.audioList_MoveToTop, - this.audioList_moveup, - this.audioList_movedown, - this.audioList_MoveToBottom, - this.toolStripSeparator2, - this.audioList_remove}); - this.audioMenu.Name = "audioMenu"; - this.audioMenu.Size = new System.Drawing.Size(165, 120); - // - // audioList_MoveToTop - // - this.audioList_MoveToTop.Name = "audioList_MoveToTop"; - this.audioList_MoveToTop.Size = new System.Drawing.Size(164, 22); - this.audioList_MoveToTop.Text = "Move to Top"; - this.audioList_MoveToTop.Click += new System.EventHandler(this.audioList_MoveToTop_Click); - // - // audioList_moveup - // - this.audioList_moveup.Name = "audioList_moveup"; - this.audioList_moveup.Size = new System.Drawing.Size(164, 22); - this.audioList_moveup.Text = "Move Up"; - this.audioList_moveup.Click += new System.EventHandler(this.AudioList_moveup_Click); - // - // audioList_movedown - // - this.audioList_movedown.Name = "audioList_movedown"; - this.audioList_movedown.Size = new System.Drawing.Size(164, 22); - this.audioList_movedown.Text = "Move Down"; - this.audioList_movedown.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.audioList_movedown.Click += new System.EventHandler(this.AudioList_movedown_Click); - // - // audioList_MoveToBottom - // - this.audioList_MoveToBottom.Name = "audioList_MoveToBottom"; - this.audioList_MoveToBottom.Size = new System.Drawing.Size(164, 22); - this.audioList_MoveToBottom.Text = "Move To Bottom"; - this.audioList_MoveToBottom.Click += new System.EventHandler(this.audioList_MoveToBottom_Click); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(161, 6); - // - // audioList_remove - // - this.audioList_remove.Name = "audioList_remove"; - this.audioList_remove.Size = new System.Drawing.Size(164, 22); - this.audioList_remove.Text = "Remove"; - this.audioList_remove.Click += new System.EventHandler(this.AudioList_remove_Click); - // - // label68 - // - this.label68.AutoSize = true; - this.label68.BackColor = System.Drawing.Color.Transparent; - this.label68.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label68.Location = new System.Drawing.Point(13, 13); - this.label68.Name = "label68"; - this.label68.Size = new System.Drawing.Size(80, 13); - this.label68.TabIndex = 49; - this.label68.Text = "Audio Tracks"; - // - // drp_audioEncoder - // - this.drp_audioEncoder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drp_audioEncoder.FormattingEnabled = true; - this.drp_audioEncoder.Items.AddRange(new object[] { - "AAC (faac)", - "AAC (ffmpeg)", - "MP3 (lame)", - "Vorbis (vorbis)", - "AC3 Passthru", - "AC3 (ffmpeg)", - "DTS Passthru"}); - this.drp_audioEncoder.Location = new System.Drawing.Point(191, 66); - this.drp_audioEncoder.Name = "drp_audioEncoder"; - this.drp_audioEncoder.Size = new System.Drawing.Size(111, 21); - this.drp_audioEncoder.TabIndex = 52; - this.ToolTips.SetToolTip(this.drp_audioEncoder, "Set the audio codec to encode the selected track with."); - this.drp_audioEncoder.SelectedIndexChanged += new System.EventHandler(this.ControlChanged); - // - // drp_audioMix - // - this.drp_audioMix.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drp_audioMix.Enabled = false; - this.drp_audioMix.FormattingEnabled = true; - this.drp_audioMix.Items.AddRange(new object[] { - "Automatic", - "None", - "Mono", - "Stereo", - "Dolby Surround", - "Dolby Pro Logic II", - "6-channel discrete"}); - this.drp_audioMix.Location = new System.Drawing.Point(309, 66); - this.drp_audioMix.Name = "drp_audioMix"; - this.drp_audioMix.Size = new System.Drawing.Size(147, 21); - this.drp_audioMix.TabIndex = 54; - this.ToolTips.SetToolTip(this.drp_audioMix, "Set the mixdown for the selected audio track."); - this.drp_audioMix.SelectedIndexChanged += new System.EventHandler(this.ControlChanged); - // - // drp_audioTrack - // - this.drp_audioTrack.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drp_audioTrack.FormattingEnabled = true; - this.drp_audioTrack.Items.AddRange(new object[] { - "Automatic"}); - this.drp_audioTrack.Location = new System.Drawing.Point(16, 66); - this.drp_audioTrack.Name = "drp_audioTrack"; - this.drp_audioTrack.Size = new System.Drawing.Size(170, 21); - this.drp_audioTrack.TabIndex = 50; - this.ToolTips.SetToolTip(this.drp_audioTrack, "The list of audio tracks available from your source."); - this.drp_audioTrack.SelectedIndexChanged += new System.EventHandler(this.ControlChanged); - // - // drp_audioBitrate - // - this.drp_audioBitrate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drp_audioBitrate.Enabled = false; - this.drp_audioBitrate.FormattingEnabled = true; - this.drp_audioBitrate.Items.AddRange(new object[] { - "32", - "40", - "48", - "56", - "64", - "80", - "96", - "112", - "128", - "160"}); - this.drp_audioBitrate.Location = new System.Drawing.Point(534, 66); - this.drp_audioBitrate.Name = "drp_audioBitrate"; - this.drp_audioBitrate.Size = new System.Drawing.Size(67, 21); - this.drp_audioBitrate.TabIndex = 58; - this.ToolTips.SetToolTip(this.drp_audioBitrate, "Set the bitrate for the selected audio track."); - this.drp_audioBitrate.SelectedIndexChanged += new System.EventHandler(this.ControlChanged); - // - // drp_audioSample - // - this.drp_audioSample.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drp_audioSample.Enabled = false; - this.drp_audioSample.FormattingEnabled = true; - this.drp_audioSample.Items.AddRange(new object[] { - "Auto", - "48", - "44.1", - "32", - "24", - "22.05"}); - this.drp_audioSample.Location = new System.Drawing.Point(461, 66); - this.drp_audioSample.Name = "drp_audioSample"; - this.drp_audioSample.Size = new System.Drawing.Size(67, 21); - this.drp_audioSample.TabIndex = 56; - this.ToolTips.SetToolTip(this.drp_audioSample, "Set the samplerate for the selected audio track."); - this.drp_audioSample.SelectedIndexChanged += new System.EventHandler(this.ControlChanged); - // - // AudioMenuRowHeightHack - // - this.AudioMenuRowHeightHack.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; - this.AudioMenuRowHeightHack.ImageSize = new System.Drawing.Size(1, 18); - this.AudioMenuRowHeightHack.TransparentColor = System.Drawing.Color.Transparent; - // - // audioList - // - this.audioList.AllowUserToAddRows = false; - this.audioList.AllowUserToResizeColumns = false; - this.audioList.AllowUserToResizeRows = false; - this.audioList.BackgroundColor = System.Drawing.Color.White; - this.audioList.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - this.audioList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; - this.audioList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.Source, - this.AudioCodec, - this.Mixdown, - this.Samplerate, - this.Bitrate, - this.DRC, - this.Gain}); - this.audioList.ContextMenuStrip = this.audioMenu; - this.audioList.GridColor = System.Drawing.Color.White; - this.audioList.Location = new System.Drawing.Point(16, 94); - this.audioList.Name = "audioList"; - this.audioList.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - this.audioList.RowHeadersVisible = false; - this.audioList.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders; - this.audioList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.audioList.ShowCellErrors = false; - this.audioList.ShowCellToolTips = false; - this.audioList.ShowEditingIcon = false; - this.audioList.ShowRowErrors = false; - this.audioList.Size = new System.Drawing.Size(685, 200); - this.audioList.TabIndex = 67; - this.ToolTips.SetToolTip(this.audioList, resources.GetString("audioList.ToolTip")); - this.audioList.SelectionChanged += new System.EventHandler(this.audioList_SelectionChanged); - // - // Source - // - this.Source.DataPropertyName = "TrackDisplay"; - this.Source.FillWeight = 49.69727F; - this.Source.HeaderText = "Source"; - this.Source.Name = "Source"; - this.Source.ReadOnly = true; - this.Source.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.Source.Width = 170; - // - // AudioCodec - // - this.AudioCodec.DataPropertyName = "AudioEncoderDisplayValue"; - this.AudioCodec.HeaderText = "Audio Codec"; - this.AudioCodec.Name = "AudioCodec"; - this.AudioCodec.ReadOnly = true; - this.AudioCodec.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.AudioCodec.Width = 120; - // - // Mixdown - // - this.Mixdown.DataPropertyName = "AudioMixdownDisplayValue"; - this.Mixdown.FillWeight = 49.69727F; - this.Mixdown.HeaderText = "Mixdown"; - this.Mixdown.Name = "Mixdown"; - this.Mixdown.ReadOnly = true; - this.Mixdown.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.Mixdown.Width = 150; - // - // Samplerate - // - this.Samplerate.DataPropertyName = "SampleRateDisplayValue"; - this.Samplerate.FillWeight = 49.69727F; - this.Samplerate.HeaderText = "Samplerate"; - this.Samplerate.Name = "Samplerate"; - this.Samplerate.ReadOnly = true; - this.Samplerate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.Samplerate.Width = 75; - // - // Bitrate - // - this.Bitrate.DataPropertyName = "BitRateDisplayValue"; - this.Bitrate.FillWeight = 49.69727F; - this.Bitrate.HeaderText = "Bitrate"; - this.Bitrate.Name = "Bitrate"; - this.Bitrate.ReadOnly = true; - this.Bitrate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.Bitrate.Width = 75; - // - // DRC - // - this.DRC.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.DRC.DataPropertyName = "DRC"; - this.DRC.FillWeight = 96.36334F; - this.DRC.HeaderText = "DRC"; - this.DRC.Name = "DRC"; - this.DRC.ReadOnly = true; - this.DRC.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.DRC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - // - // Gain - // - this.Gain.DataPropertyName = "Gain"; - this.Gain.HeaderText = "Gain (dB)"; - this.Gain.Name = "Gain"; - this.Gain.ReadOnly = true; - this.Gain.Width = 60; - // - // ToolTips - // - this.ToolTips.AutomaticDelay = 1500; - // - // drp_passthruFallback - // - this.drp_passthruFallback.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.drp_passthruFallback.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.drp_passthruFallback.FormattingEnabled = true; - this.drp_passthruFallback.Location = new System.Drawing.Point(327, 15); - this.drp_passthruFallback.Name = "drp_passthruFallback"; - this.drp_passthruFallback.Size = new System.Drawing.Size(111, 19); - this.drp_passthruFallback.TabIndex = 75; - this.ToolTips.SetToolTip(this.drp_passthruFallback, "The Audio Encoder that will be used, if there is no suitable passthru option."); - this.drp_passthruFallback.SelectedIndexChanged += new System.EventHandler(this.drp_passthruFallback_SelectedIndexChanged); - // - // gb_autoPassthru - // - this.gb_autoPassthru.Controls.Add(this.label1); - this.gb_autoPassthru.Controls.Add(this.drp_passthruFallback); - this.gb_autoPassthru.Controls.Add(this.check_dtshd); - this.gb_autoPassthru.Controls.Add(this.check_dts); - this.gb_autoPassthru.Controls.Add(this.check_ac3); - this.gb_autoPassthru.Controls.Add(this.check_aac); - this.gb_autoPassthru.Controls.Add(this.check_mp3); - this.gb_autoPassthru.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.gb_autoPassthru.Location = new System.Drawing.Point(256, 19); - this.gb_autoPassthru.Name = "gb_autoPassthru"; - this.gb_autoPassthru.Size = new System.Drawing.Size(445, 40); - this.gb_autoPassthru.TabIndex = 74; - this.gb_autoPassthru.TabStop = false; - this.gb_autoPassthru.Text = "Auto Passthru"; - this.ToolTips.SetToolTip(this.gb_autoPassthru, resources.GetString("gb_autoPassthru.ToolTip")); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(279, 18); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(42, 11); - this.label1.TabIndex = 76; - this.label1.Text = "Fallback:"; - // - // check_dtshd - // - this.check_dtshd.AutoSize = true; - this.check_dtshd.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_dtshd.Location = new System.Drawing.Point(214, 17); - this.check_dtshd.Name = "check_dtshd"; - this.check_dtshd.Size = new System.Drawing.Size(60, 15); - this.check_dtshd.TabIndex = 4; - this.check_dtshd.Text = "DTS-HD"; - this.ToolTips.SetToolTip(this.check_dtshd, "Allow DTS-HD Passthru"); - this.check_dtshd.UseVisualStyleBackColor = true; - this.check_dtshd.CheckedChanged += new System.EventHandler(this.autoPassthru_CheckedChanged); - // - // check_dts - // - this.check_dts.AutoSize = true; - this.check_dts.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_dts.Location = new System.Drawing.Point(163, 17); - this.check_dts.Name = "check_dts"; - this.check_dts.Size = new System.Drawing.Size(43, 15); - this.check_dts.TabIndex = 3; - this.check_dts.Text = "DTS"; - this.ToolTips.SetToolTip(this.check_dts, "Allow DTS Passthru"); - this.check_dts.UseVisualStyleBackColor = true; - this.check_dts.CheckedChanged += new System.EventHandler(this.autoPassthru_CheckedChanged); - // - // check_ac3 - // - this.check_ac3.AutoSize = true; - this.check_ac3.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_ac3.Location = new System.Drawing.Point(111, 17); - this.check_ac3.Name = "check_ac3"; - this.check_ac3.Size = new System.Drawing.Size(43, 15); - this.check_ac3.TabIndex = 2; - this.check_ac3.Text = "AC3"; - this.ToolTips.SetToolTip(this.check_ac3, "Allow AC3 Passthru"); - this.check_ac3.UseVisualStyleBackColor = true; - this.check_ac3.CheckedChanged += new System.EventHandler(this.autoPassthru_CheckedChanged); - // - // check_aac - // - this.check_aac.AutoSize = true; - this.check_aac.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_aac.Location = new System.Drawing.Point(58, 17); - this.check_aac.Name = "check_aac"; - this.check_aac.Size = new System.Drawing.Size(45, 15); - this.check_aac.TabIndex = 1; - this.check_aac.Text = "AAC"; - this.ToolTips.SetToolTip(this.check_aac, "Allow AAC Passthru"); - this.check_aac.UseVisualStyleBackColor = true; - this.check_aac.CheckedChanged += new System.EventHandler(this.autoPassthru_CheckedChanged); - // - // check_mp3 - // - this.check_mp3.AutoSize = true; - this.check_mp3.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.check_mp3.Location = new System.Drawing.Point(6, 17); - this.check_mp3.Name = "check_mp3"; - this.check_mp3.Size = new System.Drawing.Size(43, 15); - this.check_mp3.TabIndex = 0; - this.check_mp3.Text = "MP3"; - this.ToolTips.SetToolTip(this.check_mp3, "Allow MP3 Passthru"); - this.check_mp3.UseVisualStyleBackColor = true; - this.check_mp3.CheckedChanged += new System.EventHandler(this.autoPassthru_CheckedChanged); - // - // btn_AdvancedAudio - // - this.btn_AdvancedAudio.BackColor = System.Drawing.Color.Transparent; - this.btn_AdvancedAudio.Enabled = false; - this.btn_AdvancedAudio.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_AdvancedAudio.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.btn_AdvancedAudio.Location = new System.Drawing.Point(607, 65); - this.btn_AdvancedAudio.Name = "btn_AdvancedAudio"; - this.btn_AdvancedAudio.Size = new System.Drawing.Size(94, 23); - this.btn_AdvancedAudio.TabIndex = 70; - this.btn_AdvancedAudio.Text = "Advanced"; - this.btn_AdvancedAudio.UseVisualStyleBackColor = false; - this.btn_AdvancedAudio.Click += new System.EventHandler(this.btn_AdvancedAudio_Click); - // - // btn_addAudioTrack - // - this.btn_addAudioTrack.AutoSize = true; - this.btn_addAudioTrack.ContextMenuStrip = this.AddTrackMenu; - this.btn_addAudioTrack.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_addAudioTrack.ForeColor = System.Drawing.Color.DarkOrange; - this.btn_addAudioTrack.Location = new System.Drawing.Point(16, 37); - this.btn_addAudioTrack.Name = "btn_addAudioTrack"; - this.btn_addAudioTrack.Size = new System.Drawing.Size(92, 23); - this.btn_addAudioTrack.SplitMenuStrip = this.AddTrackMenu; - this.btn_addAudioTrack.TabIndex = 72; - this.btn_addAudioTrack.Text = "Add Track"; - this.btn_addAudioTrack.UseVisualStyleBackColor = true; - this.btn_addAudioTrack.Click += new System.EventHandler(this.AddAudioTrack_Click); - // - // AddTrackMenu - // - this.AddTrackMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnu_AddAll}); - this.AddTrackMenu.Name = "audioMenu"; - this.AddTrackMenu.Size = new System.Drawing.Size(114, 26); - // - // mnu_AddAll - // - this.mnu_AddAll.Name = "mnu_AddAll"; - this.mnu_AddAll.Size = new System.Drawing.Size(113, 22); - this.mnu_AddAll.Text = "Add All"; - this.mnu_AddAll.Click += new System.EventHandler(this.mnu_AddAll_Click); - // - // btn_RemoveTrack - // - this.btn_RemoveTrack.AutoSize = true; - this.btn_RemoveTrack.ContextMenuStrip = this.RemoveTrackMenu; - this.btn_RemoveTrack.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btn_RemoveTrack.ForeColor = System.Drawing.Color.DarkOrange; - this.btn_RemoveTrack.Location = new System.Drawing.Point(114, 37); - this.btn_RemoveTrack.Name = "btn_RemoveTrack"; - this.btn_RemoveTrack.Size = new System.Drawing.Size(82, 23); - this.btn_RemoveTrack.SplitMenuStrip = this.RemoveTrackMenu; - this.btn_RemoveTrack.TabIndex = 73; - this.btn_RemoveTrack.Text = "Remove"; - this.btn_RemoveTrack.UseVisualStyleBackColor = true; - this.btn_RemoveTrack.Click += new System.EventHandler(this.Btn_remove_track_click); - // - // RemoveTrackMenu - // - this.RemoveTrackMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnu_ClearAll}); - this.RemoveTrackMenu.Name = "audioMenu"; - this.RemoveTrackMenu.Size = new System.Drawing.Size(119, 26); - // - // mnu_ClearAll - // - this.mnu_ClearAll.Name = "mnu_ClearAll"; - this.mnu_ClearAll.Size = new System.Drawing.Size(118, 22); - this.mnu_ClearAll.Text = "Clear All"; - this.mnu_ClearAll.Click += new System.EventHandler(this.Mnu_clear_all_click); - // - // AudioPanel - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; - this.BackColor = System.Drawing.Color.Transparent; - this.Controls.Add(this.gb_autoPassthru); - this.Controls.Add(this.drp_audioTrack); - this.Controls.Add(this.btn_AdvancedAudio); - this.Controls.Add(this.drp_audioSample); - this.Controls.Add(this.btn_RemoveTrack); - this.Controls.Add(this.audioList); - this.Controls.Add(this.label68); - this.Controls.Add(this.btn_addAudioTrack); - this.Controls.Add(this.drp_audioBitrate); - this.Controls.Add(this.drp_audioMix); - this.Controls.Add(this.drp_audioEncoder); - this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.Name = "AudioPanel"; - this.Size = new System.Drawing.Size(720, 310); - this.audioMenu.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.audioList)).EndInit(); - this.gb_autoPassthru.ResumeLayout(false); - this.gb_autoPassthru.PerformLayout(); - this.AddTrackMenu.ResumeLayout(false); - this.RemoveTrackMenu.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - internal System.Windows.Forms.Label label68; - internal System.Windows.Forms.ComboBox drp_audioEncoder; - internal System.Windows.Forms.ComboBox drp_audioMix; - internal System.Windows.Forms.ComboBox drp_audioTrack; - internal System.Windows.Forms.ComboBox drp_audioSample; - private System.Windows.Forms.ImageList AudioMenuRowHeightHack; - private System.Windows.Forms.ContextMenuStrip audioMenu; - private System.Windows.Forms.ToolStripMenuItem audioList_moveup; - private System.Windows.Forms.ToolStripMenuItem audioList_movedown; - private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; - private System.Windows.Forms.ToolStripMenuItem audioList_remove; - internal System.Windows.Forms.ComboBox drp_audioBitrate; - private System.Windows.Forms.DataGridView audioList; - private System.Windows.Forms.ToolTip ToolTips; - private System.Windows.Forms.Button btn_AdvancedAudio; - private System.Windows.Forms.ToolStripMenuItem audioList_MoveToTop; - private System.Windows.Forms.ToolStripMenuItem audioList_MoveToBottom; - private wyDay.Controls.SplitButton btn_addAudioTrack; - private System.Windows.Forms.ContextMenuStrip AddTrackMenu; - private System.Windows.Forms.ToolStripMenuItem mnu_AddAll; - private wyDay.Controls.SplitButton btn_RemoveTrack; - private System.Windows.Forms.ContextMenuStrip RemoveTrackMenu; - private System.Windows.Forms.ToolStripMenuItem mnu_ClearAll; - private System.Windows.Forms.DataGridViewTextBoxColumn Source; - private System.Windows.Forms.DataGridViewTextBoxColumn AudioCodec; - private System.Windows.Forms.DataGridViewTextBoxColumn Mixdown; - private System.Windows.Forms.DataGridViewTextBoxColumn Samplerate; - private System.Windows.Forms.DataGridViewTextBoxColumn Bitrate; - private System.Windows.Forms.DataGridViewTextBoxColumn DRC; - private System.Windows.Forms.DataGridViewTextBoxColumn Gain; - private System.Windows.Forms.GroupBox gb_autoPassthru; - private System.Windows.Forms.CheckBox check_dtshd; - private System.Windows.Forms.CheckBox check_dts; - private System.Windows.Forms.CheckBox check_ac3; - private System.Windows.Forms.CheckBox check_aac; - private System.Windows.Forms.CheckBox check_mp3; - private System.Windows.Forms.Label label1; - internal System.Windows.Forms.ComboBox drp_passthruFallback; - } -} diff --git a/win/CS/Controls/AudioPanel.cs b/win/CS/Controls/AudioPanel.cs deleted file mode 100644 index 48c165158..000000000 --- a/win/CS/Controls/AudioPanel.cs +++ /dev/null @@ -1,1276 +0,0 @@ -/* AudioPanel.cs $ - This file is part of the HandBrake source code. - Homepage: . - It may be used under the terms of the GNU General Public License. */ - -namespace Handbrake.Controls -{ - using System; - using System.Collections; - using System.Collections.Generic; - using System.Collections.ObjectModel; - using System.Collections.Specialized; - using System.ComponentModel; - using System.Drawing; - using System.Globalization; - using System.Linq; - using System.Windows.Forms; - - using HandBrake.ApplicationServices; - using HandBrake.ApplicationServices.Functions; - using HandBrake.ApplicationServices.Model; - using HandBrake.ApplicationServices.Model.Encoding; - using HandBrake.ApplicationServices.Parsing; - using HandBrake.ApplicationServices.Services.Interfaces; - using HandBrake.ApplicationServices.Utilities; - using HandBrake.Interop.Model.Encoding; - - using Handbrake.ToolWindows; - - /// - /// The AudioPanel Control - /// - public partial class AudioPanel : UserControl - { - #region Private Variables - - /// - /// The User Setting Service. - /// - private readonly IUserSettingService UserSettingService = ServiceManager.UserSettingService; - - /// - /// Audio Tracks - /// - private readonly BindingList audioTracks = new BindingList(); - - /// - /// Mixdown - /// - private const string None = "None"; - - /// - /// The Advanced Audio Backing object - /// - private AdvancedAudio advancedAudio = new AdvancedAudio(); - - #endregion - - #region Constructor and Events - - /// - /// Initializes a new instance of the class. - /// - public AudioPanel() - { - InitializeComponent(); - - this.ScannedTracks = new BindingList