开发者

Process C#| How To Make A Process Into system tray

So, I have开发者_如何学编程 a Process running in C#, and I want to make it a system tray. Is it possible?

This is the code I am using:

Process proc = Process.Start("XXXX");


It is for the process to control whether it should show as a task on the taskbar, or in the notification area; As such, you couldn't control this for a process you're starting unless it documents a command line option for this purpose.

Of course, you can control this for your own WinForms applications using components such as the NotifyIcon component (part of the .Net framework).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜