3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by chandnigandhi
0

All those are properties of a Font object. Depending on what you want to change tells you how to get the Font object to change. What is it you want to bold, italic and/or underline?

0

code for bold,italic and underline in c# when button is pressed.....

private void button1_click(object sender,eventargs e)
{
textbox1.font=new font(this.font,fontstyle.underline);
}

same for line and bolditalic....

0
private void button1_click(object sender,eventargs e)
{
textbox1.font=new font(this.font,fontstyle.underline);
}

same for line and bolditalic....

thank you it is working.....

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.