How to start the application directly in system tray? (.NET C#)

后端 未结 3 512
终归单人心
终归单人心 2021-01-04 18:19

I mean when the user starts my application(exe). I want it to start directly in system tray, without showing the window. Like antivirus softwares & download managers, wh

3条回答
  •  温柔的废话
    2021-01-04 18:44

    Have you created a Windows Application in C#? You need to drag a NotifyIcon control onto the form, the control will be placed below the form because it has no visual representation on the form itself.

    Then you set its properties such as the Icon...

    Try this one first...

提交回复
热议问题