void OnBoldCheckBoxChanged(object sender, CheckedChangedEventArgs e) { if (e.Value) { label.FontAttributes |= FontAttributes.Bold; } else { label.FontAttributes &= ~FontAttributes.Bold; } }