void OnUnderlineCheckBoxChanged(object sender, CheckedChangedEventArgs e) { if (e.Value) { label.TextDecorations |= TextDecorations.Underline; } else { label.TextDecorations &= ~TextDecorations.Underline; } }