csharp setting window size

Code Example - csharp setting window size

                
                        button1_Click(object sender, EventArgs e)
{
    // This will change the Form's Width and Height, respectively.
    this.Size = new Size(420, 200);
}