Easy way to maximize a winform?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Is there an easy way to maximize a winform at runtime? For instance, by setting a property instead of getting the screen dimensions and then specifying the size manually?
Use the WindowState property.
this.WindowState = FormWindowState.Maximized
James Sonork ID: 100.11138 - Hasaki and a digital cookie (not chocolate chip, its computer chip) goes to whoever can be the first to tell me what Hasaki means. I know someone registered on here can tell me :)