How to minimize windows form programmatically?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all.

Perhaps I'm missing something simple here. If I use a form border style
"None" (no Minimize/Maximize/Close buttons) how can I minimize the form when
user clicks some control?

Thanks for any help!
 
Perhaps I'm missing something simple here. If I use a form border style
"None" (no Minimize/Maximize/Close buttons) how can I minimize the form when
user clicks some control?

Set the WindowState property to FormWindowState.Minimized


Mattias
 
Back
Top