Live Chat Icon For mobile
Live Chat Icon

How can I programmatically maximize or minimize a form

Platform: WinForms| Category: Form

Use the form’s WindowState property.


//minimize
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
.....
//maximize
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.