winforms - How can i create combo boxes which i can choose my font with C#? -


i have richtextbox text (for example: hello world). aim make 2 combo boxes can choose font , font size. richttextbox should change font whole text.

for example: enter image description here word.

it nice when can tell me how can begin or must search in google. search whole day , find posts font dialog.

i use visual studio windowsformsapplication

question:

how can make combo boxes in c# on picture?

with friendly wishes sniffi

it not hard. need find fonts installed on current machine, populate combo box them, , when user selects item combo box change font depending on selection.

to find installed fonts: https://stackoverflow.com/a/8657854/4795214


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -