Answers for "c# setting window size"

C#
0

c# 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);
}
Posted by: Guest on May-09-2021

C# Answers by Framework

Browse Popular Code Answers by Language