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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -