How can I have my Windows Form application minimize to system taskbar?
My dream is to make a very good, open source Help desk ap开发者_Python百科plication for companies to use for free.
My client application will run on every client computer have minimize itself to the task bar. When the user click the icon, it'll open the actual Winform window.
I'm using .NET 3.5; is there a simple way to minimize/maximize from the taskbar?
I'm assuming that you mean the system tray. (The small icons next to the clock)
Set the form's ShowInTaskbar
property to False, then make a NotifyIcon
component and show the form in its Click event.
Have a look at
- C# Tip: Placing Your C# Application in the System Tray
- How to Minimize an Application to the Taskbar Tray in C#
- Minimize window to system tray
精彩评论