如何从系统托盘上的Windows应用程序(而不是web)用C#创建表单弹出 [英] How to create form popup from from system tray on windows application (not web) with c#

查看:204
本文介绍了如何从系统托盘上的Windows应用程序(而不是web)用C#创建表单弹出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#中的winform应用程序。主要形式通常是最小化。
当有一些事件发生,我希望创建一个与消息托盘图标上面的动画小弹出的形式,点击它,会弹出主要形式。

I have a winform application in c#. the main form is usually minimized. When some event occur, i want to create small popup form that animate above the tray icon with message, click on it, will bring up the main form.

为了实现这一点,我只是创建简单的形式?或者有特殊的系统的形式是什么?
为例,有弹出消息,警报与MSN Messenger的新邮件。

To implement that, i just create simple form ? or there is special system form for that ? for example, there is the popup message that alert on new mail with msn messenger.

在预先感谢。

推荐答案

这里有一个SO质疑,涵盖了很有话题。你正在寻找一种被称为祝酒消息。

Here's a SO question that covers that very topic. What you're looking for is called a "toast" message.

这篇关于如何从系统托盘上的Windows应用程序(而不是web)用C#创建表单弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆