mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
nothing interesting
This commit is contained in:
@@ -90,7 +90,7 @@ namespace CUETools.Processor
|
|||||||
public string Name
|
public string Name
|
||||||
{
|
{
|
||||||
get { return name; }
|
get { return name; }
|
||||||
set { name = value; if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs("Name")); }
|
set { if (name == value) return; name = value; if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs("Name")); }
|
||||||
}
|
}
|
||||||
public string FullName
|
public string FullName
|
||||||
{
|
{
|
||||||
@@ -136,7 +136,7 @@ namespace CUETools.Processor
|
|||||||
public string Extension
|
public string Extension
|
||||||
{
|
{
|
||||||
get { return extension; }
|
get { return extension; }
|
||||||
set { extension = value; if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs("Extension")); }
|
set { if (extension == value) return; extension = value; if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs("Extension")); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string DotExtension
|
public string DotExtension
|
||||||
|
|||||||
@@ -2447,7 +2447,13 @@ namespace JDP
|
|||||||
{
|
{
|
||||||
var encoder = comboBoxEncoder.SelectedItem as CUEToolsUDC;
|
var encoder = comboBoxEncoder.SelectedItem as CUEToolsUDC;
|
||||||
if (SelectedOutputAudioType == AudioEncoderType.NoAudio || SelectedOutputAudioFormat == null || encoder == null)
|
if (SelectedOutputAudioType == AudioEncoderType.NoAudio || SelectedOutputAudioFormat == null || encoder == null)
|
||||||
|
{
|
||||||
|
trackBarEncoderMode.Visible = false;
|
||||||
|
labelEncoderMode.Visible = false;
|
||||||
|
labelEncoderMinMode.Visible = false;
|
||||||
|
labelEncoderMaxMode.Visible = false;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
if (SelectedOutputAudioType == AudioEncoderType.Lossless)
|
if (SelectedOutputAudioType == AudioEncoderType.Lossless)
|
||||||
SelectedOutputAudioFmt.encoderLossless = encoder;
|
SelectedOutputAudioFmt.encoderLossless = encoder;
|
||||||
else
|
else
|
||||||
@@ -2713,7 +2719,7 @@ namespace JDP
|
|||||||
settingsForm.ShowDialog(this);
|
settingsForm.ShowDialog(this);
|
||||||
}
|
}
|
||||||
SaveSettings();
|
SaveSettings();
|
||||||
resetEncoderModes(encoder);
|
SelectedOutputAudioType = SelectedOutputAudioType;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
7
CUETools/frmSettings.Designer.cs
generated
7
CUETools/frmSettings.Designer.cs
generated
@@ -346,6 +346,11 @@ namespace JDP
|
|||||||
this.toolTip1.SetToolTip(this.chkWriteArTagsOnConvert, resources.GetString("chkWriteArTagsOnConvert.ToolTip"));
|
this.toolTip1.SetToolTip(this.chkWriteArTagsOnConvert, resources.GetString("chkWriteArTagsOnConvert.ToolTip"));
|
||||||
this.chkWriteArTagsOnConvert.UseVisualStyleBackColor = true;
|
this.chkWriteArTagsOnConvert.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
|
// chkEncodeWhenZeroOffset
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.chkEncodeWhenZeroOffset, "chkEncodeWhenZeroOffset");
|
||||||
|
this.chkEncodeWhenZeroOffset.Name = "chkEncodeWhenZeroOffset";
|
||||||
|
//
|
||||||
// numEncodeWhenPercent
|
// numEncodeWhenPercent
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.numEncodeWhenPercent, "numEncodeWhenPercent");
|
resources.ApplyResources(this.numEncodeWhenPercent, "numEncodeWhenPercent");
|
||||||
@@ -1165,7 +1170,7 @@ namespace JDP
|
|||||||
// comboBoxEncoderExtension
|
// comboBoxEncoderExtension
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this.comboBoxEncoderExtension, "comboBoxEncoderExtension");
|
resources.ApplyResources(this.comboBoxEncoderExtension, "comboBoxEncoderExtension");
|
||||||
this.comboBoxEncoderExtension.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.encodersBindingSource, "Extension", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
this.comboBoxEncoderExtension.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.encodersBindingSource, "Extension", true));
|
||||||
this.comboBoxEncoderExtension.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBoxEncoderExtension.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||||
this.comboBoxEncoderExtension.FormattingEnabled = true;
|
this.comboBoxEncoderExtension.FormattingEnabled = true;
|
||||||
this.comboBoxEncoderExtension.Name = "comboBoxEncoderExtension";
|
this.comboBoxEncoderExtension.Name = "comboBoxEncoderExtension";
|
||||||
|
|||||||
@@ -155,6 +155,9 @@ namespace JDP
|
|||||||
tabControl1.Selecting += new TabControlCancelEventHandler((s, e1) => e1.Cancel = true);
|
tabControl1.Selecting += new TabControlCancelEventHandler((s, e1) => e1.Cancel = true);
|
||||||
encodersBindingSource.Position = _config.Encoders.IndexOf(m_encoder);
|
encodersBindingSource.Position = _config.Encoders.IndexOf(m_encoder);
|
||||||
listBoxEncoders.Enabled = false;
|
listBoxEncoders.Enabled = false;
|
||||||
|
buttonEncoderAdd.Enabled = false;
|
||||||
|
buttonEncoderDelete.Enabled = false;
|
||||||
|
comboBoxEncoderExtension.Enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
EnableDisable();
|
EnableDisable();
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user