Reputation: 1683
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");
Upvotes: 0
Views: 506
Reputation: 38130
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).
Upvotes: 3