开发者

How can I have my Windows Form application minimize to system taskbar?

开发者 https://www.devze.com 2022-12-27 21:51 出处:网络
My dream is to make a very good, open source Help desk ap开发者_Python百科plication for companies to use for free.

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
0

精彩评论

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