/* 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; /// /// The x264 Panel /// public partial class AdvancedEncoderOpts : UserControl { /// /// Initializes a new instance of the class. /// public AdvancedEncoderOpts() { InitializeComponent(); if (Properties.Settings.Default.tooltipEnable) ToolTip.Active = true; } /// /// Gets or sets the X264 query string /// public string AdavancedQuery { get { return advancedQuery.Text; } set { advancedQuery.Text = value; } } 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; } } } } }