c# - How to put a button that will make the text area that I want bold -


i writing program:

enter image description here

now, want user of program, write text, , when wants, mark "text area" , pressing button (where arrow points to) "marked" text, go bold. ideas ?

you have use richtextbox control use code click event of button or user can use ctrl+b:

   richtextbox1.selectionfont=new font(richtextbox1.font, fontstyle.bold); 

Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -