• Skip to primary navigation
  • Skip to content
  • Skip to footer
Technology, Trends and Leadership by Puneet Ghanshani
  • About
  • Applications
  • Open Source
  • Publications
  • Contact
    Puneet Ghanshani

    Puneet Ghanshani

    Chief Architect at Microsoft

    • Singapore
    • Twitter
    • LinkedIn

    Winform Tip#5: Programmatically maximize or minimize a form

    less than 1 minute read

    Use the form's WindowState property.

    To minimize:

    this.WindowState = System.Windows.Forms.FormWindowState.Minimized;

     

    To maximize:

    this.WindowState = System.Windows.Forms.FormWindowState.Maximized;

    Tags: .NET, CSharp, tips, winforms

    Categories: CSharp, Winform

    Updated: June 30, 2009

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    You May Also Enjoy

    AI Compute Intensity Has a Second Variable

    9 minute read

    BCG’s recent report on AI and competitive advantage identifies compute intensity as one of five factors that determine how AI value moves through a sec...

    What your cloud strategy got right, and what it never had to solve

    7 minute read

    The cloud strategy most enterprises built between 2016 and 2022 was optimized for a world that no longer exists. That strategy answered questions like: how d...

    The Repository Becomes the Process

    37 minute read

    Software engineering has never really been about writing code. It has been about preserving institutional memory, what a team knows about why a system works ...

    The Repository Becomes the Process: Rebuilding SDLC for the AI Era

    37 minute read

    Software engineering has never really been about writing code. It has been about preserving institutional memory, what a team knows about why a system works ...

    • Follow:
    • Twitter
    • GitHub
    • LinkedIn
    • Feed
    © 2026 Puneet Ghanshani. Powered by Jekyll & Minimal Mistakes.