winforms - C# || How to call methodes of FontDialog without opening the dialog itself? -


i have these buttons on windows form:

enter image description here

i code each button functionality.(bold, italic, font style, font size).

but wondering if call methodes of fontdialog , put them in own buttons.

to more clear: when click bold button, dont want

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

instead call methods

fontdialog fd = new fontdialog();  fd.somemethode....  


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -