check uncheck not taking effect
public text v1 · immutable private void cb_cfg_italic_CheckedChanged(object sender, EventArgs e)
{
if (cb_cfg_italic.Enabled == true)
{
textbox_cfg_annotate.Font = new Font(this.Font, FontStyle.Italic);
}
else
{
textbox_cfg_annotate.Font = new Font(this.Font, FontStyle.Regular);
}
}