• 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

    Navigating the Future of Digital Defense with AI

    5 minute read

    AI is revolutionizing cybersecurity, offering both defensive capabilities and new threats. Discover how AI-driven threats are evolving and how organizations ...

    3 Reasons Organizations Fail in AI Initiatives (And How to Avoid Them)

    8 minute read

    Drawing from my two decades in the tech industry, I’ve witnessed firsthand the transformative potential of Artificial Intelligence (AI). Yet, I’ve also obser...

    How to Breathe Life into Your Presentations

    2 minute read

    Transform your next presentation into an experience that inspires, motivates, and, most importantly, keeps your audience awake

    Striking a Balance Between Experience and Cost in the Age of Cloud Computing

    11 minute read

    Cloud computing offers scalability and flexibility, but without strategic management, autoscaling and inefficient workload placement can lead to cost overrun...

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