USING FONT-DIALOG AND CHANGING TEXTBOX FONT STYLE IN C#.Net and VB.Net
In this post we will see the usage of font-dialog and changing the font style of textbox in our c#.net or vb.net windows application.
for this i am designing the form as shown in the image below.
for this i am designing the form as shown in the image below.

In this example we are using a font dialog box and showing the font dialog on the button click and based on the font dialog result, we are changing the font style of a multi line textbox .
The c# code in the code behind file is given below :
The VB code in the code behind file is given below :
