Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Minimize / Restore a WinForm programmatically

Minimize / Restore a WinForm programmatically

Scheduled Pinned Locked Moved C#
questioncsharp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spin vector
    wrote on last edited by
    #1

    How do I programmatically minimize a Form? (I also want to restore the size programmatically). I'm using VS2003 .NET 1.1.

    M 1 Reply Last reply
    0
    • S spin vector

      How do I programmatically minimize a Form? (I also want to restore the size programmatically). I'm using VS2003 .NET 1.1.

      M Offline
      M Offline
      mav northwind
      wrote on last edited by
      #2

      Use the WindowState property of your form. The size can be adjusted using the Size property, surprisingly... :laugh:

      Regards, mav -- Black holes are the places where God divided by 0...

      S 1 Reply Last reply
      0
      • M mav northwind

        Use the WindowState property of your form. The size can be adjusted using the Size property, surprisingly... :laugh:

        Regards, mav -- Black holes are the places where God divided by 0...

        S Offline
        S Offline
        spin vector
        wrote on last edited by
        #3

        great, got it. Thanks.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups