How do I minimize a WinForms application to the notification area?

前端 未结 4 1873
心在旅途
心在旅途 2020-12-03 10:31

I want to minimize a C# WinForms app to system tray. I\'ve tried this:

Having the application minimize to the system tray when button is clicked?. The first time I m

4条回答
  •  我在风中等你
    2020-12-03 10:38

    You have to set the property ShowInTaskbar = true of your Form. It automatically minimizes to the task bar.

提交回复
热议问题