窗体form有Width和Height属性,改变属性值就可以改变大小
private void button1_Click(object sender, EventArgs e) { this.Width = 500; this.Height = 500; }