Mic*_*l A 3 .net c# messagebox
我需要一个弹出窗口,它将显示在屏幕的右下方.它应该在我的软件中收到新消息时弹出.我怎么编程呢?创建新表单并使用它?如何将其编程为在后台运行而不会中断其他用户操作?
谢谢.
退房NotifyIcon.ShowBalloonTip.而这里的一个例子.
基本上,您NotifiyIcon在表单中添加一个,并执行类似的操作(从上面链接的MSDN页面):
void Form1_DoubleClick(object sender, EventArgs e)
{
notifyIcon1.Visible = true;
notifyIcon1.ShowBalloonTip(20000, "Information", "This is the text",
ToolTipIcon.Info );
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1060 次 |
| 最近记录: |