![Whatisplaying1](https://i-blog.csdnimg.cn/blog_migrate/c18c10924061152774981fd2bd7aea96.png)
While Tray Icons (and applications that use ONLY TrayIcons as their UI) are a major part of our lives, there's limited support in WinForms (2.0) for them without resorting to P/Invoke and vestigial MainForms who only call this.Hide().NotifyIcon should be extended to support BalloonHelp. Hans Blomme's now-famous extended version of NotifyIcon is the canonical example. It still works under 2.0, but the 2.0 addition of the ContextMenuStrip makes it a little tricky. His free stuff could be integrated into the 2.0 NotifyIcon easily, adding a powerful (and missing) feature to 2.0 WinForms. Additionally, there should be a way for a Form to startup hidden to avoid the flash of the form before it calls this.Hide(), deferring to it's NotifyIcon.
尽管Tray Icons(以及仅使用TrayIcons作为其UI的应用程序)是我们生活中的主要部分,但WinForms(2.0)中对它们的支持有限,而无需诉诸仅称为this.Hide()的P / Invoke和残余MainForms。 NotifyIcon应该扩展为支持BalloonHelp。 汉斯·布洛姆(Hans Blomme)现在著名的NotifyIcon扩展版就是典型的例子。 它仍然可以在2.0下工作,但是ContextMenuStrip的2.0版本增加了它的技巧。 他的免费软件可以轻松集成到2.0 NotifyIcon中,为2.0 WinForms添加了强大的功能(并且缺少)。 此外,应该有一种隐藏窗体的启动方法,以避免在窗体调用this.Hide()之前刷新窗体,这要推迟到它的NotifyIcon。
Help us all out and vote to get this omission fixed in Whidbey.
帮助我们所有人投票,以纠正Whidbey中的这一遗漏。
UPDATE: Some Reflectoring has confirmed that has in fact been fixed in the December CTP! All is as it should be. Thanks to Chris Sells and Scott Swigart.
更新:一些Reflectoring已确认实际上已在12月的CTP中修复! 一切都是应有的。 感谢Chris Sells和Scott Swigart 。
Now playing: Kanye West, Twista & Jamie Foxx - Slow Jamz
现在播放: Kanye West,Twista和Jamie Foxx - Slow Jamz