I have the code:
label5.Font = new Font(label5.Font.Name, 12, FontStyle.Underline);
..But I can't figure how to change it to bold as well. How can I do that?
You just need to use |
to combine multiple styles:
label5.Font = new Font(label5.Font.Name, 12, FontStyle.Underline | FontStyle.Bold);
See more on this question at Stackoverflow