Search code examples
c#windowstaskbarsystem-tray

Create System Tray on ToolStrip in C#


I have my own C# ToolStrip application (TaskBar) and I would like to put differents items on its System Tray by NotifyIcon.

But the problem is I can not successfully create a System Tray into this ToolStrip. I can see my NotifyIcon going directly into System Tray of Windows TaskBar but I want to see them on my ToolStrip.

I don't find (even with Googling) any object like a System Tray in C#...

So, my questions are : how we can create a System Tray and attach it to new ToolStrip ? And if I missed a point ?

Thanks in advance for all answers and if I missed precision or if you want specific code (I think it wasn't necessary in my case), please ask me.


Solution

  • The answer is : SplitContainer.

    With this, I can have a taskbar and a systray in my application.