winforms - C# || How to call methodes of FontDialog without opening the dialog itself? -
i have these buttons on windows form:
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
Post a Comment