Announcement

Collapse
No announcement yet.

How to auto maximize a window???

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to auto maximize a window???

    anybody knows how to auto maximize a windows form?

    thanks

  • #2
    If you mean to maximize the browser window, you can use JS on your onLoad for example.
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment


    • #3
      Originally posted by chrp102 View Post
      anybody knows how to auto maximize a windows form?

      thanks

      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.

      Comment


      • #4
        Originally posted by edwin324 View Post
        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.
        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" !?

        Comment

        Working...
        X