Strikeout in CheckBox in To-Do List C#

2019-07-30 06:19发布

问题:

I am trying to do "To-Do List" and when I mark something as checked to make the text strikeout:

        if (check.Checked)
        {
            check.Font = new Font(check.Font, FontStyle.Strikeout);
        }

What do I do wrong?