I am making a Windows Forms application. I want the forms height to increase after a button is pressed. How do I do this?
You can just increase the form height value by a specified amount on the button click:
private void button1_Click(object sender, EventArgs e) { int amountToIncrease = 10; this.Height += amountToIncrease; }