combibox font.bold

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am new to c#. I would like to set the text in a combobox to bold if the user check off a radiobtn
something like thi
if radiobtn = true the
combobox.font = new combobox.font.bol
I know this is not the correct code, but I'm trying
Aslo can any one recommand any C#books.
 
Try in this way....
//
comboBox1.Font = new Font(this.Font, FontStyle.Bold);
//
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top