Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #setting #window #size
ADD COMMENT
Topic
Name
9+7 =