Setting height and width property on Forms C#
C#
4
Posts
3
Posters
0
Views
1
Watching
-
I am trying to set the height and width of my main form programaticaly. What is the syntax for doing this?
-
I am trying to set the height and width of my main form programaticaly. What is the syntax for doing this?
Form1 f = new Form1(); f.Size = new Size(100,200); or f.height = 200; f.width = 100;
-
I am trying to set the height and width of my main form programaticaly. What is the syntax for doing this?
-
Thank you very much. This syntax works perfectly.