How to auto maximize a window???

anybody knows how to auto maximize a windows form?

thanks

If you mean to maximize the browser window, you can use JS on your onLoad for example.

[QUOTE=chrp102;27510]anybody knows how to auto maximize a windows form?

thanks[/QUOTE]

If you are looking to maximize to any screen in a Windows Forms application?, then follow the the below step

Set the form WindowState = Maximized

int height = Screen.PrimaryScreen.Bounds.Height;
int width = Screen.PrimaryScreen.Bounds.Width;

This ll cause maximized while opeing new window.

[QUOTE=edwin324;28992]If you are looking to maximize to any screen in a Windows Forms application?, then follow the the below step

Set the form WindowState = Maximized

int height = Screen.PrimaryScreen.Bounds.Height;
int width = Screen.PrimaryScreen.Bounds.Width;

This ll cause maximized while opeing new window.[/QUOTE]

I guess he meant in sc, with JS as Giu explained, but still not clear or how it works using JS to maximize or full screen the “page” !?