CheckProtected.Enabled = true;
}
+ CheckManageRead.CheckedChanged -= this.CheckManageRead_CheckedChanged;
CheckManageRead.Checked = tab.UnreadManage;
+ CheckManageRead.CheckedChanged += this.CheckManageRead_CheckedChanged;
+
+ CheckNotifyNew.CheckedChanged -= this.CheckNotifyNew_CheckedChanged;
CheckNotifyNew.Checked = tab.Notify;
+ CheckNotifyNew.CheckedChanged += this.CheckNotifyNew_CheckedChanged;
var idx = ComboSound.Items.IndexOf(tab.SoundFile);
if (idx == -1) idx = 0;
if (tab.TabType == MyCommon.TabUsageType.Mute)
{
+ this.ButtonRenameTab.Enabled = false;
this.CheckManageRead.Enabled = false;
this.CheckNotifyNew.Enabled = false;
this.ComboSound.Enabled = false;
}
else
{
+ this.ButtonRenameTab.Enabled = true;
this.CheckManageRead.Enabled = true;
this.CheckNotifyNew.Enabled = true;
this.ComboSound.Enabled = true;
_ => "UNKNOWN",
};
- ButtonRenameTab.Enabled = true;
if (tab.IsDefaultTabType || tab.Protected)
{
ButtonDeleteTab.Enabled = false;