HI FOLKS,
How to increase font size of all text contents present in the windows form after maximizing the same?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
FroglegPosted Dec 29, 2011, 3:13 PM
private void button1_Click(object sender, EventArgs e)
{
this.Font = new Font(this.Font.FontFamily.Name, 20);// change to larger font - also increases form size
}
private void button2_Click(object sender, EventArgs e)
{
this.Font = new Font(this.Font.FontFamily.Name, 8);// change to original font - also decreases form size - assuming 8 is original size
}
Satyakaama MugaliPosted Jan 2, 2012, 1:23 AM